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

java.lang.Object
  extended by com.atlassian.crowd.search.query.entity.restriction.Property<V>

public class Property<V>
extends java.lang.Object


Constructor Summary
Property(java.lang.String propertyName, java.lang.Class<V> propertyType)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getPropertyName()
           
 java.lang.Class<V> getPropertyType()
           
 int hashCode()
           
static Property<java.lang.Boolean> ofTypeBoolean(java.lang.String name)
           
static Property<java.lang.Enum> ofTypeEnum(java.lang.String name)
           
static Property<java.lang.String> ofTypeString(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

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

getPropertyName

public java.lang.String getPropertyName()

getPropertyType

public java.lang.Class<V> getPropertyType()

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

ofTypeString

public static Property<java.lang.String> ofTypeString(java.lang.String name)

ofTypeEnum

public static Property<java.lang.Enum> ofTypeEnum(java.lang.String name)

ofTypeBoolean

public static Property<java.lang.Boolean> ofTypeBoolean(java.lang.String name)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.