public abstract class AbstractConstraint extends AbstractExpression implements Constraint
Constructor and Description |
---|
AbstractConstraint(String name,
Object reference) |
Modifier and Type | Method and Description |
---|---|
void |
describeWith(ExpressionDescriber constraintDescriber)
Describes this expression with the given describer
|
boolean |
equals(Object other) |
String |
getName()
returns the name of this constraint
|
Reference |
getReference() |
int |
hashCode() |
String |
toString() |
and, or, xor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and, or, passes, xor
public String getName()
Constraint
getName
in interface Constraint
Constraint.getName()
public Reference getReference()
getReference
in interface Constraint
Constraint.getReference()
public void describeWith(ExpressionDescriber constraintDescriber) throws IOException
Expression
describeWith
in interface Expression
constraintDescriber
- The describer to useIOException
Constraint#describeTo(ExpressionDescriber)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object other)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2005-2013 Agical AB. All Rights Reserved.