Package com.adobe.granite.workflow.model
Interface VariableTemplate
Interface for the schema information of the variables
-
Method Summary
Modifier and TypeMethodDescriptionReturnsMapof additional properties of the variable set during authoring.Returns the default value of the variableReturns the variable's descriptiongetName()Returns the name of the variable.Returns the subType of the variable.getType()Returns the type of the variable.voidsetDefaultValue(Object defaultValue) Sets the default value of the variable.voidsetDescription(String description) Sets the variable's descriptionvoidSets the name of the variable.voidsetSubType(String subType) Sets the subType of the variable.voidSets the type of the variable.
-
Method Details
-
getDescription
String getDescription()Returns the variable's description- Returns:
-
setDescription
Sets the variable's description- Parameters:
description-
-
getType
String getType()Returns the type of the variable. It is in JAVA FQN format.- Returns:
-
setType
Sets the type of the variable.- Parameters:
type- in java fqn format
-
getName
String getName()Returns the name of the variable.- Returns:
-
setName
Sets the name of the variable. It is expected to be the unique identifier of the variable.- Parameters:
name-
-
getSubType
String getSubType()Returns the subType of the variable. Relevant in case of Collection type variable.- Returns:
-
setSubType
Sets the subType of the variable. Relevant in case of Collection type variable.- Parameters:
subType-
-
setDefaultValue
Sets the default value of the variable.- Parameters:
defaultValue-
-
getDefaultValue
Object getDefaultValue()Returns the default value of the variable- Returns:
-
getAdditionalProperties
ReturnsMapof additional properties of the variable set during authoring.- Returns:
-