Package com.sas.lsaf.workflow.element
Class CompletedElement
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.workflow.element.CompletedElement
- All Implemented Interfaces:
Identifiable,Serializable
- Direct Known Subclasses:
CompletedEvent,CompletedTask
The abstract class that represents a completed element of a process flow.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe completed states of the element. -
Constructor Summary
ConstructorsConstructorDescriptionCompletedElement(String typeId, String id, String elementId, String processFlowId, String name, String description, Element.ElementType type, Date created, String completedBy, Date completed, CompletedElement.TaskCompletedState completedState) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionGets the date on which the completed element was completed.Gets the user who completed this element.Gets the completed state of the element.Gets the date on which the completed element was created.Gets the description of the completed element.Gets the identifier of the completed element as it appears in the process flow definition.getName()Gets the name of the completed element.Gets the identifier of the process flow that contains the element.getType()Gets the type of the completed element.toString()Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable
equals, getId, getTypeId, hashCode
-
Constructor Details
-
CompletedElement
public CompletedElement(String typeId, String id, String elementId, String processFlowId, String name, String description, Element.ElementType type, Date created, String completedBy, Date completed, CompletedElement.TaskCompletedState completedState) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the completed elements returned by the API.- Parameters:
typeId- The object type identifier of the element.id- The unique identifier of the element.elementId- The identifier of the element as it appears in the process flow definition.processFlowId- The identifier of the process flow that contains the element.name- The name of the element.description- The description of the element.type- The type of the element.created- The date on which the element was created.completedBy- The user who completed the element.completed- The date on which the element was completed.completedState- The completed state of the element
-
-
Method Details
-
getName
Gets the name of the completed element.- Returns:
- The name.
-
getElementId
Gets the identifier of the completed element as it appears in the process flow definition.- Returns:
- The identifier of the completed element.
-
getProcessFlowId
Gets the identifier of the process flow that contains the element.- Returns:
- Returns the process flow identifier.
-
getDescription
Gets the description of the completed element.- Returns:
- The description.
-
getCreated
Gets the date on which the completed element was created.- Returns:
- The created date.
-
getCompleted
Gets the date on which the completed element was completed.- Returns:
- The completed date.
-
getCompletedBy
Gets the user who completed this element.- Returns:
- The user.
-
getCompletedState
Gets the completed state of the element.- Returns:
- The completed state.
-
getType
Gets the type of the completed element.- Returns:
- The type.
-
toString
- Overrides:
toStringin classAbstractIdentifiable
-