com.hp.hpl.jena.graph.query
Class Relation
java.lang.Object
com.hp.hpl.jena.graph.query.PredicateBase
com.hp.hpl.jena.graph.query.Relation
- All Implemented Interfaces:
- Predicate
- Direct Known Subclasses:
- Relation_EQ, Relation_NE
- public abstract class Relation
- extends PredicateBase
- implements Predicate
Fields inherited from interface com.hp.hpl.jena.graph.query.Predicate |
TRUE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hp.hpl.jena.graph.query.Predicate |
and |
Relation
public Relation(Valuator L,
Valuator R)
- make a Relation with the given left & right operands
valueL
public Node valueL(Domain d)
- evaluate the left operand against the domain _d_
valueR
public Node valueR(Domain d)
- evaluate the right operand against the domain _d_
evaluateBool
public abstract boolean evaluateBool(Domain d)
- see if the operands satisfy the relation
- Specified by:
evaluateBool
in interface Predicate
- Specified by:
evaluateBool
in class PredicateBase
evaluateEquals
public boolean evaluateEquals(Domain d)
- shared code for the equality relation
Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.