Class CollabContext
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.CollabContext
public class CollabContext extends Object
POJO holding the description of a HBP Collaboratory context.
-
Constructor Summary
Constructors Constructor Description CollabContext()
-
Method Summary
Modifier and Type Method Description String
getAppId()
Get the ID of the application.Collab
getCollab()
Get the collab of the application.String
getContext()
Get the context of the application.int
getId()
Get the ID of the context.String
getName()
Get the name of the context.int
getOrderIndex()
Get the index of this item to order.int
getParent()
Get the parent of this item.String
getType()
Get the type of this item.void
setAppId(String appId)
Set the ID of the application.void
setCollab(Collab collab)
Set the collab of the application.void
setContext(String context)
Set the context of the application.void
setId(int id)
Set the ID of the context.void
setName(String name)
Set the name of the context.void
setOrderIndex(int orderIndex)
Set the index of this item in order.void
setParent(int parent)
Set the parent of this item.void
setType(String type)
Set 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
-