Package io.keikai.api.model.impl
Class ValidationImpl
- java.lang.Object
-
- io.keikai.api.model.impl.ValidationImpl
-
- All Implemented Interfaces:
Validation
,Serializable
public class ValidationImpl extends Object implements Validation, Serializable
- Author:
- henri
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.api.model.Validation
Validation.AlertStyle, Validation.OperatorType, Validation.ValidationType
-
-
Constructor Summary
Constructors Constructor Description ValidationImpl(ModelRef<SDataValidation> validationRef)
-
Method Summary
-
-
-
Constructor Detail
-
ValidationImpl
public ValidationImpl(ModelRef<SDataValidation> validationRef)
-
-
Method Detail
-
getNative
public SDataValidation getNative()
-
getId
public Object getId()
-
getAlertStyle
public Validation.AlertStyle getAlertStyle()
- Specified by:
getAlertStyle
in interfaceValidation
-
setAlertStyle
public void setAlertStyle(Validation.AlertStyle alertStyle)
- Specified by:
setAlertStyle
in interfaceValidation
-
setIgnoreBlank
public void setIgnoreBlank(boolean ignore)
- Specified by:
setIgnoreBlank
in interfaceValidation
-
isIgnoreBlank
public boolean isIgnoreBlank()
- Specified by:
isIgnoreBlank
in interfaceValidation
-
setInCellDropdown
public void setInCellDropdown(boolean show)
- Specified by:
setInCellDropdown
in interfaceValidation
-
isInCellDropdown
public boolean isInCellDropdown()
- Specified by:
isInCellDropdown
in interfaceValidation
-
setShowInput
public void setShowInput(boolean show)
- Specified by:
setShowInput
in interfaceValidation
-
isShowInput
public boolean isShowInput()
- Specified by:
isShowInput
in interfaceValidation
-
setShowError
public void setShowError(boolean show)
- Specified by:
setShowError
in interfaceValidation
-
isShowError
public boolean isShowError()
- Specified by:
isShowError
in interfaceValidation
-
setInputTitle
public void setInputTitle(String title)
- Specified by:
setInputTitle
in interfaceValidation
-
setInputMessage
public void setInputMessage(String message)
- Specified by:
setInputMessage
in interfaceValidation
-
getInputTitle
public String getInputTitle()
- Specified by:
getInputTitle
in interfaceValidation
-
getInputMessage
public String getInputMessage()
- Specified by:
getInputMessage
in interfaceValidation
-
setErrorTitle
public void setErrorTitle(String title)
- Specified by:
setErrorTitle
in interfaceValidation
-
setErrorMessage
public void setErrorMessage(String message)
- Specified by:
setErrorMessage
in interfaceValidation
-
getErrorTitle
public String getErrorTitle()
- Specified by:
getErrorTitle
in interfaceValidation
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessage
in interfaceValidation
-
getValidationType
public Validation.ValidationType getValidationType()
- Specified by:
getValidationType
in interfaceValidation
-
setValidationType
public void setValidationType(Validation.ValidationType type)
- Specified by:
setValidationType
in interfaceValidation
-
getOperatorType
public Validation.OperatorType getOperatorType()
- Specified by:
getOperatorType
in interfaceValidation
-
setOperatorType
public void setOperatorType(Validation.OperatorType type)
- Specified by:
setOperatorType
in interfaceValidation
-
getFormula1
public String getFormula1()
- Specified by:
getFormula1
in interfaceValidation
-
getFormula2
public String getFormula2()
- Specified by:
getFormula2
in interfaceValidation
-
setFormula1
public void setFormula1(String formula)
- Specified by:
setFormula1
in interfaceValidation
-
setFormula2
public void setFormula2(String formula2)
- Specified by:
setFormula2
in interfaceValidation
-
-