Class FormAttributeDefinition
java.lang.Object
com.sas.lsaf.workflow.processdefinition.FormAttributeDefinition
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionFormAttributeDefinition(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. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the date pattern of the date attribute definition.Gets the default value of the attribute definition.Gets the expression of an attribute definition.getId()Gets the identifier of the attribute definition.getName()Gets the name of the attribute definition.getType()Gets the type of the attribute definition.Gets the value identifiers of an attribute definition.Gets the values of an attribute definition.Gets the variable name of an attribute definition.inthashCode()Gets whether the attribute is editable.Gets whether the attribute is readable.Gets whether the attribute is required.toString()
-
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
Gets the identifier of the attribute definition.- Returns:
- The identifier.
-
getType
Gets the type of the attribute definition.- Returns:
- The type.
-
getDefaultValue
Gets the default value of the attribute definition.- Returns:
- The default value.
-
isRequired
Gets whether the attribute is required.- Returns:
- The indicator that the attribute is required.
-
isReadable
Gets whether the attribute is readable.- Returns:
- The indicator that the attribute is readable.
-
getName
Gets the name of the attribute definition.- Returns:
- The name.
-
isEditable
Gets whether the attribute is editable.- Returns:
- The indicator that the attribute is editable.
-
getValues
Gets the values of an attribute definition.- Returns:
- The values.
-
getDatePattern
Gets the date pattern of the date attribute definition.- Returns:
- The date pattern.
-
getVariableName
Gets the variable name of an attribute definition.- Returns:
- The variable name.
-
getExpression
Gets the expression of an attribute definition.- Returns:
- The expression.
-
getValueIds
Gets the value identifiers of an attribute definition.- Returns:
- The value identifiers.
-
hashCode
public int hashCode() -
equals
-
toString
-