@Immutable public class Length extends Object implements DynamicOperand, Length
Comparison constraint.| Constructor and Description |
|---|
Length(PropertyValue propertyValue)
Create a dynamic operand that evaluates to the length of the supplied property values.
|
| 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) |
PropertyValue |
getPropertyValue() |
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 Length(PropertyValue propertyValue)
propertyValue - the property value operandpublic Set<SelectorName> selectorNames()
DynamicOperandpublic final PropertyValue getPropertyValue()
getPropertyValue in interface Lengthpublic SelectorName selectorName()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.