|
|||||||||
| Home >> All >> com >> gammastream >> [ validity overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.gammastream.validity
Class GSVOtherMethods

java.lang.Objectcom.gammastream.validity.GSVOtherMethods
- public class GSVOtherMethods
- extends java.lang.Object
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'.
| Field Summary | |
private static EOEditingContext |
_editingContext
|
| Constructor Summary | |
GSVOtherMethods()
|
|
| Method Summary | |
static boolean |
isArrayEmpty(java.lang.Object object,
java.lang.Object attribute,
java.lang.String key,
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,
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,
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 |
| Field Detail |
_editingContext
private static EOEditingContext _editingContext
| Constructor Detail |
GSVOtherMethods
public GSVOtherMethods()
| Method Detail |
isNull
public static final boolean isNull(java.lang.Object object, java.lang.Object attribute, java.lang.String key, NSDictionary params)
- Determines whether a value has been provided for the specified attribute.
isArrayEmpty
public static final boolean isArrayEmpty(java.lang.Object object, java.lang.Object attribute, java.lang.String key, NSDictionary params)
- Determines whether the specified to-many relationship contains any objects.
The required key-value pairs include:
"RelationshipKey" = The relationship key. (i.e. "toUsers" )
isUnique
public static final boolean isUnique(java.lang.Object object, java.lang.Object attribute, java.lang.String key, NSDictionary params)
- Verifies that the specified attribute is unique.
|
|||||||||
| Home >> All >> com >> gammastream >> [ validity overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.gammastream.validity.GSVOtherMethods