org.vrspace.neurogrid
Class UriTriple

java.lang.Object
  extended byorg.vrspace.neurogrid.NGObject
      extended byorg.vrspace.neurogrid.UriTriple

public class UriTriple
extends NGObject

Triplet containing subject (Keyword), predicate and object (Uri).


Field Summary
 Keyword keyword
           
 Predicate predicate
           
 Uri uri
           
 
Fields inherited from class org.vrspace.neurogrid.NGObject
db, db_id
 
Constructor Summary
UriTriple()
           
UriTriple(Uri uri, Predicate predicate, Keyword keyword)
           
 
Method Summary
 NGObject next()
          Returns next element.
 java.lang.String toString()
          Returns string containing id and name of this record
 
Methods inherited from class org.vrspace.neurogrid.NGObject
deleteStatement, fieldIterator, fieldIterator, fromText, getID, getTable, init, insertStatement, nullify, stringify, stringify, toText, updateStatement, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uri

public Uri uri

predicate

public Predicate predicate

keyword

public Keyword keyword
Constructor Detail

UriTriple

public UriTriple()

UriTriple

public UriTriple(Uri uri,
                 Predicate predicate,
                 Keyword keyword)
Method Detail

next

public NGObject next()
Returns next element. Hack intended for TreeSet.subSet( Object, Object ) usage. We use uri as

Specified by:
next in class NGObject

toString

public java.lang.String toString()
Description copied from class: NGObject
Returns string containing id and name of this record

Overrides:
toString in class NGObject