Class DataProperty

java.lang.Object
com.sas.lsaf.workflow.processflow.DataProperty
All Implemented Interfaces:
Serializable

public class DataProperty extends Object implements Serializable
The class that represents a form property in a process flow that is specified with the start event in a process flow definition.
See Also:
  • Constructor Details

    • DataProperty

      public DataProperty(String id, String name, DataProperty.Type type, Serializable value, Map<String,String> values, String datePattern)
      It is not intended or recommended that the consumer of the API construct these objects. They should only retrieved DataProperty objects from the API.
      Parameters:
      id - The identifier of the data property.
      name - The name of the data property.
      type - The type of the data property.
      value - The value of the data property.
      values - The values of the data property. This is returned only from ENUM property types because it is the only type that has multiple values for selection.
      datePattern - The date pattern of the data property.
    • DataProperty

      public DataProperty(String id, String name, DataProperty.Type type, Serializable value)
      It is not intended or recommended that the consumer of the API construct these objects. They should only retrieved DataProperty objects from the API.
      Parameters:
      id - The identifier of the data property.
      name - The name of the data property.
      type - The type of the data property.
      value - The value of the data property.
  • Method Details

    • getDatePattern

      public String getDatePattern()
      Gets the date pattern of the data property as defined in the process flow definition.
      Returns:
      The date pattern of the data property.
    • getValues

      public Map<String,String> getValues()
      Gets the values of the data property as defined in the process flow definition.
      Returns:
      The values of the data property.
    • getId

      public String getId()
      Gets the identifier of the data property as defined in the process flow definition.
      Returns:
      The identifier of the data property.
    • getName

      public String getName()
      Gets the name of the data property as defined in the process flow definition.
      Returns:
      The name of the data property.
    • getValue

      public Serializable getValue()
      Gets the value of the data property.
      Returns:
      The value of the data property.
    • setValue

      public void setValue(Serializable value)
      Sets the value of the data property.
      Parameters:
      value - The value of the data property.
    • getType

      public DataProperty.Type getType()
      Gets the type of the data property as defined in the process flow definition.
      Returns:
      The type of the data property.
    • hashCode

      public int hashCode()
      Returns a hash code value for the object.
      Overrides:
      hashCode in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      Indicates whether some other object is "equal to" this one.
      Overrides:
      equals in class Object
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object