Class TemplateParameter

java.lang.Object
com.morpheusdata.model.TemplateParameter

public class TemplateParameter extends Object
  • Field Details

    • name

      protected String name
    • displayName

      protected String displayName
    • inputType

      protected Boolean inputType
    • selectType

      protected Boolean selectType
    • passwordType

      protected Boolean passwordType
    • required

      protected Boolean required
    • options

      protected Collection<Map> options
    • description

      protected String description
    • defaultValue

      protected String defaultValue
    • minLength

      protected Integer minLength
    • maxLength

      protected Integer maxLength
    • minValue

      protected Integer minValue
    • maxValue

      protected Integer maxValue
  • Constructor Details

    • TemplateParameter

      public TemplateParameter()
  • Method Details

    • getName

      public String getName()
    • getDisplayName

      public String getDisplayName()
    • getInputType

      public Boolean getInputType()
    • getSelectType

      public Boolean getSelectType()
    • getPasswordType

      public Boolean getPasswordType()
    • getRequired

      public Boolean getRequired()
    • getOptions

      public Collection<Map> getOptions()
      Returns a collection of options for the parameter. This is only applicable for type select, checkbox, and radio The format of the options is a collection of maps with the following keys: name - The label to display for the option value - The value to return for the option selected - Boolean value to indicate if the option is selected by default
      Returns:
    • getDescription

      public String getDescription()
    • getDefaultValue

      public String getDefaultValue()
    • getMinLength

      public Integer getMinLength()
    • getMaxLength

      public Integer getMaxLength()
    • getMinValue

      public Integer getMinValue()
    • getMaxValue

      public Integer getMaxValue()
    • setName

      public void setName(String name)
    • setDisplayName

      public void setDisplayName(String displayName)
    • setInputType

      public void setInputType(Boolean inputType)
    • setSelectType

      public void setSelectType(Boolean selectType)
    • setPasswordType

      public void setPasswordType(Boolean passwordType)
    • setRequired

      public void setRequired(Boolean required)
    • setOptions

      public void setOptions(Collection<Map> options)
    • setDescription

      public void setDescription(String description)
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
    • setMinLength

      public void setMinLength(Integer minLength)
    • setMaxLength

      public void setMaxLength(Integer maxLength)
    • setMinValue

      public void setMinValue(Integer minValue)
    • setMaxValue

      public void setMaxValue(Integer maxValue)