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 Constraint
public final String getAttributeName()
getAttributeName
in interface AttributeConstraint
public boolean isEmpty()
isEmpty
in interface Constraint
true
if the constraint is empty, i.e. removing the constraint would not change the query result.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500