@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()
DynamicOperand
public final PropertyValue getPropertyValue()
getPropertyValue
in interface Length
public SelectorName selectorName()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.