Class PropertyExpression
- java.lang.Object
-
- org.apache.activemq.artemis.selector.filter.PropertyExpression
-
- All Implemented Interfaces:
Expression
public class PropertyExpression extends Object implements Expression
Represents a property expression- Version:
- $Revision: 1.5 $
-
-
Constructor Summary
Constructors Constructor Description PropertyExpression(String name)PropertyExpression(SimpleString name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Objectevaluate(Filterable message)StringgetName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PropertyExpression
public PropertyExpression(String name)
-
PropertyExpression
public PropertyExpression(SimpleString name)
-
-
Method Detail
-
evaluate
public Object evaluate(Filterable message) throws FilterException
- Specified by:
evaluatein interfaceExpression- Returns:
- the value of this expression
- Throws:
FilterException
-
getName
public String getName()
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject- See Also:
Object.hashCode()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
-