public class ERXInstanceOfConditional extends ERXWOConditional
object=anObject;className=aClassName2;[negate=aBoolean;]
Name | Description |
---|---|
object | object to test |
className | class or interface name |
negate | Inverts the sense of the conditional. |
Modifier and Type | Field and Description |
---|---|
protected com.webobjects.appserver.WOAssociation |
_className |
protected com.webobjects.appserver.WOAssociation |
_object |
_condition, LAST_CONDITION_KEY
Constructor and Description |
---|
ERXInstanceOfConditional(String aName,
NSDictionary aDict,
com.webobjects.appserver.WOElement aElement) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
conditionInComponent(com.webobjects.appserver.WOComponent component)
Tests if the bound object is an instance of the class.
|
protected void |
pullAssociations(NSDictionary<String,? extends com.webobjects.appserver.WOAssociation> dict)
Override to pull the associations for your condition.
|
appendChildrenToResponse, appendToResponse, invokeAction, invokeChildrenAction, lastCondition, meetsConditionInComponent, setLastCondition, takeChildrenValuesFromRequest, takeValuesFromRequest, toString
protected com.webobjects.appserver.WOAssociation _object
protected com.webobjects.appserver.WOAssociation _className
public ERXInstanceOfConditional(String aName, NSDictionary aDict, com.webobjects.appserver.WOElement aElement)
protected void pullAssociations(NSDictionary<String,? extends com.webobjects.appserver.WOAssociation> dict)
ERXWOConditional
negate
has already been pulled, so don't call super, as you
will get an IllegalStateException because condition
isn't
bound.pullAssociations
in class ERXWOConditional
protected boolean conditionInComponent(com.webobjects.appserver.WOComponent component)
conditionInComponent
in class ERXWOConditional
Copyright © 2002 – 2020 Project Wonder.