|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.directtoweb.Assignment com.webobjects.directtoweb.EntityAssignment
The EntityAssignment class performs assignment of a key to an object that represents an entity.
EOEntity
,
Serialized FormNested Class Summary |
Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueArchiving |
EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support |
Field Summary |
Fields inherited from class com.webobjects.directtoweb.Assignment |
KeyPathKey, ValueKey |
Constructor Summary | |
EntityAssignment(EOKeyValueUnarchiver unarchiver)
Creates an instance of EntityAssignment based on an EOKeyValueUnarchiver. |
|
EntityAssignment(String keyPath,
Object value)
Creates an instance of EntityAssignment with the specified key path and value. |
Method Summary | |
static Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver unarchiver)
This method is intentionally undocumented. |
Object |
fire(D2WContext context)
Gets the entity, in the default model group, specified by the value method. |
Methods inherited from class com.webobjects.directtoweb.Assignment |
encodeWithKeyValueArchiver, keyPath, toString, value, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EntityAssignment(String keyPath, Object value)
The current implementation uses a string to represent the name of an entity in the default model group.
The implementation is subject to change in future releases.
keyPath
- the key pathvalue
- instance of StringAssignment.Assignment(String, Object)
,
EOEntity
,
EOModelGroup
public EntityAssignment(EOKeyValueUnarchiver unarchiver)
This is used to read the assignment information from a rule file.
unarchiver
- the unarchiverEntityAssignment(String, Object)
,
Assignment.Assignment(EOKeyValueUnarchiver)
Method Detail |
public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver unarchiver)
Assignment
public Object fire(D2WContext context)
value
method.
fire
in class Assignment
context
- instance of D2WContext
Assignment.fire(D2WContext context)
,
EOEntity
,
EOModelGroup
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |