com.franz.ag
Class ValueNode

java.lang.Object
  extended bycom.franz.ag.ValueObject
      extended bycom.franz.ag.ValueNode
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable, Value
Direct Known Subclasses:
Literal, ResourceNode

public class ValueNode
extends ValueObject
implements Value

This is the superclass of all Value instances.

See Also:
Serialized Form

Method Summary
 int compareTo(ValueNode 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.
 
Methods inherited from class com.franz.ag.ValueObject
compareTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

queryAGId

public 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

public 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

public int compareTo(ValueNode to)