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, String attribute)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAttribute()
int
hashCode()
protected static String
lower(String string)
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, String attribute)
-
-
Method Detail
-
getAttribute
public String getAttribute()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseRestriction
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classBaseRestriction
-
toString
public String toString()
- Overrides:
toString
in classBaseRestriction
-
-