|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidationData
Interface to access DataDefinition validation information.
Method Summary | |
---|---|
boolean |
getEnableValidation()
Gets the flag specifying if the field should be validated. |
java.lang.String |
getMask()
Get the validate format according to a regular expression mask (e.g. |
int |
getMaxlength()
Gets the value to validate input data that doesn't exceed a specified maximum length. |
int |
getMinlength()
Gets the value to validate input data that doesn't exceed a specified minimum length. |
java.lang.String |
getMsg()
Gets the custom message key. |
java.util.Iterator |
getProperties()
Gets an iterator to the keys of the properties. |
java.lang.Object |
getProperty(java.lang.String key)
Gets a generic property on this object. |
Range |
getRange()
Gets the Range used to validate that field is within a specified range. |
java.lang.String |
getType()
Gets the validation type (e.g. email, phone, integer). |
boolean |
isRequired()
Gets the value that specifies mandatory field validation. |
void |
putProperty(java.lang.String key,
java.lang.Object value)
Sets a generic property on this object. |
void |
setEnableValidation(boolean enable)
Sets the flag specifying if the field should be validated. |
void |
setMask(java.lang.String mask)
Sets the validate format according to a regular expression mask (e.g. |
void |
setMaxlength(int maxlength)
Sets the value to validate input data that doesn't exceed a specified maximum length. |
void |
setMinlength(int minlength)
Sets the value to validate input data that doesn't exceed a specified minimum length. |
void |
setMsg(java.lang.String msg)
Sets the custom message key. |
void |
setRange(Range range)
Sets the Range used to validate that field is within a specified range. |
void |
setRequired(boolean required)
Sets the value that specifies mandatory field validation. |
void |
setType(java.lang.String type)
Sets the validation type (e.g. email, phone, integer). |
Method Detail |
---|
boolean getEnableValidation()
java.lang.String getMask()
int getMaxlength()
int getMinlength()
java.lang.String getMsg()
java.util.Iterator getProperties()
java.lang.Object getProperty(java.lang.String key)
key
- The property key.
Range getRange()
java.lang.String getType()
boolean isRequired()
void putProperty(java.lang.String key, java.lang.Object value)
key
- The property key.value
- The property value.void setEnableValidation(boolean enable)
enable
- The enableValidation to set.void setMask(java.lang.String mask)
mask
- The mask to set.void setMaxlength(int maxlength)
maxlength
- The maxlength to set.void setMinlength(int minlength)
minlength
- The minlength to set.void setMsg(java.lang.String msg)
msg
- The msg to set.void setRange(Range range)
range
- The range to set.void setRequired(boolean required)
required
- The required to set.void setType(java.lang.String type)
type
- The type to set.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |