Class SqlRestriction
- java.lang.Object
-
- org.opennms.core.criteria.restrictions.BaseRestriction
-
- org.opennms.core.criteria.restrictions.AttributeRestriction
-
- org.opennms.core.criteria.restrictions.SqlRestriction
-
- All Implemented Interfaces:
Restriction
public class SqlRestriction extends AttributeRestriction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SqlRestriction.Type
-
Nested classes/interfaces inherited from interface org.opennms.core.criteria.restrictions.Restriction
Restriction.RestrictionType
-
-
Constructor Summary
Constructors Constructor Description SqlRestriction(String attribute)
SqlRestriction(String attribute, Object[] parameters, SqlRestriction.Type[] types)
SqlRestriction(String attribute, Object parameter, SqlRestriction.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getParameters()
SqlRestriction.Type[]
getTypes()
String
toString()
void
visit(RestrictionVisitor visitor)
-
Methods inherited from class org.opennms.core.criteria.restrictions.AttributeRestriction
equals, getAttribute, hashCode, lower
-
Methods inherited from class org.opennms.core.criteria.restrictions.BaseRestriction
getType
-
-
-
-
Constructor Detail
-
SqlRestriction
public SqlRestriction(String attribute)
-
SqlRestriction
public SqlRestriction(String attribute, Object parameter, SqlRestriction.Type type)
-
SqlRestriction
public SqlRestriction(String attribute, Object[] parameters, SqlRestriction.Type[] types)
-
-
Method Detail
-
visit
public void visit(RestrictionVisitor visitor)
-
toString
public String toString()
- Overrides:
toString
in classAttributeRestriction
-
getParameters
public Object[] getParameters()
-
getTypes
public SqlRestriction.Type[] getTypes()
-
-