Class BaseRestriction
- java.lang.Object
-
- org.opennms.core.criteria.restrictions.BaseRestriction
-
- All Implemented Interfaces:
Restriction
- Direct Known Subclasses:
AttributeRestriction
,NotRestriction
,VarargsRestrictionRestriction
public abstract class BaseRestriction extends java.lang.Object implements Restriction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.core.criteria.restrictions.Restriction
Restriction.RestrictionType
-
-
Constructor Summary
Constructors Constructor Description BaseRestriction(Restriction.RestrictionType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Restriction.RestrictionType
getType()
int
hashCode()
java.lang.String
toString()
-
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
-
BaseRestriction
public BaseRestriction(Restriction.RestrictionType type)
-
-
Method Detail
-
getType
public Restriction.RestrictionType getType()
- Specified by:
getType
in interfaceRestriction
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-