public class BusinessFlowState
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable
BusinessFlowStates are contained by BusinessFlowTypes and may be grouped by BusinessFlowStateGroups. Each BusinessFlowSate may be associated with BusinessFlows through BusinessFlowStateRelations.
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
END_STATE |
static java.lang.Integer |
NORMAL_STATE |
static java.lang.Integer |
START_STATE |
Constructor and Description |
---|
BusinessFlowState(java.lang.Long id,
java.lang.Integer identifier,
java.lang.String stateName,
java.lang.Long flowTypeId,
java.lang.Long flowStateGroupId,
java.lang.String approverMemberGroupName,
java.lang.Integer languageId,
java.lang.String description,
java.lang.Integer stateType)
Constructs a new BusinessFlowState with the specified values.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object otherObject)
Compares current object to another object.
|
java.lang.String |
getApproverMemberGroupName()
Returns the approver group name string.
|
BusinessFlowStateGroup |
getBusinessFlowStateGroup()
Returns the BusinessFlowStateGroup value.
|
java.lang.Long |
getBusinessFlowStateGroupID()
Returns the BusinessFlowStateGroup unique id value.
|
BusinessFlowStateRelation[] |
getBusinessFlowStateRelations() |
BusinessFlowType |
getBusinessFlowType() |
java.lang.Long |
getBusinessFlowTypeID() |
java.lang.String |
getDescription(java.lang.Integer langId)
Descriptions may be associated with multiple languages.
|
java.lang.Long |
getID() |
java.lang.Integer |
getIdentifier() |
java.lang.String |
getStateName() |
java.lang.Integer |
getStateType() |
java.lang.String |
toString()
Returns the string representation.
|
public static final java.lang.Integer END_STATE
public static final java.lang.Integer NORMAL_STATE
public static final java.lang.Integer START_STATE
public BusinessFlowState(java.lang.Long id, java.lang.Integer identifier, java.lang.String stateName, java.lang.Long flowTypeId, java.lang.Long flowStateGroupId, java.lang.String approverMemberGroupName, java.lang.Integer languageId, java.lang.String description, java.lang.Integer stateType)
id
- The BusinessFlowState unique long value.identifier
- The BusinessFlowState identifier.stateName
- The BusinessFlowState Name.flowTypeId
- The BusinessFlowState FlowType Id.flowStateGroupId
- The BusinessFlowState Group.approverMemberGroupName
- The approver group name.languageId
- The Language id.description
- The Description String.stateType
- The State type.public int compareTo(java.lang.Object otherObject)
compareTo
in interface java.lang.Comparable
otherObject
- The other object for the comparision.public java.lang.String getApproverMemberGroupName()
public BusinessFlowStateGroup getBusinessFlowStateGroup()
public java.lang.Long getBusinessFlowStateGroupID()
public BusinessFlowStateRelation[] getBusinessFlowStateRelations()
public BusinessFlowType getBusinessFlowType()
public java.lang.Long getBusinessFlowTypeID()
public java.lang.String getDescription(java.lang.Integer langId)
langId
- The language integer id value.public java.lang.Long getID()
public java.lang.Integer getIdentifier()
public java.lang.String getStateName()
public java.lang.Integer getStateType()
public java.lang.String toString()
toString
in class java.lang.Object