de.fau.cs.www8.jadeowlcodec.triplestore
Class AbsTriple

java.lang.Object
  extended by de.fau.cs.www8.jadeowlcodec.triplestore.AbsTriple
All Implemented Interfaces:
Triple
Direct Known Subclasses:
SimpleTriple

public abstract class AbsTriple
extends java.lang.Object
implements Triple


Constructor Summary
AbsTriple()
           
 
Method Summary
protected static void check(AbsUriOrValue s, AbsUriOrValue p, AbsUriOrValue o)
           
 SimpleTriple clone()
           
 int compareTo(CanonicalizedTriple other)
           
 int compareTo(SimpleTriple other)
           
 int compareTo(Triple other)
           
 boolean equals(SimpleTriple other)
           
 boolean equals(Triple other)
           
 AbsUriOrValue getIndex(int index)
           
 AbsUriOrValue getIndex(TripleOrdering.Position index)
           
 AbsUriOrValue getO()
           
 Uri getP()
           
 Uri getS()
           
 AbsUriOrValue[] readSpo()
           
 java.lang.String toString()
           
 void writeDigTellABox(java.io.Writer w)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.fau.cs.www8.jadeowlcodec.triplestore.Triple
equals, hashCode
 

Constructor Detail

AbsTriple

public AbsTriple()
Method Detail

check

protected static void check(AbsUriOrValue s,
                            AbsUriOrValue p,
                            AbsUriOrValue o)

getS

public Uri getS()
Specified by:
getS in interface Triple

getP

public Uri getP()
Specified by:
getP in interface Triple

getO

public AbsUriOrValue getO()
Specified by:
getO in interface Triple

writeDigTellABox

public void writeDigTellABox(java.io.Writer w)
                      throws java.io.IOException
Specified by:
writeDigTellABox in interface Triple
Throws:
java.io.IOException

equals

public boolean equals(Triple other)

equals

public boolean equals(SimpleTriple other)

clone

public SimpleTriple clone()
Specified by:
clone in interface Triple
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(CanonicalizedTriple other)

compareTo

public int compareTo(SimpleTriple other)

compareTo

public int compareTo(Triple other)
Specified by:
compareTo in interface Triple

getIndex

public AbsUriOrValue getIndex(int index)
Specified by:
getIndex in interface Triple

getIndex

public AbsUriOrValue getIndex(TripleOrdering.Position index)
Specified by:
getIndex in interface Triple

toString

public java.lang.String toString()
Specified by:
toString in interface Triple
Overrides:
toString in class java.lang.Object

readSpo

public AbsUriOrValue[] readSpo()
Specified by:
readSpo in interface Triple


Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg