com.atlassian.crowd.search.query.entity.restriction
Class TermRestriction<T>

java.lang.Object
  extended by com.atlassian.crowd.search.query.entity.restriction.TermRestriction<T>
All Implemented Interfaces:
PropertyRestriction<T>, SearchRestriction

public class TermRestriction<T>
extends java.lang.Object
implements PropertyRestriction<T>


Constructor Summary
TermRestriction(Property<T> property, MatchMode matchMode, T value)
           
TermRestriction(Property<T> property, T value)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 MatchMode getMatchMode()
           
 Property<T> getProperty()
           
 java.lang.String getPropertyName()
           
 java.lang.Class<T> getType()
           
 T getValue()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermRestriction

public TermRestriction(Property<T> property,
                       MatchMode matchMode,
                       T value)

TermRestriction

public TermRestriction(Property<T> property,
                       T value)
Method Detail

getValue

public T getValue()

getProperty

public Property<T> getProperty()
Specified by:
getProperty in interface PropertyRestriction<T>

getMatchMode

public MatchMode getMatchMode()

getPropertyName

public java.lang.String getPropertyName()
Specified by:
getPropertyName in interface PropertyRestriction<T>

getType

public java.lang.Class<T> getType()
Specified by:
getType in interface PropertyRestriction<T>

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.