Class WorkflowItemRole
- java.lang.Object
-
- org.dspace.xmlworkflow.storedcomponents.WorkflowItemRole
-
- All Implemented Interfaces:
ReloadableEntity<Integer>
@Entity public class WorkflowItemRole extends Object implements ReloadableEntity<Integer>
Represents a workflow assignments database representation. These assignments describe roles and the groups connected to these roles for each collection- Author:
- Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWorkflowItemRole()Protected constructor, create object using:DSpaceCRUDService.create(Context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPersongetEPerson()GroupgetGroup()IntegergetID()The unique identifier of this entity instance.StringgetRoleId()XmlWorkflowItemgetWorkflowItem()voidsetEPerson(EPerson eperson)voidsetGroup(Group group)voidsetRoleId(String id)voidsetWorkflowItem(XmlWorkflowItem xmlWorkflowItem)
-
-
-
Constructor Detail
-
WorkflowItemRole
protected WorkflowItemRole()
Protected constructor, create object using:DSpaceCRUDService.create(Context)
-
-
Method Detail
-
getID
public Integer getID()
Description copied from interface:ReloadableEntityThe unique identifier of this entity instance.- Specified by:
getIDin interfaceReloadableEntity<Integer>- Returns:
- the value of the primary key for this instance.
-
setRoleId
public void setRoleId(String id)
-
getRoleId
public String getRoleId()
-
setWorkflowItem
public void setWorkflowItem(XmlWorkflowItem xmlWorkflowItem)
-
getWorkflowItem
public XmlWorkflowItem getWorkflowItem()
-
setEPerson
public void setEPerson(EPerson eperson)
-
getEPerson
public EPerson getEPerson() throws SQLException
- Throws:
SQLException
-
setGroup
public void setGroup(Group group)
-
getGroup
public Group getGroup() throws SQLException
- Throws:
SQLException
-
-