ERXKeyValueConditional Class Reference

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

Collaboration diagram for ERXKeyValueConditional:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXKeyValueConditional (String aName, NSDictionary aDict, WOElement aElement)

Protected Member Functions

boolean conditionInComponent (WOComponent component)
void pullAssociations (NSDictionary< String,?extends WOAssociation > dict)

Protected Attributes

WOAssociation _key
WOAssociation _value


Detailed Description

Same as the WOKeyValueConditional, but as a dynamic element. Matches if a given key from the component matches the given value. Compares EOs by global ID.

Author:
ak key value

Constructor & Destructor Documentation

ERXKeyValueConditional ( String  aName,
NSDictionary  aDict,
WOElement  aElement 
)


Member Function Documentation

boolean conditionInComponent ( WOComponent  wocomponent  )  [protected]

Override this to return true when your condition is met.

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 _key [protected]

WOAssociation _value [protected]


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