|
WebObjects 5.4.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.woextensions.WOKeyValueConditional
public class WOKeyValueConditional
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
|---|
WOComponent.Event |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
|---|
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
| Field Summary |
|---|
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
KeyPathSeparator |
| Constructor Summary | |
|---|---|
WOKeyValueConditional(WOContext aContext)
|
|
| Method Summary | |
|---|---|
boolean |
condition()
|
boolean |
isStateless()
By default, this method returns false, indicating that state will be maintained for instances of the receiver. |
String |
key()
|
boolean |
negate()
|
void |
reset()
Allows a stateless component to reset temporary references. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WOKeyValueConditional(WOContext aContext)
| Method Detail |
|---|
public boolean condition()
public String key()
public boolean negate()
public boolean isStateless()
WOComponentfalse, indicating that state will be maintained for instances of the receiver. Overriding this method to return true will make the component stateless. A single instance of each stateless component is shared between multiple
sessions, reducing the application's memory footprint.
By default, stateless components don't synchronize. So, if you override this method to return true and you want the component to synchronize, you must also override synchronizesVariablesWithBindings and return true.
isStateless in class WOComponenttrue if this method is overidden, false otherwiseWOComponent.reset(),
WOComponent.synchronizesVariablesWithBindings()public void reset()
WOComponent
reset in class WOComponentWOComponent.isStateless()
|
Last updated June 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||