org.apache.activemq.artemis.selector.filter

## 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 and Description
    `PropertyExpression(SimpleString name)`
    `PropertyExpression(String name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `Object` | `evaluate(Filterable message)`
    `String` | `getName()`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PropertyExpression

          public PropertyExpression(String name)

    - #### PropertyExpression

          public PropertyExpression(SimpleString name)

  - ### Method Detail

    - #### evaluate

          public Object evaluate(Filterable message)
                          throws FilterException

      Specified by:
        `evaluate` in interface `Expression`
      Returns:
        the value of this expression
      Throws:
        `FilterException`

    - #### getName

          public String getName()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`
      See Also:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`
      See Also:
        `Object.hashCode()`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`
      See Also:
        `Object.equals(java.lang.Object)`

Copyright © 2018 The Apache Software Foundation. All rights reserved.