er.directtoweb.assignments
Class ERDTabDictionaryComputer
java.lang.Object
com.webobjects.directtoweb.Assignment
com.webobjects.directtoweb.TabDictionaryComputer
er.directtoweb.assignments.ERDTabDictionaryComputer
- All Implemented Interfaces:
- EOKeyValueArchiving, ERDComputingAssignmentInterface, Serializable
public class ERDTabDictionaryComputer
- extends com.webobjects.directtoweb.TabDictionaryComputer
- implements ERDComputingAssignmentInterface
This class is needed because the original tab
dictionary computer does implement the computing
interface and as such does not work with the
new caching scheme.
- See Also:
- Serialized Form
| Fields inherited from class com.webobjects.directtoweb.Assignment |
KeyPathKey, ValueKey |
| Methods inherited from class com.webobjects.directtoweb.TabDictionaryComputer |
fire, tabNameIsInHeader |
| Methods inherited from class com.webobjects.directtoweb.Assignment |
encodeWithKeyValueArchiver, keyPath, toString, value, value |
_DEPENDENT_KEYS
public static final NSArray _DEPENDENT_KEYS
- Holds the keys this assignment is dependent upon
ERDTabDictionaryComputer
public ERDTabDictionaryComputer(EOKeyValueUnarchiver u)
- Public constructor
- Parameters:
u - key-value unarchiver used when unarchiving
from rule files.
ERDTabDictionaryComputer
public ERDTabDictionaryComputer(String key,
Object value)
- Public constructor
- Parameters:
key - context keyvalue - of the assignment
decodeWithKeyValueUnarchiver
public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
- Static constructor required by the EOKeyValueUnarchiver
interface. If this isn't implemented then the default
behavior is to construct the first super class that does
implement this method. Very lame.
- Parameters:
eokeyvalueunarchiver - to be unarchived
- Returns:
- decoded assignment of this class
dependentKeys
public NSArray dependentKeys(String keyPath)
- Implementation of the
ERDComputingAssignmentInterface. This
assignment depends upon the context key: "displayPropertyKeys".
This array of keys is used when constructing the
significant keys for the passed in keyPath.
- Specified by:
dependentKeys in interface ERDComputingAssignmentInterface
- Parameters:
keyPath - to compute significant keys for.
- Returns:
- array of context keys this assignment depends upon.
Copyright © 2002 – 2011 Project Wonder.