public class ERDLocalizedAssignment extends ERDAssignment implements ERDLocalizableAssignmentInterface
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support
D2WContextClassArray
_CLASS
Constructor and Description |
---|
ERDLocalizedAssignment(EOKeyValueUnarchiver u)
Public constructor
|
ERDLocalizedAssignment(String key,
Object value)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
static Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
Static constructor required by the EOKeyValueUnarchiver
interface.
|
NSArray |
dependentKeys(String keyPath)
Implementation of the
ERDComputingAssignmentInterface . |
Object |
fire(com.webobjects.directtoweb.D2WContext c)
Method called to fire an assignment.
|
booleanContextValueForKey, keyForMethodLookup, localizedTemplateStringForKeyInContext, localizedValueForKeyInContext, localizedValueForKeyWithDefaultInContext, localizerForContext, logDeprecatedMessage
public ERDLocalizedAssignment(EOKeyValueUnarchiver u)
u
- key-value unarchiver used when unarchiving
from rule files.public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
eokeyvalueunarchiver
- to be unarchivedpublic NSArray dependentKeys(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 ERDComputingAssignmentInterface
keyPath
- to compute significant keys for.public Object fire(com.webobjects.directtoweb.D2WContext c)
ERDAssignment
keyForMethodLookup
. 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 ERDAssignment
c
- current D2W contextCopyright © 2002 – 2024 Project Wonder.