public class ProcessFlow extends ProcessFlowDescriptor
ProcessFlowDescriptor.FlowStatus
Constructor and Description |
---|
ProcessFlow(String id,
String contextId,
String contextPath,
String name,
String description,
ProcessFlowDescriptor.FlowStatus status,
String owner,
ProcessDefinitionInfo processDefinitionInfo,
String createdBy,
Date created,
String lastModifiedBy,
Date lastModified,
long revision)
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) |
Attribute |
getAttribute(String id)
Gets the extended attribute with the specified id for a process flow.
|
List<Attribute> |
getAttributes()
Gets the list of extended attributes defined for a process flow.
|
Set<DataProperty> |
getProcessData()
Gets the process data properties for a process flow.
|
int |
hashCode() |
void |
setAttribute(String id,
Serializable value)
Sets the value for the extended attribute with the specified id for a process flow.
|
void |
setAttributes(List<Attribute> attributes)
Sets the extended attribute values for a process flow.
|
void |
setProcessData(Set<DataProperty> processData)
Sets the process data properties for a process flow.
|
String |
toString() |
getContextId, getContextPath, getCreated, getCreatedBy, getDescription, getLastModified, getLastModifiedBy, getName, getOwner, getProcessDefinitionInfo, getRevision, getStatus, setDescription, setName, setOwner
getId, getTypeId
public ProcessFlow(String id, String contextId, String contextPath, String name, String description, ProcessFlowDescriptor.FlowStatus status, String owner, ProcessDefinitionInfo processDefinitionInfo, String createdBy, Date created, String lastModifiedBy, Date lastModified, long revision)
id
- the unique identifier of this work itemcontextId
- the id of the context where this process flow was createdcontextPath
- the path of the context where this process flow was createdname
- the name of this process flowdescription
- the description of this process flowstatus
- the status of this process flowowner
- the owner of this process flowprocessDefinitionInfo
- the process definition information of this process flowcreatedBy
- the user who created this process flowcreated
- the date this process flow was createdlastModifiedBy
- the user who last modified this process flowlastModified
- the date this process flow was last modifiedrevision
- the internal revision numberpublic List<Attribute> getAttributes()
public void setAttributes(List<Attribute> attributes)
attributes
- the list of extended attribute values for a process flow.public Attribute getAttribute(String id)
id
- the id of the extended attribute to get.public void setAttribute(String id, Serializable value)
id
- the id of the extended attribute to update. If the id is not found, no update will be made.value
- the value of the extended attribute to update.public Set<DataProperty> getProcessData()
public void setProcessData(Set<DataProperty> processData)
processData
- the data properties for a process flow.public int hashCode()
hashCode
in class ProcessFlowDescriptor
public boolean equals(Object obj)
equals
in class ProcessFlowDescriptor
public String toString()
toString
in class ProcessFlowDescriptor
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA