com.webobjects.directtoweb
Class EntityAssignment
java.lang.Object
|
+--com.webobjects.directtoweb.Assignment
|
+--com.webobjects.directtoweb.EntityAssignment
- All Implemented Interfaces:
- EOKeyValueArchiving, Serializable
- public class EntityAssignment
- extends Assignment
The EntityAssignment class performs assignment of a key to an object that
represents an entity.
- See Also:
EOEntity
, Serialized Form
EntityAssignment
public EntityAssignment(String keyPath,
Object value)
- Creates an instance of EntityAssignment
with the specified key path and 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.
- Parameters:
keyPath
- the key pathvalue
- instance of String- See Also:
Assignment.Assignment(String, Object)
,
EOEntity
,
EOModelGroup
EntityAssignment
public EntityAssignment(EOKeyValueUnarchiver unarchiver)
- Creates an instance of EntityAssignment
based on an EOKeyValueUnarchiver.
This is used to read the assignment information from a rule file.
- Parameters:
unarchiver
- the unarchiver- See Also:
EntityAssignment(String, Object)
,
Assignment.Assignment(EOKeyValueUnarchiver)
decodeWithKeyValueUnarchiver
public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver unarchiver)
- Description copied from class:
Assignment
- This method is intentionally undocumented.
You should never have to invoke or customize it.
fire
public Object fire(D2WContext context)
- Gets the entity, in the default model group, specified by the
value
method.
- Overrides:
fire
in class Assignment
- Parameters:
context
- instance of D2WContext- Returns:
- instance of EOEntity
- See Also:
Assignment.fire(D2WContext context)
,
EOEntity
,
EOModelGroup
Copyright © 2003 Apple Computer, Inc.