public abstract class EOCustomObject extends Object implements EOEnterpriseObject, EODeferredFaulting, EOKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._ReflectionKeyBindingCreation.Callback, EOKeyValueCoding._BestBindingCreation._ForwardingBindingCheck, _EOPrivateMemento
Modifier and Type | Class and Description |
---|---|
static class |
EOCustomObject._BooleanFieldBinding |
static class |
EOCustomObject._FieldBinding |
static class |
EOCustomObject._LazyFieldBinding |
static class |
EOCustomObject._NumberFieldBinding |
EOKeyValueCodingAdditions.DefaultImplementation, EOKeyValueCodingAdditions.Utility
EOKeyValueCoding._BestBindingCreation, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCoding._StoredForwardingBinding
NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.ValidationException
_EOPrivateMemento.DefaultImplementation
Modifier and Type | Field and Description |
---|---|
protected Boolean |
__readOnly |
static Class<?> |
_CLASS |
_KeyPathSeparatorChar, KeyPathSeparator
NullValue
Constructor and Description |
---|
EOCustomObject() |
EOCustomObject(EOEditingContext editingContext,
EOClassDescription classDescription,
EOGlobalID gid)
Deprecated.
|
public static final Class<?> _CLASS
protected transient Boolean __readOnly
@Deprecated public EOCustomObject(EOEditingContext editingContext, EOClassDescription classDescription, EOGlobalID gid)
public EOCustomObject()
public final EOEditingContext __editingContext()
__editingContext
in interface _EOPrivateMemento
public final void __setEditingContext(EOEditingContext ec)
__setEditingContext
in interface _EOPrivateMemento
public final EOClassDescription __classDescription()
__classDescription
in interface _EOPrivateMemento
public void __setClassDescription(EOClassDescription cd)
__setClassDescription
in interface _EOPrivateMemento
public final EOGlobalID __globalID()
__globalID
in interface _EOPrivateMemento
public final void __setGlobalID(EOGlobalID gid)
__setGlobalID
in interface _EOPrivateMemento
public final NSDictionary __originalSnapshot()
__originalSnapshot
in interface _EOPrivateMemento
public final void __setOriginalSnapshot(NSDictionary os)
__setOriginalSnapshot
in interface _EOPrivateMemento
public final NSDictionary __lastSnapshot()
__lastSnapshot
in interface _EOPrivateMemento
public final void __setLastSnapshot(NSDictionary ls)
__setLastSnapshot
in interface _EOPrivateMemento
public final int __retainCount()
__retainCount
in interface _EOPrivateMemento
public final void __setRetainCount(int rc)
__setRetainCount
in interface _EOPrivateMemento
public final boolean __isInitialized()
__isInitialized
in interface _EOPrivateMemento
public final void __setInitialized(boolean inited)
__setInitialized
in interface _EOPrivateMemento
public final boolean __isShared()
__isShared
in interface _EOPrivateMemento
public final void __setShared(boolean shared)
__setShared
in interface _EOPrivateMemento
public final boolean __hasAuxillaryObservers()
__hasAuxillaryObservers
in interface _EOPrivateMemento
public final void __setAuxillaryObservers(boolean hao)
__setAuxillaryObservers
in interface _EOPrivateMemento
public boolean __hasPendingChanges()
__hasPendingChanges
in interface _EOPrivateMemento
public void __clearPendingChanges()
__clearPendingChanges
in interface _EOPrivateMemento
public boolean __hasPendingUpdate()
__hasPendingUpdate
in interface _EOPrivateMemento
public void __setPendingUpdate(boolean changed)
__setPendingUpdate
in interface _EOPrivateMemento
public final boolean __isPendingInsertion()
__isPendingInsertion
in interface _EOPrivateMemento
public final void __setPendingInsertion(boolean inserted)
__setPendingInsertion
in interface _EOPrivateMemento
public final boolean __isPendingDeletion()
__isPendingDeletion
in interface _EOPrivateMemento
public final void __setPendingDeletion(boolean deleted)
__setPendingDeletion
in interface _EOPrivateMemento
public final Object opaqueState()
opaqueState
in interface EOEnterpriseObject
public EOEditingContext editingContext()
editingContext
in interface EOEnterpriseObject
public void willChange()
willChange
in interface EOEnterpriseObject
public EOClassDescription classDescription()
classDescription
in interface EOEnterpriseObject
public String entityName()
entityName
in interface EOEnterpriseObject
public NSArray<String> attributeKeys()
attributeKeys
in interface EOEnterpriseObject
public NSArray<String> toOneRelationshipKeys()
toOneRelationshipKeys
in interface EOEnterpriseObject
public NSArray<String> toManyRelationshipKeys()
toManyRelationshipKeys
in interface EOEnterpriseObject
public String inverseForRelationshipKey(String relationshipKey)
inverseForRelationshipKey
in interface EOEnterpriseObject
public int deleteRuleForRelationshipKey(String relationshipKey)
deleteRuleForRelationshipKey
in interface EOEnterpriseObject
public boolean ownsDestinationObjectsForRelationshipKey(String relationshipKey)
ownsDestinationObjectsForRelationshipKey
in interface EOEnterpriseObject
public EOClassDescription classDescriptionForDestinationKey(String detailKey)
classDescriptionForDestinationKey
in interface EOEnterpriseObject
public void awakeFromInsertion(EOEditingContext ec)
awakeFromInsertion
in interface EOEnterpriseObject
public void awakeFromFetch(EOEditingContext ec)
awakeFromFetch
in interface EOEnterpriseObject
public NSDictionary<String,Object> snapshot()
snapshot
in interface EOEnterpriseObject
public void updateFromSnapshot(NSDictionary<String,Object> snapshot)
updateFromSnapshot
in interface EOEnterpriseObject
public NSDictionary changesFromSnapshot(NSDictionary snapshot)
changesFromSnapshot
in interface EOEnterpriseObject
public void reapplyChangesFromDictionary(NSDictionary changes)
reapplyChangesFromDictionary
in interface EOEnterpriseObject
public boolean isToManyKey(String key)
isToManyKey
in interface EOEnterpriseObject
public NSArray<String> allPropertyKeys()
allPropertyKeys
in interface EOEnterpriseObject
public void clearProperties()
clearProperties
in interface EOEnterpriseObject
public void propagateDeleteWithEditingContext(EOEditingContext ec)
propagateDeleteWithEditingContext
in interface EOEnterpriseObject
public String userPresentableDescription()
userPresentableDescription
in interface EOEnterpriseObject
public String eoShallowDescription()
eoShallowDescription
in interface EOEnterpriseObject
public String eoDescription()
eoDescription
in interface EOEnterpriseObject
public Object invokeRemoteMethod(String methodName, Class[] argumentTypes, Object[] arguments)
invokeRemoteMethod
in interface EOEnterpriseObject
public void prepareValuesForClient()
prepareValuesForClient
in interface EOEnterpriseObject
public void awakeFromClientUpdate(EOEditingContext ec)
awakeFromClientUpdate
in interface EOEnterpriseObject
protected void includeObjectIntoPropertyWithKey(Object eo, String key)
public void addObjectToPropertyWithKey(Object eo, String key)
addObjectToPropertyWithKey
in interface EORelationshipManipulation
protected void excludeObjectFromPropertyWithKey(Object eo, String key)
public void removeObjectFromPropertyWithKey(Object eo, String key)
removeObjectFromPropertyWithKey
in interface EORelationshipManipulation
public void addObjectToBothSidesOfRelationshipWithKey(EORelationshipManipulation object, String key)
addObjectToBothSidesOfRelationshipWithKey
in interface EORelationshipManipulation
public void removeObjectFromBothSidesOfRelationshipWithKey(EORelationshipManipulation object, String key)
removeObjectFromBothSidesOfRelationshipWithKey
in interface EORelationshipManipulation
public static boolean usesDeferredFaultCreation()
public void willRead()
willRead
in interface EOFaulting
public boolean isFault()
isFault
in interface EOFaulting
public void clearFault()
clearFault
in interface EOFaulting
public void turnIntoFault(EOFaultHandler handler)
turnIntoFault
in interface EOFaulting
public EOFaultHandler faultHandler()
faultHandler
in interface EOFaulting
public Object willReadRelationship(Object object)
willReadRelationship
in interface EODeferredFaulting
public Object validateValueForKey(Object value, String key) throws NSValidation.ValidationException
validateValueForKey
in interface NSValidation
NSValidation.ValidationException
public Object validateTakeValueForKeyPath(Object value, String keyPath) throws NSValidation.ValidationException
validateTakeValueForKeyPath
in interface NSValidation
NSValidation.ValidationException
public void validateForSave() throws NSValidation.ValidationException
validateForSave
in interface EOValidation
NSValidation.ValidationException
public void validateForDelete() throws NSValidation.ValidationException
validateForDelete
in interface EOValidation
NSValidation.ValidationException
public void validateForInsert() throws NSValidation.ValidationException
validateForInsert
in interface EOValidation
NSValidation.ValidationException
public void validateForUpdate() throws NSValidation.ValidationException
validateForUpdate
in interface EOValidation
NSValidation.ValidationException
public void validateClientUpdate() throws NSValidation.ValidationException
validateClientUpdate
in interface EOValidation
NSValidation.ValidationException
public static boolean canAccessFieldsDirectly()
public Object valueForKey(String key)
valueForKey
in interface NSKeyValueCoding
public void takeValueForKey(Object value, String key)
takeValueForKey
in interface NSKeyValueCoding
public Object handleQueryWithUnboundKey(String key)
handleQueryWithUnboundKey
in interface NSKeyValueCoding.ErrorHandling
public void handleTakeValueForUnboundKey(Object value, String key)
handleTakeValueForUnboundKey
in interface NSKeyValueCoding.ErrorHandling
public void unableToSetNullForKey(String key)
unableToSetNullForKey
in interface NSKeyValueCoding.ErrorHandling
public Object valueForKeyPath(String keyPath)
valueForKeyPath
in interface NSKeyValueCodingAdditions
public void takeValueForKeyPath(Object value, String keyPath)
takeValueForKeyPath
in interface NSKeyValueCodingAdditions
public static boolean shouldUseStoredAccessors()
public Object storedValueForKey(String key)
storedValueForKey
in interface EOKeyValueCoding
public void takeStoredValueForKey(Object value, String key)
takeStoredValueForKey
in interface EOKeyValueCoding
public NSDictionary valuesForKeys(NSArray keys)
valuesForKeys
in interface EOKeyValueCodingAdditions
public NSDictionary valuesForKeysWithMapping(NSDictionary mapping)
valuesForKeysWithMapping
in interface EOKeyValueCodingAdditions
public void takeValuesFromDictionary(NSDictionary dictionary)
takeValuesFromDictionary
in interface EOKeyValueCodingAdditions
public void takeValuesFromDictionaryWithMapping(NSDictionary dictionary, NSDictionary mapping)
takeValuesFromDictionaryWithMapping
in interface EOKeyValueCodingAdditions
public NSKeyValueCoding._KeyBinding _createKeyGetBindingForKey(String key)
_createKeyGetBindingForKey
in interface NSKeyValueCoding._KeyBindingCreation
public NSKeyValueCoding._KeyBinding _createKeySetBindingForKey(String key)
_createKeySetBindingForKey
in interface NSKeyValueCoding._KeyBindingCreation
public NSKeyValueCoding._KeyBinding _keyGetBindingForKey(String key)
_keyGetBindingForKey
in interface NSKeyValueCoding._KeyBindingCreation
public NSKeyValueCoding._KeyBinding _keySetBindingForKey(String key)
_keySetBindingForKey
in interface NSKeyValueCoding._KeyBindingCreation
public NSKeyValueCoding._KeyBinding _createStoredKeyGetBindingForKey(String key)
_createStoredKeyGetBindingForKey
in interface EOKeyValueCoding._KeyBindingCreation
public NSKeyValueCoding._KeyBinding _createStoredKeySetBindingForKey(String key)
_createStoredKeySetBindingForKey
in interface EOKeyValueCoding._KeyBindingCreation
public NSKeyValueCoding._KeyBinding _storedKeyGetBindingForKey(String key)
_storedKeyGetBindingForKey
in interface EOKeyValueCoding._KeyBindingCreation
public NSKeyValueCoding._KeyBinding _storedKeySetBindingForKey(String key)
_storedKeySetBindingForKey
in interface EOKeyValueCoding._KeyBindingCreation
public NSKeyValueCoding._KeyBinding _fieldKeyBinding(String key, String fieldName)
_fieldKeyBinding
in interface NSKeyValueCoding._ReflectionKeyBindingCreation.Callback
public NSKeyValueCoding._KeyBinding _methodKeyGetBinding(String key, String methodName)
_methodKeyGetBinding
in interface NSKeyValueCoding._ReflectionKeyBindingCreation.Callback
public NSKeyValueCoding._KeyBinding _methodKeySetBinding(String key, String methodName)
_methodKeySetBinding
in interface NSKeyValueCoding._ReflectionKeyBindingCreation.Callback
public NSKeyValueCoding._KeyBinding _otherStorageBinding(String key)
_otherStorageBinding
in interface NSKeyValueCoding._ReflectionKeyBindingCreation.Callback
public boolean _forwardingBindingNeededForClass(Class objectClass, String methodName, Class[] methodArgumentTypes)
_forwardingBindingNeededForClass
in interface EOKeyValueCoding._BestBindingCreation._ForwardingBindingCheck
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
public boolean isReadOnly()
isReadOnly
in interface EOEnterpriseObject
Copyright © 2002 – 2024 Project Wonder.