Class CollectionRole
- java.lang.Object
-
- org.dspace.xmlworkflow.storedcomponents.CollectionRole
-
- All Implemented Interfaces:
ReloadableEntity<Integer>
@Entity public class CollectionRole 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 protectedCollectionRole()Protected constructor, create object using:CollectionRoleService.create(Context, Collection, String, Group)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectiongetCollection()GroupgetGroup()IntegergetID()The unique identifier of this entity instance.StringgetRoleId()voidsetCollection(Collection collection)voidsetGroup(Group group)voidsetRoleId(String id)
-
-
-
Constructor Detail
-
CollectionRole
protected CollectionRole()
Protected constructor, create object using:CollectionRoleService.create(Context, Collection, String, Group)
-
-
Method Detail
-
setRoleId
public void setRoleId(String id)
-
getRoleId
public String getRoleId()
-
setCollection
public void setCollection(Collection collection)
-
getCollection
public Collection getCollection()
-
setGroup
public void setGroup(Group group)
-
getGroup
public Group getGroup() throws SQLException
- Throws:
SQLException
-
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.
-
-