com.atlassian.crowd.search.query.entity.restriction
Class PropertyImpl<V>

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

public class PropertyImpl<V>
extends Object
implements Property<V>


Constructor Summary
PropertyImpl(String propertyName, Class<V> propertyType)
           
 
Method Summary
 boolean equals(Object o)
           
 String getPropertyName()
          Returns the name of the property.
 Class<V> getPropertyType()
          Returns the type of the property value.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyImpl

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

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


Copyright © 2013 Atlassian. All Rights Reserved.