org.jrdf.query.expression
Class Constraint<V extends ExpressionVisitor>
java.lang.Object
org.jrdf.query.expression.Constraint<V>
- All Implemented Interfaces:
- Serializable, Expression<V>
public final class Constraint<V extends ExpressionVisitor>
- extends Object
- implements Expression<V>, Serializable
A expression expression comprising a single expression.
- Version:
- $Revision: 1079 $
- Author:
- Tom Adams
- See Also:
- Serialized Form
Constraint
public Constraint(List<AttributeValuePair> singleAvp)
getAvp
public List<AttributeValuePair> getAvp(Map<AttributeName,? extends NodeType> allVariables)
accept
public void accept(V v)
- Specified by:
accept
in interface Expression<V extends ExpressionVisitor>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Delegates to
getAvp().toString()
.
- Overrides:
toString
in class Object