|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gammastream.validity.GSVOtherMethods
public class GSVOtherMethods
This class provides a set of predefined rules for performing validation on miscellaneous data types. These rules are part of the default set of 'QuickRules'.
Constructor Summary | |
---|---|
GSVOtherMethods()
|
Method Summary | |
---|---|
static boolean |
isArrayEmpty(java.lang.Object object,
java.lang.Object attribute,
java.lang.String key,
com.webobjects.foundation.NSDictionary params)
Determines whether the specified to-many relationship contains any objects. |
static boolean |
isNull(java.lang.Object object,
java.lang.Object attribute,
java.lang.String key,
com.webobjects.foundation.NSDictionary params)
Determines whether a value has been provided for the specified attribute. |
static boolean |
isUnique(java.lang.Object object,
java.lang.Object attribute,
java.lang.String key,
com.webobjects.foundation.NSDictionary params)
Verifies that the specified attribute is unique. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GSVOtherMethods()
Method Detail |
---|
public static final boolean isNull(java.lang.Object object, java.lang.Object attribute, java.lang.String key, com.webobjects.foundation.NSDictionary params)
object
- The object whose attribute is being validated.attribute
- The attribute being validated.key
- The key used to access the attribute.params
- The param dictionary which must contain the above mentioned key-value pairs.
true
if the value is null
; otherwise, false
public static final boolean isArrayEmpty(java.lang.Object object, java.lang.Object attribute, java.lang.String key, com.webobjects.foundation.NSDictionary params)
object
- The object whose attribute is being validated.attribute
- The attribute being validated.key
- The key used to access the attribute.params
- The param dictionary which must contain the above mentioned key-value pairs.
true
if the to-many array is empty; otherwise, false
public static final boolean isUnique(java.lang.Object object, java.lang.Object attribute, java.lang.String key, com.webobjects.foundation.NSDictionary params)
object
- The object whose attribute is being validated.attribute
- The attribute being validated.key
- The key used to access the attribute.params
- The param dictionary which must contain the above mentioned key-value pairs.
true
if the attribute is empty; otherwise, false
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |