public class ERDLocalizedAssignment extends ERDAssignment implements ERDLocalizableAssignmentInterface
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.SupportD2WContextClassArray_CLASS| Constructor and Description |
|---|
ERDLocalizedAssignment(EOKeyValueUnarchiver u)
Public constructor
|
ERDLocalizedAssignment(java.lang.String key,
java.lang.Object value)
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
Static constructor required by the EOKeyValueUnarchiver
interface.
|
NSArray |
dependentKeys(java.lang.String keyPath)
Implementation of the
ERDComputingAssignmentInterface. |
java.lang.Object |
fire(com.webobjects.directtoweb.D2WContext c)
Method called to fire an assignment.
|
booleanContextValueForKey, keyForMethodLookup, localizedTemplateStringForKeyInContext, localizedValueForKeyInContext, localizedValueForKeyWithDefaultInContext, localizerForContext, logDeprecatedMessagepublic ERDLocalizedAssignment(EOKeyValueUnarchiver u)
u - key-value unarchiver used when unarchiving
from rule files.public ERDLocalizedAssignment(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 template keys from the value of this assignment.
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 fire(com.webobjects.directtoweb.D2WContext c)
ERDAssignmentkeyForMethodLookup. The default
implementation will lookup the method based on the
key path of the assignment. If you are building a
generic assignment like a BooleanAssignment you
should override this method seeing as you wouldn't
care what the key path of the assignment is. If you
would like to provide a different methodology for the
method to be fired override the method keyForMethodLookup.fire in class ERDAssignmentc - current D2W contextCopyright © 2002 – 2022 Project Wonder.