
Public Member Functions | |
| NSArray | dependentKeys (String keyPath) |
| String | displayNameForDestinationEntity (D2WContext context) |
| Object | displayNameForEntity (D2WContext c) |
| EOEntity | dummyEntity () |
| Object | entity (D2WContext c) |
| ERDDefaultEntityNameAssignment (String key, Object value) | |
| ERDDefaultEntityNameAssignment (EOKeyValueUnarchiver u) | |
Static Public Member Functions | |
| static Object | decodeWithKeyValueUnarchiver (EOKeyValueUnarchiver eokeyvalueunarchiver) |
Static Public Attributes | |
| static final NSArray | _DEPENDENT_KEYS = new NSArray("entity.name") |
| static final Logger | log = Logger.getLogger(ERDDefaultEntityNameAssignment.class) |
Private Attributes | |
| EOEntity | _dummyEntity |
Static Private Attributes | |
| static final NSArray | DependentKeysDestinationEntityDisplayName = new NSArray(new Object[]{ "object.entity", "propertyKey"}) |
| ERDDefaultEntityNameAssignment | ( | EOKeyValueUnarchiver | u | ) |
Public constructor
| u | key-value unarchiver used when unarchiving from rule files. |
| ERDDefaultEntityNameAssignment | ( | String | key, | |
| Object | value | |||
| ) |
Public constructor
| key | context key | |
| value | of the assignment |
| 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 assignment depends upon the context key: "entity.name". This array of keys is used when constructing the significant keys for the passed in keyPath.
| keyPath | to compute significant keys for. |
Implements ERDComputingAssignmentInterface.
| String displayNameForDestinationEntity | ( | D2WContext | context | ) |
Calculates the display name for a destination entity.
| context | current context |
| Object displayNameForEntity | ( | D2WContext | c | ) |
| EOEntity dummyEntity | ( | ) |
| Object entity | ( | D2WContext | c | ) |
final NSArray _DEPENDENT_KEYS = new NSArray("entity.name") [static] |
holds the array of keys this assignment depends upon
EOEntity _dummyEntity [private] |
final NSArray DependentKeysDestinationEntityDisplayName = new NSArray(new Object[]{ "object.entity", "propertyKey"}) [static, private] |
final Logger log = Logger.getLogger(ERDDefaultEntityNameAssignment.class) [static] |
logging support
Reimplemented from ERDAssignment.
1.5.8