Class ActivityGroupReference
- java.lang.Object
-
- de.aristaflow.adept2.model.common.defaultimplementation.DefaultUserAttributeContainer
-
- de.aristaflow.adept2.model.common.defaultimplementation.SerialisableUserAttributeContainer
-
- de.aristaflow.adept2.model.worklistmodel.ActivityGroupReference
-
- All Implemented Interfaces:
UserAttributeContainer
,ActivityReference
,GroupActivityReference
,Serializable
public class ActivityGroupReference extends de.aristaflow.adept2.model.common.defaultimplementation.SerialisableUserAttributeContainer implements GroupActivityReference
An activity reference for an activity group identifying the group in the worklist manager (getGroupId()
as well as logically via name and execution context.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
groupExecutionContext
The execution context of the group this reference represents.protected UUID
groupId
The ID of the group this reference represents.protected String
groupName
The name of the group this reference represents.static long
serialVersionUID
ID for serialisation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
String
getActivityReferenceType()
Returns the type of the activity, e.g.String
getGroupExecutionContext()
UUID
getGroupId()
Gets the ID of the group this activity reference represents.String
getGroupName()
int
hashCode()
String
toString()
-
Methods inherited from class de.aristaflow.adept2.model.common.defaultimplementation.DefaultUserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributes, setUserAttributeValue, subEquals, subHashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
ID for serialisation.- See Also:
- Constant Field Values
-
groupId
protected final UUID groupId
The ID of the group this reference represents.
-
groupName
protected final String groupName
The name of the group this reference represents.
-
groupExecutionContext
protected final String groupExecutionContext
The execution context of the group this reference represents.
-
-
Constructor Detail
-
ActivityGroupReference
public ActivityGroupReference(UUID groupId, String groupName, String groupExecutionContext, Map<String,String> userAttributes)
- Parameters:
groupId
- The ID of the group this reference represents.groupName
- The ID of the group this reference represents.groupExecutionContext
- The execution context of the group this reference represents.userAttributes
- The user attributes.
-
-
Method Detail
-
getActivityReferenceType
public String getActivityReferenceType()
Description copied from interface:ActivityReference
Returns the type of the activity, e.g. "de.aristaflow.ADEPT2ActivityReference".- Specified by:
getActivityReferenceType
in interfaceActivityReference
- Returns:
- The type of the activity.
-
getGroupId
public UUID getGroupId()
Description copied from interface:GroupActivityReference
Gets the ID of the group this activity reference represents.- Specified by:
getGroupId
in interfaceGroupActivityReference
- Returns:
- The ID of the group this activity reference represents.
-
getGroupName
public String getGroupName()
- Returns:
- The name of the group this reference represents.
-
getGroupExecutionContext
public String getGroupExecutionContext()
- Returns:
- The execution context of the group this reference represents.
-
-