
Public Member Functions | |
| Object | classForAttribute (D2WContext c) |
| Object | classForColumn (D2WContext c) |
| Object | classForProperty (D2WContext c) |
| Object | classForTask (D2WContext c) |
| NSArray | dependentKeys (String keyPath) |
| ERDDefaultClassStringAssignment (String key, Object value) | |
| ERDDefaultClassStringAssignment (EOKeyValueUnarchiver u) | |
Static Public Member Functions | |
| static Object | decodeWithKeyValueUnarchiver (EOKeyValueUnarchiver eokeyvalueunarchiver) |
Static Public Attributes | |
| static final Logger | log = Logger.getLogger(ERDDefaultClassStringAssignment.class) |
Static Protected Attributes | |
| static final NSDictionary | keys |
This assignment provides defaults for the following keys:
classForTask classForProperty classForColumn To use: Bind D2W component class binding to d2wContext.class (or d2wContext.classForTask, etc)
| ERDDefaultClassStringAssignment | ( | EOKeyValueUnarchiver | u | ) |
Public constructor
| u | key-value unarchiver used when unarchiving from rule files. |
| ERDDefaultClassStringAssignment | ( | String | key, | |
| Object | value | |||
| ) |
Public constructor
| key | context key | |
| value | of the assignment |
| Object classForAttribute | ( | D2WContext | c | ) |
A DOM class based on the propertyKey
| c | d2w context |
| Object classForColumn | ( | D2WContext | c | ) |
A DOM class based on the propertyKey and componentName
| c | d2w context |
| Object classForProperty | ( | D2WContext | c | ) |
A DOM class based on the propertyKey
| c | d2w context |
| Object classForTask | ( | D2WContext | c | ) |
A DOM class based on the task and subTask
| c | d2w context |
| static Object decodeWithKeyValueUnarchiver | ( | EOKeyValueUnarchiver | eokeyvalueunarchiver | ) | [static] |
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.
| eokeyvalueunarchiver | to be unarchived |
| NSArray dependentKeys | ( | String | keyPath | ) |
Implementation of the ERDComputingAssignmentInterface. This array of keys is used when constructing the significant keys for the passed in keyPath.
| keyPath | to compute significant keys for. |
Implements ERDComputingAssignmentInterface.
final NSDictionary keys [static, protected] |
Initial value:
ERXDictionaryUtilities.dictionaryWithObjectsAndKeys( new Object [] { new NSArray(new Object[] {"task", "subTask"}), "classForTask", new NSArray(new Object[] {"propertyKey"}), "classForProperty", new NSArray(new Object[] {"propertyKey"}), "classForAttribute", new NSArray(new Object[] {"propertyKey", "componentName"}), "classForColumn", })
final Logger log = Logger.getLogger(ERDDefaultClassStringAssignment.class) [static] |
logging support
Reimplemented from ERDAssignment.
1.5.8