Class AttributeValueRestriction
- java.lang.Object
-
- org.opennms.core.criteria.restrictions.BaseRestriction
-
- org.opennms.core.criteria.restrictions.AttributeRestriction
-
- org.opennms.core.criteria.restrictions.AttributeValueRestriction
-
- All Implemented Interfaces:
Restriction
- Direct Known Subclasses:
BetweenRestriction
,EqPropertyRestriction
,EqRestriction
,GeRestriction
,GtRestriction
,IlikeRestriction
,InRestriction
,IplikeRestriction
,LeRestriction
,LikeRestriction
,LtRestriction
,NeRestriction
public abstract class AttributeValueRestriction extends AttributeRestriction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.core.criteria.restrictions.Restriction
Restriction.RestrictionType
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
m_value
-
Constructor Summary
Constructors Constructor Description AttributeValueRestriction(Restriction.RestrictionType type, java.lang.String attribute, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Object
getValue()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class org.opennms.core.criteria.restrictions.AttributeRestriction
getAttribute, lower
-
Methods inherited from class org.opennms.core.criteria.restrictions.BaseRestriction
getType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opennms.core.criteria.restrictions.Restriction
visit
-
-
-
-
Constructor Detail
-
AttributeValueRestriction
public AttributeValueRestriction(Restriction.RestrictionType type, java.lang.String attribute, java.lang.Object value)
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAttributeRestriction
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classAttributeRestriction
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAttributeRestriction
-
-