|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.directtoweb.Assignment er.directtoweb.ERDDelayedAssignment er.directtoweb.ERDDelayedRuleAssignment
DelayedRuleAssignment expects an array of rules as its value. The rules are evaluated in turn until one returns a non-null result. This is done every time that the propertyKey is requested thus making the rule system a lot more dynamic.
Nested Class Summary |
Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueArchiving |
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support |
Field Summary | |
static ERXLogger |
log
Logging support |
Fields inherited from class com.webobjects.directtoweb.Assignment |
KeyPathKey, ValueKey |
Fields inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
_CLASS |
Constructor Summary | |
ERDDelayedRuleAssignment(EOKeyValueUnarchiver u)
|
|
ERDDelayedRuleAssignment(String key,
Object value)
|
Method Summary | |
static Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
|
Object |
fireNow(D2WContext c)
This method is called whenever the propertyKey is requested, but the value in the cache is actually a rule. |
Methods inherited from class er.directtoweb.ERDDelayedAssignment |
fire |
Methods inherited from class com.webobjects.directtoweb.Assignment |
encodeWithKeyValueArchiver, keyPath, toString, value, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final ERXLogger log
Constructor Detail |
public ERDDelayedRuleAssignment(EOKeyValueUnarchiver u)
public ERDDelayedRuleAssignment(String key, Object value)
Method Detail |
public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
public Object fireNow(D2WContext c)
fireNow
in class ERDDelayedAssignment
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |