
Classes | |
| class | DefaultImplementation |
Public Member Functions | |
| NSArray | dependentKeys (String keyPath) |
| ERDDelayedSelectorInvocationAssignment (String key, Object value) | |
| ERDDelayedSelectorInvocationAssignment (EOKeyValueUnarchiver u) | |
| Object | fireNow (D2WContext c) |
Static Public Member Functions | |
| static Object | decodeWithKeyValueUnarchiver (EOKeyValueUnarchiver eokeyvalueunarchiver) |
entity.name = 'Person' and propertyKey = 'username' -> componentName = (object, componentForKey, propertyKey)
Resolving the rule for componentName, would end up invoking the componentForKey(Object) method on the current object from the rule context, passing the current propertyKey through for the argument. This would boil down to object.componentForKey("username").
The array in the value for this assignment must have two or more objects. The first object is a key path evaluated on the rule context to find the target of the selector. The second object is the selector name, it is a constant and is not evaluated on the rule context. All subsequent objects in the array are treated as key paths to resolve on the rule context to get the arguments for the selector.
Assumptions:
| ERDDelayedSelectorInvocationAssignment | ( | EOKeyValueUnarchiver | u | ) |
| ERDDelayedSelectorInvocationAssignment | ( | String | key, | |
| Object | value | |||
| ) |
| static Object decodeWithKeyValueUnarchiver | ( | EOKeyValueUnarchiver | eokeyvalueunarchiver | ) | [static] |
| NSArray dependentKeys | ( | String | keyPath | ) |
Implements ERDComputingAssignmentInterface.
| Object fireNow | ( | D2WContext | c | ) | [virtual] |
Implemented by subclasses.
Implements ERDDelayedAssignment.
1.5.8