Package com.sas.lsaf.workflow.element
Class Element
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.workflow.element.Element
- All Implemented Interfaces:
Identifiable,Serializable
- Direct Known Subclasses:
SignalEvent,Task,TimerEvent
The parent class for an element in a process flow.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionElement(String typeId, String id, String elementId, String name, String description, Element.ElementType type, ProcessFlowDescriptor.FlowStatus flowStatus, String processFlowId, Date created) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the date on which the element was created.Gets the description of the element.Gets the identifier for the element as defined in the process definition.Gets the status of the process flow that contains the element.getName()Gets the name for the element.Gets the identifier of the process flow that contains the element.getType()Gets the type of the element.inthashCode()voidsetDescription(String description) Sets the description of the element.voidSets the name of the element.toString()Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeId
-
Constructor Details
-
Element
public Element(String typeId, String id, String elementId, String name, String description, Element.ElementType type, ProcessFlowDescriptor.FlowStatus flowStatus, String processFlowId, Date created) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the 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.name- The name of the element.description- The description of the element.type- The type of the element.flowStatus- The status of the process flow that contains the element.processFlowId- The identifier of the process flow that contains the element.created- The date on which the element was created.
-
-
Method Details
-
getElementId
Gets the identifier for the element as defined in the process definition.- Returns:
- The identifier.
-
getName
Gets the name for the element.- Returns:
- The name.
-
setName
Sets the name of the element.- Parameters:
name- The name.
-
getProcessFlowId
Gets the identifier of the process flow that contains the element.- Returns:
- The process flow identifier.
-
getCreated
Gets the date on which the element was created.- Returns:
- The date.
-
getType
Gets the type of the element.- Returns:
- The type.
-
getFlowStatus
Gets the status of the process flow that contains the element.- Returns:
- The status.
-
getDescription
Gets the description of the element.- Returns:
- The description of the element.
-
setDescription
Sets the description of the element.- Parameters:
description- The description.
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractIdentifiable
-
equals
- Overrides:
equalsin classAbstractIdentifiable
-
toString
- Overrides:
toStringin classAbstractIdentifiable
-