public abstract class AbstractConstraint extends Object implements AttributeConstraint
Constraint which define an attribute based filter.Constraint.Type| Constructor and Description |
|---|
AbstractConstraint() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeName()
Return the name of the attribute this constraint belongs to.
|
abstract Constraint.Type |
getType()
Return the
type of this constraint. |
boolean |
isEmpty()
Check if this is an empty constraint.
|
public abstract Constraint.Type getType()
type of this constraint.getType in interface Constraintpublic final String getAttributeName()
getAttributeName in interface AttributeConstraintpublic boolean isEmpty()
isEmpty in interface Constrainttrue if the constraint is empty, i.e. removing the constraint would not change the query result.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408