ERDDefaultModelAssignment, for displayNameForEntity and displayNameForDestinationEntity use ERDDefaultDisplayNameAssignment@Deprecated public class ERDDefaultEntityNameAssignment extends ERDAssignment implements ERDLocalizableAssignmentInterface
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support| Modifier and Type | Field and Description |
|---|---|
static NSArray |
_DEPENDENT_KEYS
Deprecated.
holds the array of keys this assignment depends upon
|
static org.apache.log4j.Logger |
log
Deprecated.
logging support
|
D2WContextClassArray_CLASS| Constructor and Description |
|---|
ERDDefaultEntityNameAssignment(EOKeyValueUnarchiver u)
Deprecated.
Public constructor
|
ERDDefaultEntityNameAssignment(java.lang.String key,
java.lang.Object value)
Deprecated.
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
Deprecated.
Static constructor required by the EOKeyValueUnarchiver
interface.
|
NSArray |
dependentKeys(java.lang.String keyPath)
Deprecated.
Implementation of the
ERDComputingAssignmentInterface. |
java.lang.String |
displayNameForDestinationEntity(com.webobjects.directtoweb.D2WContext context)
Deprecated.
Calculates the display name for a destination entity.
|
java.lang.Object |
displayNameForEntity(com.webobjects.directtoweb.D2WContext c)
Deprecated.
|
EOEntity |
dummyEntity()
Deprecated.
|
java.lang.Object |
entity(com.webobjects.directtoweb.D2WContext c)
Deprecated.
|
booleanContextValueForKey, fire, keyForMethodLookup, localizedTemplateStringForKeyInContext, localizedValueForKeyInContext, localizedValueForKeyWithDefaultInContext, localizerForContext, logDeprecatedMessagepublic static final org.apache.log4j.Logger log
public static final NSArray _DEPENDENT_KEYS
public ERDDefaultEntityNameAssignment(EOKeyValueUnarchiver u)
u - key-value unarchiver used when unarchiving
from rule files.public ERDDefaultEntityNameAssignment(java.lang.String key,
java.lang.Object value)
key - context keyvalue - of the assignmentpublic static java.lang.Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
eokeyvalueunarchiver - to be unarchivedpublic NSArray dependentKeys(java.lang.String keyPath)
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.dependentKeys in interface ERDComputingAssignmentInterfacekeyPath - to compute significant keys for.public java.lang.Object displayNameForEntity(com.webobjects.directtoweb.D2WContext c)
public EOEntity dummyEntity()
public java.lang.Object entity(com.webobjects.directtoweb.D2WContext c)
public java.lang.String displayNameForDestinationEntity(com.webobjects.directtoweb.D2WContext context)
context - current contextCopyright © 2002 – 2022 Project Wonder.