Class VarargsRestrictionRestriction
- java.lang.Object
-
- org.opennms.core.criteria.restrictions.BaseRestriction
-
- org.opennms.core.criteria.restrictions.VarargsRestrictionRestriction
-
- All Implemented Interfaces:
Restriction
- Direct Known Subclasses:
AllRestriction
,AnyRestriction
public abstract class VarargsRestrictionRestriction extends BaseRestriction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.core.criteria.restrictions.Restriction
Restriction.RestrictionType
-
-
Constructor Summary
Constructors Constructor Description VarargsRestrictionRestriction(Restriction.RestrictionType type, Restriction... restrictions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Collection<Restriction>
getRestrictions()
int
hashCode()
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
-
VarargsRestrictionRestriction
public VarargsRestrictionRestriction(Restriction.RestrictionType type, Restriction... restrictions)
-
-
Method Detail
-
getRestrictions
public java.util.Collection<Restriction> getRestrictions()
-
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
-
-