ERXInstanceOfConditional Class Reference

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

Collaboration diagram for ERXInstanceOfConditional:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXInstanceOfConditional (String aName, NSDictionary aDict, WOElement aElement)

Protected Member Functions

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

Protected Attributes

WOAssociation _className
WOAssociation _object


Detailed Description

Conditional component that tests if an object is an instance of a given class or interface
Synopsis:
object=anObject;className=aClassName2;[negate=aBoolean;] object object to test className class or interface name negate Inverts the sense of the conditional.

Constructor & Destructor Documentation

ERXInstanceOfConditional ( String  aName,
NSDictionary  aDict,
WOElement  aElement 
)


Member Function Documentation

boolean conditionInComponent ( WOComponent  component  )  [protected]

Tests if the bound object is an instance of the class. Note: If the class is not found a ClassNotFoundException will be thrown via an NSForwardException.

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

WOAssociation _object [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