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 on which the element was created.
|
String |
getDescription()
Gets the description of the element.
|
String |
getElementId()
Gets the identifier for the element as defined in the process definition.
|
ProcessFlowDescriptor.FlowStatus |
getFlowStatus()
Gets the status of the process flow that contains the element.
|
String |
getName()
Gets the name for the element.
|
String |
getProcessFlowId()
Gets the identifier of the process flow that contains the element.
|
Element.ElementType |
getType()
Gets the type of the element.
|
int |
hashCode() |
void |
setName(String name)
Sets the name of the 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 identifier of the element.id
- the unique identifier of the element.elementId
- the identifier 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 that contains the element.processFlowId
- the identifier of the process flow that contains the element.created
- the date on which the element was created.public String getElementId()
public String getName()
public void setName(String name)
name
- the name of the 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) 2020, SAS Institute Inc., Cary, NC, USA