Class ProcessFlow
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.workflow.processflow.ProcessFlowDescriptor
com.sas.lsaf.workflow.processflow.ProcessFlow
- All Implemented Interfaces:
Identifiable,Serializable
The class that represents a process flow. It is identified by a name and context. It is associated with and scoped to
a context in which it is defined. Examples of a process flow context are organization, project, and analysis.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sas.lsaf.workflow.processflow.ProcessFlowDescriptor
ProcessFlowDescriptor.FlowStatus -
Constructor Summary
ConstructorsConstructorDescriptionProcessFlow(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, String autoFlowSource, AutoFlowType autoFlowType) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttribute(String id) Gets the extended attribute with the specified identifier for a process flow.Gets the list of extended attributes that are defined for a process flow.Gets the identifier of the source object from which this process flow was automatically created.Gets the process data properties for a process flow.inthashCode()voidsetAttribute(String id, Serializable value) Sets the value for the extended attribute with the specified identifier for a process flow.voidsetAttributes(List<Attribute> attributes) Sets the extended attribute values for a process flow.voidsetProcessData(Set<DataProperty> processData) Sets the process data properties for a process flow.toString()Methods inherited from class com.sas.lsaf.workflow.processflow.ProcessFlowDescriptor
getAutoFlowType, getContextId, getContextPath, getCreated, getCreatedBy, getDescription, getLastModified, getLastModifiedBy, getName, getOwner, getProcessDefinitionInfo, getRevision, getStatus, setDescription, setName, setOwnerMethods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeId
-
Constructor Details
-
ProcessFlow
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, String autoFlowSource, AutoFlowType autoFlowType) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the process flows returned by the API.- Parameters:
id- The unique identifier of the process flow.contextId- The identifier of the context in which the process flow was created.contextPath- The path of the context in which the process flow was created.name- The name of the process flow.description- The description of the process flow.status- The status of the process flow.owner- The owner of the process flow.processDefinitionInfo- The process flow definition information of the process flow.createdBy- The user who created the process flow.created- The date on which the process flow was created.lastModifiedBy- The user who last modified the process flow.lastModified- The date on which the process flow was last modified.revision- The internal revision number.autoFlowSource- The source from which this process flow was automatically created.autoFlowType- The type of the source from which the process flow was automatically created.- Since:
- 1.8
-
-
Method Details
-
getAttributes
Gets the list of extended attributes that are defined for a process flow.- Returns:
- The extended attributes.
-
setAttributes
Sets the extended attribute values for a process flow.- Parameters:
attributes- The list of extended attribute values for a process flow.
-
getAttribute
Gets the extended attribute with the specified identifier for a process flow.- Parameters:
id- The identifier of the extended attribute.- Returns:
- The extended attribute with the specified identifier. Returns null, if not found.
-
setAttribute
Sets the value for the extended attribute with the specified identifier for a process flow.- Parameters:
id- The identifier of the extended attribute. If the identifier is not found, no update is made.value- The value of the extended attribute.
-
getProcessData
Gets the process data properties for a process flow.- Returns:
- The data properties.
-
setProcessData
Sets the process data properties for a process flow.- Parameters:
processData- The data properties.
-
getAutoFlowSource
Gets the identifier of the source object from which this process flow was automatically created.- Returns:
- The identifier.
-
hashCode
public int hashCode()- Overrides:
hashCodein classProcessFlowDescriptor
-
equals
- Overrides:
equalsin classProcessFlowDescriptor
-
toString
- Overrides:
toStringin classProcessFlowDescriptor
-