Package com.adobe.granite.workflow.model
Interface VariableTemplate
-
@ProviderType public interface VariableTemplateInterface for the schema information of the variables
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getAdditionalProperties()ReturnsMapof additional properties of the variable set during authoring.java.lang.ObjectgetDefaultValue()Returns the default value of the variablejava.lang.StringgetDescription()Returns the variable's descriptionjava.lang.StringgetName()Returns the name of the variable.java.lang.StringgetSubType()Returns the subType of the variable.java.lang.StringgetType()Returns the type of the variable.voidsetDefaultValue(java.lang.Object defaultValue)Sets the default value of the variable.voidsetDescription(java.lang.String description)Sets the variable's descriptionvoidsetName(java.lang.String name)Sets the name of the variable.voidsetSubType(java.lang.String subType)Sets the subType of the variable.voidsetType(java.lang.String type)Sets the type of the variable.
-
-
-
Method Detail
-
getDescription
java.lang.String getDescription()
Returns the variable's description- Returns:
-
setDescription
void setDescription(java.lang.String description)
Sets the variable's description- Parameters:
description-
-
getType
java.lang.String getType()
Returns the type of the variable. It is in JAVA FQN format.- Returns:
-
setType
void setType(java.lang.String type)
Sets the type of the variable.- Parameters:
type- in java fqn format
-
getName
java.lang.String getName()
Returns the name of the variable.- Returns:
-
setName
void setName(java.lang.String name)
Sets the name of the variable. It is expected to be the unique identifier of the variable.- Parameters:
name-
-
getSubType
java.lang.String getSubType()
Returns the subType of the variable. Relevant in case of Collection type variable.- Returns:
-
setSubType
void setSubType(java.lang.String subType)
Sets the subType of the variable. Relevant in case of Collection type variable.- Parameters:
subType-
-
setDefaultValue
void setDefaultValue(java.lang.Object defaultValue)
Sets the default value of the variable.- Parameters:
defaultValue-
-
getDefaultValue
java.lang.Object getDefaultValue()
Returns the default value of the variable- Returns:
-
getAdditionalProperties
java.util.Map<java.lang.String,java.lang.String> getAdditionalProperties()
ReturnsMapof additional properties of the variable set during authoring.- Returns:
-
-