Class InRestriction
- java.lang.Object
-
- org.opennms.core.criteria.restrictions.BaseRestriction
-
- org.opennms.core.criteria.restrictions.AttributeRestriction
-
- org.opennms.core.criteria.restrictions.AttributeValueRestriction
-
- org.opennms.core.criteria.restrictions.InRestriction
-
- All Implemented Interfaces:
Restriction
public class InRestriction extends AttributeValueRestriction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.core.criteria.restrictions.Restriction
Restriction.RestrictionType
-
-
Field Summary
-
Fields inherited from class org.opennms.core.criteria.restrictions.AttributeValueRestriction
m_value
-
-
Constructor Summary
Constructors Constructor Description InRestriction(String attribute, Object[] collection)
InRestriction(String attribute, Collection<?> collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<?>
getValues()
String
toString()
void
visit(RestrictionVisitor visitor)
-
Methods inherited from class org.opennms.core.criteria.restrictions.AttributeValueRestriction
equals, getValue, hashCode
-
Methods inherited from class org.opennms.core.criteria.restrictions.AttributeRestriction
getAttribute, lower
-
Methods inherited from class org.opennms.core.criteria.restrictions.BaseRestriction
getType
-
-
-
-
Constructor Detail
-
InRestriction
public InRestriction(String attribute, Collection<?> collection)
-
-
Method Detail
-
getValues
public Collection<?> getValues()
-
visit
public void visit(RestrictionVisitor visitor)
-
toString
public String toString()
- Overrides:
toString
in classAttributeValueRestriction
-
-