Class Field
java.lang.Object
com.aquima.web.api.model.page.element.ElementModel
com.aquima.web.api.model.page.element.Field
This class represents the field viewmodel
- Since:
- 9.2
- Author:
- A.Pragt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method returns the datatype.int
Returns the maximum display length of the field.This method returns the domain values.This method returns the explain text.boolean
This method returns the domain indicator.This method returns the messages.This method returns the question text.This method returns the rejectedvalue.getType()
This method returns the field validations.This method returns the values.int
hashCode()
boolean
This method returns the multivalued indicator.boolean
This method returns the readonly indicator.boolean
This method returns the refresh indicator.boolean
This method returns the required indicator.void
setDataType
(String dataType) This method sets the datatype.void
setDisplayLength
(int displayLength) Sets the max displaylength of the field.void
setExplainText
(String explainText) This method sets the explain text.void
setHasDomain
(boolean hasDomain) This method sets the domain indicator.void
setMultiValued
(boolean multiValued) This method sets the multivalued indicator.void
setQuestionText
(String questionText) This method sets the question text.void
setReadonly
(boolean readonly) This method sets the readonly indicator.void
setRefresh
(boolean refresh) This method sets the refresh indicator.void
setRejectedValue
(String rejectedValue) This method sets the rejectedvalue.void
setRequired
(boolean required) This method sets the required indicator.Methods inherited from class com.aquima.web.api.model.page.element.ElementModel
addProperty, getFunctionalKey, getKey, getName, getProperties, getStyles, setFunctionalKey, setKey, setName
-
Constructor Details
-
Field
public Field()
-
-
Method Details
-
getType
- Specified by:
getType
in classElementModel
-
getQuestionText
This method returns the question text.- Returns:
- The question text.
-
setQuestionText
This method sets the question text.- Parameters:
questionText
- The question text.
-
getExplainText
This method returns the explain text.- Returns:
-
setExplainText
This method sets the explain text.- Parameters:
explainText
- The explain text.
-
getRejectedValue
This method returns the rejectedvalue.- Returns:
- The rejected value.
-
setRejectedValue
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
This method returns the datatype.- Returns:
- The datatype.
-
setDataType
This method sets the datatype.- Parameters:
dataType
- The datatype.
-
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
This method returns the domain values.- Returns:
- The domain values.
-
getMessages
This method returns the messages.- Returns:
- The messages.
-
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
-
hashCode
public int hashCode()- Overrides:
hashCode
in classElementModel
-
equals
- Overrides:
equals
in classElementModel
-