|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.wotonomy.control.EOCustomObject
net.wotonomy.control.EOGenericRecord
public class EOGenericRecord
EOGenericRecord extends EOCustomObject to provide a general-purpose implementation, relying entirely on the class description for entity-specific behavior, and storing data in a dictionary.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.wotonomy.control.EOKeyValueCodingAdditions |
|---|
EOKeyValueCodingAdditions.DefaultImplementation, EOKeyValueCodingAdditions.Utility |
| Nested classes/interfaces inherited from interface net.wotonomy.foundation.NSKeyValueCoding |
|---|
net.wotonomy.foundation.NSKeyValueCoding.Null |
| Nested classes/interfaces inherited from interface net.wotonomy.foundation.NSKeyValueCoding |
|---|
net.wotonomy.foundation.NSKeyValueCoding.Null |
| Field Summary |
|---|
| Fields inherited from interface net.wotonomy.foundation.NSKeyValueCoding |
|---|
NullValue |
| Fields inherited from interface net.wotonomy.foundation.NSKeyValueCoding |
|---|
NullValue |
| Constructor Summary | |
|---|---|
protected |
EOGenericRecord()
Default constructor. |
|
EOGenericRecord(EOClassDescription aDescription)
Preferred constructor. |
|
EOGenericRecord(EOEditingContext aContext,
EOClassDescription aDescription,
EOGlobalID anID)
Compatibility constructor: aContext and anID are ignored. |
| Method Summary | |
|---|---|
EOClassDescription |
classDescription()
Returns a class description for this object. |
java.lang.Object |
storedValueForKey(java.lang.String aKey)
Calls willRead for the specified key, and returns the corresponding value from the data dictionary. |
void |
takeStoredValueForKey(java.lang.Object aValue,
java.lang.String aKey)
Writes the specified value into the data dictionary for the specified key. |
void |
takeValueForKey(java.lang.Object aValue,
java.lang.String aKey)
Calls willChange and then calls takeStoredValueForKey. |
static boolean |
usesDeferredFaultCreation()
Overridden to return true so that deferred faults are used. |
java.lang.Object |
valueForKey(java.lang.String aKey)
Calls storedValueForKey. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected EOGenericRecord()
public EOGenericRecord(EOClassDescription aDescription)
public EOGenericRecord(EOEditingContext aContext,
EOClassDescription aDescription,
EOGlobalID anID)
| Method Detail |
|---|
public static boolean usesDeferredFaultCreation()
public EOClassDescription classDescription()
classDescription in interface EOEnterpriseObjectclassDescription in class EOCustomObjectpublic java.lang.Object valueForKey(java.lang.String aKey)
valueForKey in interface EOKeyValueCodingvalueForKey in interface net.wotonomy.foundation.NSKeyValueCodingvalueForKey in class EOCustomObject
public void takeValueForKey(java.lang.Object aValue,
java.lang.String aKey)
takeValueForKey in interface EOKeyValueCodingtakeValueForKey in interface net.wotonomy.foundation.NSKeyValueCodingtakeValueForKey in class EOCustomObjectpublic java.lang.Object storedValueForKey(java.lang.String aKey)
storedValueForKey in interface EOKeyValueCodingstoredValueForKey in interface net.wotonomy.foundation.NSKeyValueCodingstoredValueForKey in class EOCustomObject
public void takeStoredValueForKey(java.lang.Object aValue,
java.lang.String aKey)
takeStoredValueForKey in interface EOKeyValueCodingtakeStoredValueForKey in interface net.wotonomy.foundation.NSKeyValueCodingtakeStoredValueForKey in class EOCustomObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||