Class AttributeRestriction
- java.lang.Object
-
- org.opennms.core.criteria.restrictions.BaseRestriction
-
- org.opennms.core.criteria.restrictions.AttributeRestriction
-
- All Implemented Interfaces:
Restriction
- Direct Known Subclasses:
AttributeValueRestriction
,NotNullRestriction
,NullRestriction
,SqlRestriction
public abstract class AttributeRestriction extends BaseRestriction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.core.criteria.restrictions.Restriction
Restriction.RestrictionType
-
-
Constructor Summary
Constructors Constructor Description AttributeRestriction(Restriction.RestrictionType type, java.lang.String attribute)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAttribute()
int
hashCode()
protected static java.lang.String
lower(java.lang.String string)
java.lang.String
toString()
-
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
-
AttributeRestriction
public AttributeRestriction(Restriction.RestrictionType type, java.lang.String attribute)
-
-
Method Detail
-
getAttribute
public java.lang.String getAttribute()
-
lower
protected static java.lang.String lower(java.lang.String string)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseRestriction
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classBaseRestriction
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBaseRestriction
-
-