@Immutable public class NodeName extends Object implements DynamicOperand, NodeName
Comparison
constraint.Constructor and Description |
---|
NodeName(SelectorName selectorName)
Create a dynamic operand that evaluates to the qualified name of the node identified by the 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.
|
boolean |
equals(Object obj) |
String |
getSelectorName() |
int |
hashCode() |
SelectorName |
selectorName()
Get the selector symbol upon which this operand applies.
|
Set<SelectorName> |
selectorNames()
Get the selector symbols to which this operand applies.
|
String |
toString() |
public NodeName(SelectorName selectorName)
selectorName
- the name of the selectorpublic SelectorName selectorName()
public String getSelectorName()
getSelectorName
in interface NodeName
public Set<SelectorName> selectorNames()
DynamicOperand
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.