|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.profiles.validator.NumberValidator
public class NumberValidator
A validator which validates numbers.
Constructor Summary | |
---|---|
NumberValidator()
|
Method Summary | |
---|---|
int |
getCachedSize()
Returns the approximate size of the Object in bytes. |
int |
getMaxValue()
|
int |
getMinValue()
|
void |
setMaxValue(int maxValue)
|
void |
setMinValue(int minValue)
|
java.lang.String |
validate(java.lang.String value,
User user)
Performs field validation on user supplied input. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberValidator()
Method Detail |
---|
public java.lang.String validate(java.lang.String value, User user)
ProfileFieldValidator
validate
in interface ProfileFieldValidator
value
- the user supplied value. If no value has been provided by the user then the
value should be null.user
- the user supplying the value, or null if anonymous.
public int getMinValue()
public void setMinValue(int minValue)
public int getMaxValue()
public void setMaxValue(int maxValue)
public int getCachedSize()
Cacheable
getCachedSize
in interface Cacheable
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |