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 java.lang.Object
implements Property<V>


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

Constructor Detail

PropertyImpl

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

getPropertyName

public java.lang.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 java.lang.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(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010 Atlassian. All Rights Reserved.