@Immutable public class ChildNodeJoinCondition extends Object implements JoinCondition, ChildNodeJoinCondition
Constructor and Description |
---|
ChildNodeJoinCondition(SelectorName parentSelectorName,
SelectorName childSelectorName)
Create a join condition that determines whether the node identified by the child selector is a child of the node identified
by the parent selector.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
|
SelectorName |
childSelectorName()
Get the name of the selector that represents the child.
|
boolean |
equals(Object obj) |
String |
getChildSelectorName() |
String |
getParentSelectorName() |
int |
hashCode() |
SelectorName |
parentSelectorName()
Get the name of the selector that represents the parent.
|
String |
toString() |
public ChildNodeJoinCondition(SelectorName parentSelectorName, SelectorName childSelectorName)
parentSelectorName
- the first selectorchildSelectorName
- the second selectorpublic final SelectorName childSelectorName()
public final SelectorName parentSelectorName()
public String getChildSelectorName()
getChildSelectorName
in interface ChildNodeJoinCondition
public String getParentSelectorName()
getParentSelectorName
in interface ChildNodeJoinCondition
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.