public class StringCountValidator extends Validator
Constructor and Description |
---|
StringCountValidator() |
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Return the count.
|
java.lang.String |
getOperator()
Return the operator.
|
java.lang.String |
getSubstring()
Return the substring.
|
void |
setCount(int count)
Set the count.
|
void |
setOperator(java.lang.String operator)
Set the operator.
|
void |
setSubstring(java.lang.String substring)
Set the substring.
|
addValidatorDefinition, create, getClientOnly, getDependentFields, getOrCreateRef, getStopIfFalse, getStopOnError, getType, getTypeAsString, getValidateOnChange, setClientOnly, setDependentFields, setErrorMessage, setJavaScriptObject, setStopIfFalse, setStopOnError, setType, setType, setValidateOnChange
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject
public void setSubstring(java.lang.String substring)
substring
- the substringpublic java.lang.String getSubstring()
public void setOperator(java.lang.String operator)
operator
- the operatorpublic java.lang.String getOperator()
public void setCount(int count)
count
- the countpublic int getCount()