public class ValidationImpl extends Object implements Validation, Serializable
Validation.AlertStyle, Validation.OperatorType, Validation.ValidationType
Constructor and Description |
---|
ValidationImpl(ModelRef<SDataValidation> validationRef) |
Modifier and Type | Method and Description |
---|---|
Validation.AlertStyle |
getAlertStyle() |
String |
getErrorMessage() |
String |
getErrorTitle() |
String |
getFormula1() |
String |
getFormula2() |
Object |
getId() |
String |
getInputMessage() |
String |
getInputTitle() |
SDataValidation |
getNative() |
Validation.OperatorType |
getOperatorType() |
Validation.ValidationType |
getValidationType() |
boolean |
isIgnoreBlank() |
boolean |
isInCellDropdown() |
boolean |
isShowError() |
boolean |
isShowInput() |
void |
setAlertStyle(Validation.AlertStyle alertStyle) |
void |
setErrorMessage(String message) |
void |
setErrorTitle(String title) |
void |
setFormula1(String formula) |
void |
setFormula2(String formula2) |
void |
setIgnoreBlank(boolean ignore) |
void |
setInCellDropdown(boolean show) |
void |
setInputMessage(String message) |
void |
setInputTitle(String title) |
void |
setOperatorType(Validation.OperatorType type) |
void |
setShowError(boolean show) |
void |
setShowInput(boolean show) |
void |
setValidationType(Validation.ValidationType type) |
public ValidationImpl(ModelRef<SDataValidation> validationRef)
public SDataValidation getNative()
public Object getId()
public Validation.AlertStyle getAlertStyle()
getAlertStyle
in interface Validation
public void setAlertStyle(Validation.AlertStyle alertStyle)
setAlertStyle
in interface Validation
public void setIgnoreBlank(boolean ignore)
setIgnoreBlank
in interface Validation
public boolean isIgnoreBlank()
isIgnoreBlank
in interface Validation
public void setInCellDropdown(boolean show)
setInCellDropdown
in interface Validation
public boolean isInCellDropdown()
isInCellDropdown
in interface Validation
public void setShowInput(boolean show)
setShowInput
in interface Validation
public boolean isShowInput()
isShowInput
in interface Validation
public void setShowError(boolean show)
setShowError
in interface Validation
public boolean isShowError()
isShowError
in interface Validation
public void setInputTitle(String title)
setInputTitle
in interface Validation
public void setInputMessage(String message)
setInputMessage
in interface Validation
public String getInputTitle()
getInputTitle
in interface Validation
public String getInputMessage()
getInputMessage
in interface Validation
public void setErrorTitle(String title)
setErrorTitle
in interface Validation
public void setErrorMessage(String message)
setErrorMessage
in interface Validation
public String getErrorTitle()
getErrorTitle
in interface Validation
public String getErrorMessage()
getErrorMessage
in interface Validation
public Validation.ValidationType getValidationType()
getValidationType
in interface Validation
public void setValidationType(Validation.ValidationType type)
setValidationType
in interface Validation
public Validation.OperatorType getOperatorType()
getOperatorType
in interface Validation
public void setOperatorType(Validation.OperatorType type)
setOperatorType
in interface Validation
public String getFormula1()
getFormula1
in interface Validation
public String getFormula2()
getFormula2
in interface Validation
public void setFormula1(String formula)
setFormula1
in interface Validation
public void setFormula2(String formula2)
setFormula2
in interface Validation
Copyright © 2020. All rights reserved.