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 WOAssociation |
_className |
protected WOAssociation |
_object |
_condition, LAST_CONDITION_KEY
_children
_ConstructorParameters
Constructor and Description |
---|
ERXInstanceOfConditional(String aName,
NSDictionary aDict,
WOElement aElement) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
conditionInComponent(WOComponent component)
Tests if the bound object is an instance of the class.
|
protected void |
pullAssociations(NSDictionary<String,? extends WOAssociation> dict)
Override to pull the associations for your condition.
|
appendChildrenToResponse, appendToResponse, invokeAction, invokeChildrenAction, lastCondition, meetsConditionInComponent, setLastCondition, takeChildrenValuesFromRequest, takeValuesFromRequest, toString
addChildElement, childrenElements, EmptyGroup, hasChildrenElements
protected WOAssociation _object
protected WOAssociation _className
public ERXInstanceOfConditional(String aName, NSDictionary aDict, WOElement aElement)
protected void pullAssociations(NSDictionary<String,? extends 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(WOComponent component)
conditionInComponent
in class ERXWOConditional
Copyright © 2002 – 2024 Project Wonder.