ERXEqualConditional Class Reference

Inherits er::extensions::components::conditionals::ERXWOConditional.

Collaboration diagram for ERXEqualConditional:

Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean conditionInComponent (WOComponent component)
 ERXEqualConditional (String aS, NSDictionary aNsdictionary, WOElement aWoelement)

Protected Member Functions

void pullAssociations (NSDictionary< String,?extends WOAssociation > dict)

Private Attributes

WOAssociation _value1
WOAssociation _value2


Detailed Description

Conditional component that compares two objects using the equals method.
value1 first object to compare value2 second object to compare negate Inverts the sense of the conditional.

Constructor & Destructor Documentation

ERXEqualConditional ( String  aS,
NSDictionary  aNsdictionary,
WOElement  aWoelement 
)


Member Function Documentation

boolean conditionInComponent ( WOComponent  component  ) 

Tests for the equality of the two value bindings. First tests a direct == comparision then tests with an equals comparision.

Returns:
equality of the two bindings.

Reimplemented from ERXWOConditional.

void pullAssociations ( NSDictionary< String,?extends WOAssociation >  nsdictionary  )  [protected]

Override to pull the associations for your condition. The negate has already been pulled, so don't call super, as you will get an IllegalStateException because condition isn't bound.

Reimplemented from ERXWOConditional.


Member Data Documentation

WOAssociation _value1 [private]

WOAssociation _value2 [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:06 2012 for Project Wonder by  doxygen 1.5.8