er.erxtest.model
Class _Role
java.lang.Object
com.webobjects.eocontrol.EOCustomObject
com.webobjects.eocontrol.EOGenericRecord
er.extensions.eof.ERXGenericRecord
er.erxtest.model._Role
- All Implemented Interfaces:
- _EOPrivateMemento, EODeferredFaulting, EOEnterpriseObject, EOFaulting, EOKeyValueCoding, EOKeyValueCoding._BestBindingCreation._ForwardingBindingCheck, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCodingAdditions, EORelationshipManipulation, EOValidation, NSKeyValueCoding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._ReflectionKeyBindingCreation.Callback, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, ERXEnterpriseObject, ERXGeneratesPrimaryKeyInterface, ERXGuardedObjectInterface, ERXKey.ValueCoding, Serializable
- Direct Known Subclasses:
- Role
public abstract class _Role
- extends ERXGenericRecord
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
| Fields inherited from interface er.extensions.eof.ERXEnterpriseObject |
applyRestrictingQualifierOnInsert, DidDeleteProcessor, DidInsertProcessor, DidRevertProcessor, DidUpdateProcessor, FlushCachesProcessor, insertionTrackingLog, KEY_MARKER, log, logMod, tranLogDidDelete, tranLogDidInsert, tranLogDidRevert, tranLogDidUpdate, tranLogMightDelete, tranLogWillDelete, tranLogWillInsert, tranLogWillRevert, tranLogWillUpdate, validation, validationException, WillDeleteProcessor, WillInsertProcessor, WillRevertProcessor, WillUpdateProcessor |
|
Constructor Summary |
_Role()
|
|
Method Summary |
void |
addToEmployees(Employee object)
|
void |
addToEmployeesRelationship(Employee object)
|
Employee |
createEmployeesRelationship()
|
static Role |
createRole(EOEditingContext editingContext)
|
void |
deleteAllEmployeesRelationships()
|
void |
deleteEmployeesRelationship(Employee object)
|
NSArray<Employee> |
employees()
|
NSArray<Employee> |
employees(EOQualifier qualifier)
|
NSArray<Employee> |
employees(EOQualifier qualifier,
NSArray<EOSortOrdering> sortOrderings)
|
static NSArray<Role> |
fetchAllRoles(EOEditingContext editingContext)
|
static NSArray<Role> |
fetchAllRoles(EOEditingContext editingContext,
NSArray<EOSortOrdering> sortOrderings)
|
static Role |
fetchRequiredRole(EOEditingContext editingContext,
EOQualifier qualifier)
|
static Role |
fetchRequiredRole(EOEditingContext editingContext,
String keyName,
Object value)
|
static Role |
fetchRole(EOEditingContext editingContext,
EOQualifier qualifier)
|
static Role |
fetchRole(EOEditingContext editingContext,
String keyName,
Object value)
|
static NSArray<Role> |
fetchRoles(EOEditingContext editingContext,
EOQualifier qualifier,
NSArray<EOSortOrdering> sortOrderings)
|
Role |
localInstanceIn(EOEditingContext editingContext)
Returns this EO in the supplied editing context. |
static Role |
localInstanceIn(EOEditingContext editingContext,
Role eo)
|
void |
removeFromEmployees(Employee object)
|
void |
removeFromEmployeesRelationship(Employee object)
|
| Methods inherited from class er.extensions.eof.ERXGenericRecord |
_otherStorageBinding, _setUpdateInverseRelationships, _updateInverseRelationships, _validateValueForKey, addObjectsToBothSidesOfRelationshipWithKey, addObjectToBothSidesOfRelationshipWithKey, applyRestrictingQualifierOnInsert, awakeFromClientUpdate, awakeFromFetch, awakeFromInsertion, batchCheckConsistency, canDelete, canUpdate, changesFromCommittedSnapshot, checkConsistency, checkMatchingEditingContexts, clearProperties, committedSnapshot, committedSnapshotValueForKey, delete, description, didDelete, didInsert, didRevert, didUpdate, encryptedPrimaryKey, entity, excludeObjectFromPropertyWithKey, flushCaches, foreignKeyForRelationshipWithKey, getClassLog, includeObjectIntoPropertyWithKey, init, isDeletedEO, isNewEO, isNewObject, isUpdatedObject, localesForKey, localInstanceOf, localInstancesOf, localizationShouldFallbackToDefaultLanguage, mightDelete, parentObjectStoreIsObjectStoreCoordinator, permanentGlobalID, permanentGlobalID, primaryKey, primaryKeyAttributeNames, primaryKeyDictionary, primaryKeyInTransaction, rawPrimaryKey, rawPrimaryKeyInTransaction, refetchObjectFromDBinEditingContext, removeObjectsFromBothSidesOfRelationshipWithKey, removeObjectsFromPropertyWithKey, self, shouldTrimSpaces, takeStoredValueForKey, takeValueForKey, takeValueForKey, toLongString, toString, trimSpaces, updateFromSnapshot, validateForInsert, validateForSave, validateForUpdate, validateValueForKey, valueForKey, willDelete, willInsert, willReadRelationship, willRevert, willUpdate |
| Methods inherited from class com.webobjects.eocontrol.EOCustomObject |
__classDescription, __clearPendingChanges, __editingContext, __globalID, __hasAuxillaryObservers, __hasPendingChanges, __hasPendingUpdate, __isInitialized, __isPendingDeletion, __isPendingInsertion, __isShared, __lastSnapshot, __originalSnapshot, __retainCount, __setAuxillaryObservers, __setEditingContext, __setGlobalID, __setInitialized, __setLastSnapshot, __setOriginalSnapshot, __setPendingDeletion, __setPendingInsertion, __setPendingUpdate, __setRetainCount, __setShared, _createKeyGetBindingForKey, _createKeySetBindingForKey, _createStoredKeyGetBindingForKey, _createStoredKeySetBindingForKey, _fieldKeyBinding, _forwardingBindingNeededForClass, _methodKeyGetBinding, _methodKeySetBinding, addObjectToPropertyWithKey, allPropertyKeys, attributeKeys, canAccessFieldsDirectly, changesFromSnapshot, classDescriptionForDestinationKey, clearFault, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, equals, faultHandler, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hashCode, inverseForRelationshipKey, invokeRemoteMethod, isFault, isReadOnly, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, readResolve, reapplyChangesFromDictionary, removeObjectFromBothSidesOfRelationshipWithKey, removeObjectFromPropertyWithKey, shouldUseStoredAccessors, snapshot, storedValueForKey, takeValueForKeyPath, takeValuesFromDictionary, takeValuesFromDictionaryWithMapping, toManyRelationshipKeys, toOneRelationshipKeys, turnIntoFault, unableToSetNullForKey, userPresentableDescription, validateClientUpdate, validateForDelete, validateTakeValueForKeyPath, valueForKey, valueForKeyPath, valuesForKeys, valuesForKeysWithMapping, willChange, willRead |
| Methods inherited from interface com.webobjects.eocontrol.EOEnterpriseObject |
allPropertyKeys, attributeKeys, changesFromSnapshot, classDescription, classDescriptionForDestinationKey, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, inverseForRelationshipKey, invokeRemoteMethod, isReadOnly, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, reapplyChangesFromDictionary, snapshot, toManyRelationshipKeys, toOneRelationshipKeys, userPresentableDescription, willChange |
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
EMPLOYEES
public static final ERXKey<Employee> EMPLOYEES
EMPLOYEES_KEY
public static final String EMPLOYEES_KEY
_Role
public _Role()
localInstanceIn
public Role localInstanceIn(EOEditingContext editingContext)
- Description copied from interface:
ERXEnterpriseObject
- Returns this EO in the supplied editing context.
- Specified by:
localInstanceIn in interface ERXEnterpriseObject- Overrides:
localInstanceIn in class ERXGenericRecord
- Returns:
- this EO in the supplied editing context.
employees
public NSArray<Employee> employees()
employees
public NSArray<Employee> employees(EOQualifier qualifier)
employees
public NSArray<Employee> employees(EOQualifier qualifier,
NSArray<EOSortOrdering> sortOrderings)
addToEmployees
public void addToEmployees(Employee object)
removeFromEmployees
public void removeFromEmployees(Employee object)
addToEmployeesRelationship
public void addToEmployeesRelationship(Employee object)
removeFromEmployeesRelationship
public void removeFromEmployeesRelationship(Employee object)
createEmployeesRelationship
public Employee createEmployeesRelationship()
deleteEmployeesRelationship
public void deleteEmployeesRelationship(Employee object)
deleteAllEmployeesRelationships
public void deleteAllEmployeesRelationships()
createRole
public static Role createRole(EOEditingContext editingContext)
fetchAllRoles
public static NSArray<Role> fetchAllRoles(EOEditingContext editingContext)
fetchAllRoles
public static NSArray<Role> fetchAllRoles(EOEditingContext editingContext,
NSArray<EOSortOrdering> sortOrderings)
fetchRoles
public static NSArray<Role> fetchRoles(EOEditingContext editingContext,
EOQualifier qualifier,
NSArray<EOSortOrdering> sortOrderings)
fetchRole
public static Role fetchRole(EOEditingContext editingContext,
String keyName,
Object value)
fetchRole
public static Role fetchRole(EOEditingContext editingContext,
EOQualifier qualifier)
fetchRequiredRole
public static Role fetchRequiredRole(EOEditingContext editingContext,
String keyName,
Object value)
fetchRequiredRole
public static Role fetchRequiredRole(EOEditingContext editingContext,
EOQualifier qualifier)
localInstanceIn
public static Role localInstanceIn(EOEditingContext editingContext,
Role eo)
Copyright © 2002 – 2007 Project Wonder.