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

java.lang.Object
  extended by de.fau.cs.www8.jadeowlcodec.tool.CanonicalizedImmutable
      extended by de.fau.cs.www8.jadeowlcodec.triplestore.CanonicalizedTriple
All Implemented Interfaces:
Triple, java.lang.Comparable<CanonicalizedImmutable>

public class CanonicalizedTriple
extends CanonicalizedImmutable
implements Triple

Author:
Ulf Schreiber

Nested Class Summary
 
Nested classes/interfaces inherited from class de.fau.cs.www8.jadeowlcodec.tool.CanonicalizedImmutable
CanonicalizedImmutable.Identity
 
Constructor Summary
protected CanonicalizedTriple(SimpleTriple t, CanonicalizedImmutable.Identity id)
           
 
Method Summary
 Triple clone()
           
 int compareTo(Triple other)
           
 boolean equals(CanonicalizedTriple arg0)
           
 boolean equals(java.lang.Object arg0)
           
 AbsUriOrValue getIndex(int index)
           
 AbsUriOrValue getIndex(TripleOrdering.Position index)
           
 AbsUriOrValue getO()
           
 Uri getP()
           
 Uri getS()
           
 int hashCode()
           
static CanonicalizedTriple instance(Triple inTriple)
           
 AbsUriOrValue[] readSpo()
           
 java.lang.String toString()
           
 void writeDigTellABox(java.io.Writer w)
           
 
Methods inherited from class de.fau.cs.www8.jadeowlcodec.tool.CanonicalizedImmutable
compareTo, getCanonicalizedInstance
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CanonicalizedTriple

protected CanonicalizedTriple(SimpleTriple t,
                              CanonicalizedImmutable.Identity id)
Parameters:
id -
Method Detail

instance

public static CanonicalizedTriple instance(Triple inTriple)

clone

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

equals

public boolean equals(java.lang.Object arg0)
Specified by:
equals in interface Triple
Overrides:
equals in class CanonicalizedImmutable

equals

public boolean equals(CanonicalizedTriple arg0)

getO

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

getP

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

getS

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

hashCode

public int hashCode()
Specified by:
hashCode in interface Triple
Overrides:
hashCode in class CanonicalizedImmutable

toString

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

writeDigTellABox

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

compareTo

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

getIndex

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

getIndex

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

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