Package org.jbpm.casemgmt.impl.model
Class CaseRoleImpl
- java.lang.Object
-
- org.jbpm.casemgmt.impl.model.CaseRoleImpl
-
- All Implemented Interfaces:
Serializable
,CaseRole
public class CaseRoleImpl extends Object implements CaseRole, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CaseRoleImpl()
CaseRoleImpl(String name)
CaseRoleImpl(String name, Integer cardinality)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCardinality()
Returns maximum cardinality for this role - maximum assigned entities per case instance.String
getName()
Returns name of the rolevoid
setCardinality(Integer cardinality)
void
setName(String name)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:CaseRole
Returns name of the role
-
getCardinality
public Integer getCardinality()
Description copied from interface:CaseRole
Returns maximum cardinality for this role - maximum assigned entities per case instance. Needs to be set to value greater than 0 to be taken into account.- Specified by:
getCardinality
in interfaceCaseRole
- Returns:
-
setName
public void setName(String name)
-
setCardinality
public void setCardinality(Integer cardinality)
-
-