JTP API Documentation

jtp.classifier
Class Triple

java.lang.Object
  |
  +--jtp.classifier.Triple

public class Triple
extends Object

Main class


Nested Class Summary
static class Triple.TripleComparator
           
 
Field Summary
static Class _C_TRIPLE
           
 Resource _relation
           
 Resource _subject
           
 Resource _value
           
 
Constructor Summary
Triple(Resource o1, Resource o2, Resource o3)
           
 
Method Summary
static Triple CastToTriple(Object o)
           
static Set GetRelations(Set tripleset)
           
static Set GetSubjects(Set tripleset)
           
static Set GetValues(Set tripleset)
           
static boolean IsTriple(Object o)
           
 void set(Resource o1, Resource o2, Resource o3)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_C_TRIPLE

public static Class _C_TRIPLE

_subject

public Resource _subject

_relation

public Resource _relation

_value

public Resource _value
Constructor Detail

Triple

public Triple(Resource o1,
              Resource o2,
              Resource o3)
Method Detail

set

public void set(Resource o1,
                Resource o2,
                Resource o3)

toString

public String toString()
Overrides:
toString in class Object

CastToTriple

public static Triple CastToTriple(Object o)

IsTriple

public static boolean IsTriple(Object o)

GetSubjects

public static Set GetSubjects(Set tripleset)

GetRelations

public static Set GetRelations(Set tripleset)

GetValues

public static Set GetValues(Set tripleset)

JTP API Documentation