public class ERDLocalizedAssignment extends ERDAssignment implements ERDLocalizableAssignmentInterface
com.webobjects.eocontrol.EOKeyValueArchiving._NullValueSupport, com.webobjects.eocontrol.EOKeyValueArchiving._NumberSupport, com.webobjects.eocontrol.EOKeyValueArchiving._TimestampSupport, com.webobjects.eocontrol.EOKeyValueArchiving.Awaking, com.webobjects.eocontrol.EOKeyValueArchiving.FinishInitialization, com.webobjects.eocontrol.EOKeyValueArchiving.Support
D2WContextClassArray
Constructor and Description |
---|
ERDLocalizedAssignment(com.webobjects.eocontrol.EOKeyValueUnarchiver u)
Public constructor
|
ERDLocalizedAssignment(String key,
Object value)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
static Object |
decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.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(com.webobjects.eocontrol.EOKeyValueUnarchiver u)
u
- key-value unarchiver used when unarchiving
from rule files.public static Object decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.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 – 2020 Project Wonder.