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 Object


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

Constructor Detail

Property

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

getPropertyName

public String getPropertyName()

getPropertyType

public Class<V> getPropertyType()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

ofTypeString

public static Property<String> ofTypeString(String name)

ofTypeEnum

public static Property<Enum> ofTypeEnum(String name)

ofTypeBoolean

public static Property<Boolean> ofTypeBoolean(String name)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.