Class ProcessFlowDescriptor

java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.workflow.processflow.ProcessFlowDescriptor
All Implemented Interfaces:
Identifiable, Serializable
Direct Known Subclasses:
ProcessFlow

public class ProcessFlowDescriptor extends AbstractIdentifiable
A lightweight client that represents a process flow. See ProcessFlow for details.
See Also:
  • Constructor Details

    • ProcessFlowDescriptor

      public ProcessFlowDescriptor(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, AutoFlowType autoFlowType)
      The initializing constructor.
      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.
      autoFlowType - The type of the source from which the process flow was automatically created.
      Since:
      2.4
  • Method Details

    • getName

      public String getName()
      Gets the name of the process flow.
      Returns:
      The name.
    • setName

      public void setName(String name)
      Sets the name of the process flow.
      Parameters:
      name - The name.
    • getContextId

      public String getContextId()
      Gets the context of the process flow.
      Returns:
      The context.
    • getContextPath

      public String getContextPath()
      Gets the path of the context of the process flow.
      Returns:
      The path.
    • getDescription

      public String getDescription()
      Gets the description of the process flow.
      Returns:
      The description.
    • setDescription

      public void setDescription(String description)
      Sets the description of the process flow.
      Parameters:
      description - The description.
    • getLastModified

      public Date getLastModified()
      Gets the date on which the process flow was last modified.
      Returns:
      The date.
    • getLastModifiedBy

      public String getLastModifiedBy()
      Gets the userId of the user who last modified the process flow.
      Returns:
      The userId.
    • getCreated

      public Date getCreated()
      Gets the date on which the process flow was created.
      Returns:
      The date on which the process flow was created.
    • getCreatedBy

      public String getCreatedBy()
      Gets the userId of the user who created the process flow.
      Returns:
      The userId.
    • getOwner

      public String getOwner()
      Gets the userId of the owner of the process flow.
      Returns:
      The userId.
    • setOwner

      public void setOwner(String owner)
      Sets the userId of the owner of the process flow.
      Parameters:
      owner - The userId.
    • getStatus

      Gets the status of the process flow.
      Returns:
      The status.
    • getProcessDefinitionInfo

      public ProcessDefinitionInfo getProcessDefinitionInfo()
      Gets the process flow definition information that was used to create the process flow.
      Returns:
      The process flow definition information.
    • getRevision

      public long getRevision()
      Gets the internal revision number of the process flow object.
      Returns:
      The internal revision number.
    • getAutoFlowType

      public AutoFlowType getAutoFlowType()
      Gets the type of the source from which the process flow was automatically created. If the process flow was created manually, null is returned.
      Returns:
      The type of the source from which the process flow was automatically created.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractIdentifiable
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class AbstractIdentifiable
    • toString

      public String toString()
      Overrides:
      toString in class AbstractIdentifiable