org.jrdf.graph.mem
Class TripleImpl

java.lang.Object
  extended by org.jrdf.graph.AbstractTriple
      extended by org.jrdf.graph.mem.TripleImpl
All Implemented Interfaces:
Serializable, Triple

public class TripleImpl
extends AbstractTriple

A trivial implementation of an RDF Triple.

Version:
$Revision: 1045 $
Author:
Paul Gearon
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jrdf.graph.AbstractTriple
objectNode, predicateNode, subjectNode
 
Constructor Summary
TripleImpl(SubjectNode subject, PredicateNode predicate, ObjectNode object)
          Constructor for this Triple, only to be used by the NodeFactory.
 
Method Summary
 
Methods inherited from class org.jrdf.graph.AbstractTriple
equals, getObject, getPredicate, getSubject, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TripleImpl

public TripleImpl(SubjectNode subject,
                  PredicateNode predicate,
                  ObjectNode object)
Constructor for this Triple, only to be used by the NodeFactory.

Parameters:
subject - The subject node of this triple.
predicate - The predicate node of this triple.
object - The object node of this triple.