Home | Trees | Index | Help |
|
---|
Package Modeling :: Module DatabaseObject :: Class DatabaseObject |
|
KeyValueCoding
--+
|
DatabaseObject
CustomObject
Method Summary | |
---|---|
Returns the name of the attribute corresponding to the 'key', i.e. | |
Returns the name of the object's class attribute corresponding to the 'key', i.e. | |
Returns the ClassDescription assigned to the receiver | |
Conformance to the Faulting interface. | |
See interfaces.DatabaseObject for details | |
Returns the corresponding entity's name. | |
Conformance to the Faulting interface. | |
Returns the name of the relationship pointing back to current entity, or None if it does not exists. | |
Conformance to the Faulting interface. | |
Creates in 'self' the list of attributes specified by keys, if they do not already exists. | |
Conformance to the Faulting interface. | |
Conformance to the Faulting interface. | |
Inherited from KeyValueCoding | |
See interfaces.KeyValueCoding for details | |
See interfaces.KeyValueCoding for details | |
DEPRECATED -- alias for 'takeStoredValueForKey()' | |
DEPRECATED -- alias for takeValueForKey() | |
DEPRECATED -- alias for takeValueForKeyPath() | |
See interfaces.KeyValueCoding for details | |
See interfaces.KeyValueCoding for details | |
See interfaces.KeyValueCoding for details | |
See interfaces.KeyValueCoding for details | |
See interfaces.KeyValueCoding for details | |
See interfaces.KeyValueCoding for details | |
See interfaces.KeyValueCoding for details | |
See interfaces.KeyValueCoding for details | |
See interfaces.KeyValueCoding for details |
Class Variable Summary | |
---|---|
tuple |
__implements__ = (<class Modeling.interfaces.Relationshi...
|
NoneType |
_DatabaseObject__faultHandler = None |
Method Details |
---|
attributeNameForKey(self, key)Returns the name of the attribute corresponding to the 'key', i.e. either '_key' or 'key', or 'None' if the object does not have such an attribute. When both attributes exists, returned value is '_key' This is part of the support for the KeyValueCoding. See also: prepareForInitializationWithKeys() |
classAttributeNameForKey(self, key)Returns the name of the object's class attribute corresponding to the 'key', i.e. either '_key' or 'key', or 'None' if the object's class does not have such an attribute. When both attributes exists, returned value is '_key' This is part of the support for the KeyValueCoding. See also: prepareForInitializationWithKeys() |
classDescription(self)Returns the ClassDescription assigned to the receiver |
clearFault(self)Conformance to the Faulting interface. See this interface documentation for details |
clearProperties(self)See interfaces.DatabaseObject for details |
entityName(self)Returns the corresponding entity's name. Note that derived objects must override this. As a reminder this method raises 'MethodShouldBeOverridden' |
faultHandler(self)Conformance to the Faulting interface. See this interface documentation for details |
inverseForRelationshipKey(self, aKey)Returns the name of the relationship pointing back to current entity, or None if it does not exists.
|
isFault(self)Conformance to the Faulting interface. See this interface documentation for details |
prepareForInitializationWithKeys(self, keys)Creates in 'self' the list of attributes specified by keys, if they do not already exists. You should not need to call this method directly, it is automatically called when an object is about to be initialized with values fetched from a database (or when a fault is fired). This is part of the support for the KeyValueCoding. The algorithm used is the following, for a given key in 'keys'
|
turnIntoFault(self, aFaultHandler)Conformance to the Faulting interface. See this interface documentation for details |
willRead(self)Conformance to the Faulting interface. See this interface documentation for details |
Class Variable Details |
---|
_DatabaseObject__faultHandler
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:27 2006 | http://epydoc.sf.net |