Project Wonder 5.0

er.extensions.appserver
Class ERXNegateAssociation

java.lang.Object
  extended by com.webobjects.appserver.WOAssociation
      extended by er.extensions.appserver.ERXNegateAssociation
All Implemented Interfaces:
java.lang.Cloneable

public class ERXNegateAssociation
extends com.webobjects.appserver.WOAssociation

Negates the value it is bound to. Can handle both not:value=true and not:value=someReturnValue syntax. Install with

WOOgnl.setAssociationClassForPrefix(ERXNegateAssociation.class, "not");

Author:
ak

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOAssociation
com.webobjects.appserver.WOAssociation._EventLoggingEnabler, com.webobjects.appserver.WOAssociation.Event
 
Field Summary
 
Fields inherited from class com.webobjects.appserver.WOAssociation
_BINDING_KEYPATH_PREFIX, _debugEnabled, _IsEventLoggingEnabled, TakeValueForKeyPathEvent, ValueForKeyPathEvent
 
Constructor Summary
ERXNegateAssociation(java.lang.Object value, boolean isConstant)
           
 
Method Summary
 java.lang.String bindingInComponent(com.webobjects.appserver.WOComponent wocomponent)
           
 java.lang.Object clone()
           
 boolean isValueConstant()
           
 java.lang.String keyPath()
           
 java.lang.String toString()
           
 java.lang.Object valueInComponent(com.webobjects.appserver.WOComponent wocomponent)
           
 
Methods inherited from class com.webobjects.appserver.WOAssociation
_bindingName, _debugDescription, _declarationName, _declarationType, _hasBindingInParent, _isImplementedForComponent, _logPullValue, _logPushValue, _markStartOfEventIfNeeded, _setDebuggingEnabled, _setValueNoValidation, associationWithKeyPath, associationWithValue, booleanValueInComponent, isValueConstantInComponent, isValueSettable, isValueSettableInComponent, setDebugEnabledForBinding, setValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERXNegateAssociation

public ERXNegateAssociation(java.lang.Object value,
                            boolean isConstant)
Method Detail

isValueConstant

public boolean isValueConstant()
Overrides:
isValueConstant in class com.webobjects.appserver.WOAssociation

valueInComponent

public java.lang.Object valueInComponent(com.webobjects.appserver.WOComponent wocomponent)
Overrides:
valueInComponent in class com.webobjects.appserver.WOAssociation

bindingInComponent

public java.lang.String bindingInComponent(com.webobjects.appserver.WOComponent wocomponent)
Specified by:
bindingInComponent in class com.webobjects.appserver.WOAssociation

keyPath

public java.lang.String keyPath()
Specified by:
keyPath in class com.webobjects.appserver.WOAssociation

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class com.webobjects.appserver.WOAssociation

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.