Class FormAttributeDefinition

java.lang.Object
com.sas.lsaf.workflow.processdefinition.FormAttributeDefinition
All Implemented Interfaces:
Serializable

public class FormAttributeDefinition extends Object implements Serializable
This class represents an attribute definition for a user task in a process flow definition, as it is defined in the process flow definition file.
Since:
2.4
See Also:
  • Constructor Details

    • FormAttributeDefinition

      public FormAttributeDefinition(String id, DataProperty.Type type, String name, Serializable defaultValue, Boolean required, Boolean editable, Boolean readable, Map<String,String> values, Set<String> valueIds, String datePattern, String variableName, String expression)
      It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the flow attribute definitions returned by the API.
      Parameters:
      id - The identifier of the attribute definition.
      type - The type of the attribute definition.
      name - The name of the attribute definition.
      defaultValue - The default value of the attribute definition.
      required - Indicates whether the attribute is required.
      editable - Indicates whether the attribute is editable.
      readable - Indicates whether the attribute is readable.
      values - The values of an attribute definition.
      valueIds - The value identifiers of an attribute definition.
      datePattern - The date pattern of the attribute definition.
      variableName - The variable name of the attribute definition.
      expression - The expression of the attribute definition.
  • Method Details

    • getId

      public String getId()
      Gets the identifier of the attribute definition.
      Returns:
      The identifier.
    • getType

      public DataProperty.Type getType()
      Gets the type of the attribute definition.
      Returns:
      The type.
    • getDefaultValue

      public Serializable getDefaultValue()
      Gets the default value of the attribute definition.
      Returns:
      The default value.
    • isRequired

      public Boolean isRequired()
      Gets whether the attribute is required.
      Returns:
      The indicator that the attribute is required.
    • isReadable

      public Boolean isReadable()
      Gets whether the attribute is readable.
      Returns:
      The indicator that the attribute is readable.
    • getName

      public String getName()
      Gets the name of the attribute definition.
      Returns:
      The name.
    • isEditable

      public Boolean isEditable()
      Gets whether the attribute is editable.
      Returns:
      The indicator that the attribute is editable.
    • getValues

      public Map<String,String> getValues()
      Gets the values of an attribute definition.
      Returns:
      The values.
    • getDatePattern

      public String getDatePattern()
      Gets the date pattern of the date attribute definition.
      Returns:
      The date pattern.
    • getVariableName

      public String getVariableName()
      Gets the variable name of an attribute definition.
      Returns:
      The variable name.
    • getExpression

      public String getExpression()
      Gets the expression of an attribute definition.
      Returns:
      The expression.
    • getValueIds

      public Set<String> getValueIds()
      Gets the value identifiers of an attribute definition.
      Returns:
      The value identifiers.
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object