public class Element extends AbstractIdentifiable
Modifier and Type | Class and Description |
---|---|
static class |
Element.ElementType
Provides the type of the flow element.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCreated()
Gets the date this element was created.
|
String |
getDescription()
Gets the description of the element.
|
String |
getElementId()
Gets the id for this element as defined in the process definition.
|
ProcessFlowDescriptor.FlowStatus |
getFlowStatus()
Gets the status of the process flow containing this element.
|
String |
getName()
Gets the name for this element.
|
String |
getProcessFlowId()
Gets the id of the process flow containing this element.
|
Element.ElementType |
getType()
Gets the type of this element.
|
int |
hashCode() |
void |
setName(String name)
Sets the name of this element.
|
String |
toString() |
getId, getTypeId
public Element(String typeId, String id, String elementId, String name, String description, Element.ElementType type, ProcessFlowDescriptor.FlowStatus flowStatus, String processFlowId, Date created)
typeId
- the object type id of this element.id
- the unique id of this element.elementId
- the id of the element as it appears in the process 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 containing this element.processFlowId
- the id of the process flow containing this element.created
- the date this element was created.public String getElementId()
public String getName()
public void setName(String name)
name
- the name of this element.public String getProcessFlowId()
public Date getCreated()
public Element.ElementType getType()
public ProcessFlowDescriptor.FlowStatus getFlowStatus()
public String getDescription()
public int hashCode()
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in class AbstractIdentifiable
public String toString()
toString
in class AbstractIdentifiable
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA