@Deprecated public class ERDSmartAttributeAssignment extends ERDAssignment
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 on
|
D2WContextClassArray, log_CLASS| Constructor and Description |
|---|
ERDSmartAttributeAssignment(EOKeyValueUnarchiver u)
Deprecated.
Public constructor
|
ERDSmartAttributeAssignment(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.Object |
smartAttribute(com.webobjects.directtoweb.D2WContext c)
Deprecated.
Resolves the
EOAttribute in a smarter manner using
the current object from the context as well as the propertyKey
to determine the current attribute. |
booleanContextValueForKey, fire, keyForMethodLookup, localizedTemplateStringForKeyInContext, localizedValueForKeyInContext, localizedValueForKeyWithDefaultInContext, localizerForContext, logDeprecatedMessagepublic static final NSArray _DEPENDENT_KEYS
public ERDSmartAttributeAssignment(EOKeyValueUnarchiver u)
u - key-value unarchiver used when unarchiving
from rule files.public ERDSmartAttributeAssignment(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 keys: "object.entityName" and
"propertyKey". This array of keys is used when constructing the
significant keys for the passed in keyPath.keyPath - to compute significant keys for.public java.lang.Object smartAttribute(com.webobjects.directtoweb.D2WContext c)
EOAttribute in a smarter manner using
the current object from the context as well as the propertyKey
to determine the current attribute. Works even with inheirtance.c - current D2W contextCopyright © 2002 – 2022 Project Wonder.