java.lang.Object
com.aquima.web.api.model.page.element.ElementModel
com.aquima.web.api.model.page.element.Field

public class Field extends ElementModel
This class represents the field viewmodel
Since:
9.2
Author:
A.Pragt
  • Constructor Details

    • Field

      public Field()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in class ElementModel
    • getQuestionText

      public String getQuestionText()
      This method returns the question text.
      Returns:
      The question text.
    • setQuestionText

      public void setQuestionText(String questionText)
      This method sets the question text.
      Parameters:
      questionText - The question text.
    • getExplainText

      public String getExplainText()
      This method returns the explain text.
      Returns:
    • setExplainText

      public void setExplainText(String explainText)
      This method sets the explain text.
      Parameters:
      explainText - The explain text.
    • getRejectedValue

      public String getRejectedValue()
      This method returns the rejectedvalue.
      Returns:
      The rejected value.
    • setRejectedValue

      public void setRejectedValue(String rejectedValue)
      This method sets the rejectedvalue.
      Parameters:
      rejectedValue - The rejected value.
    • isMultiValued

      public boolean isMultiValued()
      This method returns the multivalued indicator.
      Returns:
      The multivalued indicator.
    • setMultiValued

      public void setMultiValued(boolean multiValued)
      This method sets the multivalued indicator.
      Parameters:
      multiValued - The multivalued indicator.
    • isReadonly

      public boolean isReadonly()
      This method returns the readonly indicator.
      Returns:
      The readonly indicator.
    • setReadonly

      public void setReadonly(boolean readonly)
      This method sets the readonly indicator.
      Parameters:
      readonly - The readonly indicator.
    • isRefresh

      public boolean isRefresh()
      This method returns the refresh indicator.
      Returns:
      The refresh indicator.
    • setRefresh

      public void setRefresh(boolean refresh)
      This method sets the refresh indicator.
      Parameters:
      refresh - The refresh indicator.
    • isRequired

      public boolean isRequired()
      This method returns the required indicator.
      Returns:
      The required indicator.
    • setRequired

      public void setRequired(boolean required)
      This method sets the required indicator.
      Parameters:
      required - The indicator.
    • getDataType

      public String getDataType()
      This method returns the datatype.
      Returns:
      The datatype.
    • setDataType

      public void setDataType(String dataType)
      This method sets the datatype.
      Parameters:
      dataType - The datatype.
    • getValues

      public List<String> getValues()
      This method returns the values.
      Returns:
      The values.
    • getHasDomain

      public boolean getHasDomain()
      This method returns the domain indicator.
      Returns:
      Indicator for has domain.
    • setHasDomain

      public void setHasDomain(boolean hasDomain)
      This method sets the domain indicator.
      Parameters:
      hasDomain - The domain indicator.
    • getDomain

      public List<DomainValue> getDomain()
      This method returns the domain values.
      Returns:
      The domain values.
    • getMessages

      public List<Message> getMessages()
      This method returns the messages.
      Returns:
      The messages.
    • getValidations

      public List<FieldValidation> getValidations()
      This method returns the field validations.
      Returns:
      The field validations.
      Since:
      9.3.2
    • getDisplayLength

      public int getDisplayLength()
      Returns the maximum display length of the field.
      Returns:
      The max displayLength, or -1 for unlimited.
    • setDisplayLength

      public void setDisplayLength(int displayLength)
      Sets the max displaylength of the field.
      Parameters:
      displayLength - The max displaylength, -1 for unlimited.
    • getParameters

      public List<FieldParameter> getParameters()
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class ElementModel