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