public class Element extends AbstractIdentifiable
Modifier and Type | Class and Description |
---|---|
static class |
Element.ElementType
Provides the type of the flow element.
|
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_TYPE
Comment for
serialVersionUID |
Constructor and Description |
---|
Element(String identifier,
String elementId,
String name,
String description,
Element.ElementType type,
ProcessFlowDescriptor.FlowStatus status,
ProcessFlowDescriptor processFlow,
Date created)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCreated()
Gets the date this element was created
|
String |
getDescription() |
String |
getElementId()
Gets the id for this element as defined in the process definition
|
ProcessFlowDescriptor.FlowStatus |
getFlowStatus() |
String |
getName()
Gets the name for this element
|
ProcessFlowDescriptor |
getProcessFlow()
Gets the process flow which contains this element
|
Element.ElementType |
getType()
Gets the type of this element
|
int |
hashCode() |
void |
setDescription(String description) |
void |
setName(String name)
Sets the name of this element
|
String |
toString() |
getIdentifier, getObjectType, setIdentifier, setObjectType
public static final String OBJECT_TYPE
serialVersionUID
public Element(String identifier, String elementId, String name, String description, Element.ElementType type, ProcessFlowDescriptor.FlowStatus status, ProcessFlowDescriptor processFlow, Date created)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as
ProcessFlowService.getCurrentElementsByProcessFlow(String)
.
identifier
- The identifier of this elementelementId
- The id of this element as it appears in the process definitionname
- The name of this elementdescription
- The description of this elementtype
- The type of this elementstatus
- The status of the process flow which contains this elementprocessFlow
- The process flow that contains this elementcreated
- The date this element was createdpublic String getElementId()
public String getName()
public void setName(String name)
name
- the name of this elementpublic ProcessFlowDescriptor getProcessFlow()
public Date getCreated()
public Element.ElementType getType()
public int hashCode()
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in class AbstractIdentifiable
public ProcessFlowDescriptor.FlowStatus getFlowStatus()
public String getDescription()
public void setDescription(String description)
description
- the description to setCopyright (c) 2017, SAS Institute Inc., Cary, NC, USA