java.lang.Object
com.atlassian.crowd.search.query.entity.restriction.PropertyImpl<V>
All Implemented Interfaces:
Property<V>

public class PropertyImpl<V> extends Object implements Property<V>
  • Constructor Details

    • PropertyImpl

      public PropertyImpl(String propertyName, Class<V> propertyType)
  • Method Details

    • getPropertyName

      public String getPropertyName()
      Description copied from interface: Property
      Returns the name of the property.
      Specified by:
      getPropertyName in interface Property<V>
      Returns:
      property name
    • getPropertyType

      public Class<V> getPropertyType()
      Description copied from interface: Property
      Returns the type of the property value.
      Specified by:
      getPropertyType in interface Property<V>
      Returns:
      class type of the property value
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object