Class CollabContext
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.CollabContext
POJO holding the description of a HBP Collaboratory context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAppId()Get the ID of the application.Get the collab of the application.Get the context of the application.intgetId()Get the ID of the context.getName()Get the name of the context.intGet the index of this item to order.intGet the parent of this item.getType()Get the type of this item.voidSet the ID of the application.voidSet the collab of the application.voidsetContext(String context) Set the context of the application.voidsetId(int id) Set the ID of the context.voidSet the name of the context.voidsetOrderIndex(int orderIndex) Set the index of this item in order.voidsetParent(int parent) Set the parent of this item.voidSet the type of this item.
-
Constructor Details
-
CollabContext
public CollabContext()
-
-
Method Details
-
getAppId
Get the ID of the application.- Returns:
- The ID
-
setAppId
Set the ID of the application.- Parameters:
appId- The ID to set
-
getCollab
Get the collab of the application.- Returns:
- The collab.
-
setCollab
Set the collab of the application.- Parameters:
collab- The collab to set
-
getContext
Get the context of the application.- Returns:
- The context
-
setContext
Set the context of the application.- Parameters:
context- The context to set
-
getId
public int getId()Get the ID of the context.- Returns:
- The ID
-
setId
public void setId(int id) Set the ID of the context.- Parameters:
id- The ID
-
getName
Get the name of the context.- Returns:
- The name
-
setName
Set the name of the context.- Parameters:
name- The name to set
-
getOrderIndex
public int getOrderIndex()Get the index of this item to order.- Returns:
- The index
-
setOrderIndex
public void setOrderIndex(int orderIndex) Set the index of this item in order.- Parameters:
orderIndex- The index to set
-
getParent
public int getParent()Get the parent of this item.- Returns:
- The parent
-
setParent
public void setParent(int parent) Set the parent of this item.- Parameters:
parent- The parent to set
-
getType
Get the type of this item.- Returns:
- The type
-
setType
Set the type of this item.- Parameters:
type- The type to set
-