|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esf.util.validator.toclass.ValidateToClass
ValidateToClass is a class of static functions that take at least a ClassName (not fully qualified) and at least one value to compare to values from the class referred to by the ClassName. This class assumes that the class to compare to exists in a ".service" bundle branched somewhere off the parental namespace of the calling class bundle.
The class should never exist within the calling bundle (never use these methods from within a Service Class definition).
Note: This class has no instance methods.
Method Summary | |
static boolean |
validateToFields(java.lang.String className,
int value)
Test the value against each of the field values from the class. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean validateToFields(java.lang.String className, int value)
className
- Test field values from this classvalue
- Value to test
true
if the value matches the value of one of
the fields in the class
false
otherwise
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |