@Immutable public class PropertyValue extends Object implements DynamicOperand, PropertyValue
Comparison constraint.| Constructor and Description |
|---|
PropertyValue(SelectorName selectorName,
String propertyName)
Create a dynamic operand that evaluates to the property values 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 |
getPropertyName() |
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 PropertyValue(SelectorName selectorName, String propertyName)
selectorName - the name of the selectorpropertyName - the name of the propertyIllegalArgumentException - if the selector name or property name are nullpublic SelectorName selectorName()
public Set<SelectorName> selectorNames()
DynamicOperandpublic String getSelectorName()
getSelectorName in interface PropertyValuepublic final String getPropertyName()
getPropertyName in interface PropertyValueCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.