com.franz.ag
Interface ValueNode

All Superinterfaces:
java.lang.Comparable, java.io.Serializable, Value, ValueObject
All Known Subinterfaces:
BlankNode, DefaultGraph, EncodedLiteral, Literal, Node, ResourceNode

public interface ValueNode
extends Value, ValueObject

This is the superclass of all Value instances.


Method Summary
 int compareTo(ValueNodeImpl to)
           
 StatementIterator getObjectStatements()
          Gets all statements from the RDF graph for which this value is the object.
 UPI queryAGId()
          Return the unique identifier of the object.
 

Method Detail

queryAGId

UPI queryAGId()
Return the unique identifier of the object.

Returns:
A UPI instance. If the value is null, then the object has not been stored in the triple store and is simply a place holder for a label.

getObjectStatements

StatementIterator getObjectStatements()
                                      throws GraphException
Description copied from interface: Value
Gets all statements from the RDF graph for which this value is the object.

Specified by:
getObjectStatements in interface Value
Throws:
GraphException

compareTo

int compareTo(ValueNodeImpl to)
Specified by:
compareTo in interface java.lang.Comparable
Specified by:
compareTo in interface ValueObject