
Static Public Member Functions | |
| static final boolean | isArrayEmpty (Object object, Object attribute, String key, NSDictionary params) |
| static final boolean | isNull (Object object, Object attribute, String key, NSDictionary params) |
| static final boolean | isUnique (Object object, Object attribute, String key, NSDictionary params) |
Static Private Attributes | |
| static EOEditingContext | _editingContext = null |
| static final boolean isArrayEmpty | ( | Object | object, | |
| Object | attribute, | |||
| String | key, | |||
| NSDictionary | params | |||
| ) | [static] |
Determines whether the specified to-many relationship contains any objects.
The required key-value pairs include:
"RelationshipKey" = The relationship key. (i.e. "toUsers" )
| 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 | static final boolean isNull | ( | Object | object, | |
| Object | attribute, | |||
| String | key, | |||
| NSDictionary | params | |||
| ) | [static] |
Determines whether a value has been provided for the specified attribute.
| 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 | static final boolean isUnique | ( | Object | object, | |
| Object | attribute, | |||
| String | key, | |||
| NSDictionary | params | |||
| ) | [static] |
Verifies that the specified attribute is unique.
| 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
EOEditingContext _editingContext = null [static, private] |
1.5.8