|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.swkm.model.impl.RDF_Triple
public class RDF_Triple
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
log
|
| Constructor Summary | |
|---|---|
RDF_Triple(boolean inferred)
|
|
RDF_Triple(IRDF_Resource subj,
IRDF_Property predicate,
java.lang.Object obj,
boolean inferred)
|
|
| Method Summary | |
|---|---|
void |
addGraphspace(IRDF_Graphspace graphspace)
Correlates a graphspace to the triple |
IRDF_Graphspace |
getGraphspace(java.lang.String graphspace_uri)
Retrieves one of the graphspaces this triple is correlated with |
java.util.HashMap<java.lang.String,IRDF_Graphspace> |
getGraphspaces()
Retrieved the graphspaces this triple is correlated with |
org.apache.log4j.Logger |
getLog()
|
IRDF_Namespace |
getNamespace()
Retrieves the namespace this triples is defined in |
java.lang.Object |
getObject()
The object of the triple |
IRDF_Property |
getPredicate()
The predicte of the triple |
IRDF_Resource |
getSubject()
The subject of the triple |
boolean |
isInferredTriple()
|
void |
setGraphspaces(java.util.HashMap<java.lang.String,IRDF_Graphspace> graphspaces)
Sets the graphspaces this triple is correlated with |
void |
setInferredTriple(boolean inferred)
Sets whether this triple is infered and not present in the original file |
void |
setNamespace(IRDF_Namespace n)
Sets the namespace this triple is defined in |
void |
setObject(java.lang.Object object)
The object of the triple |
void |
setPredicate(IRDF_Property predicate)
Set the predicte of the triple |
void |
setSubject(IRDF_Resource subject)
The subject of the triple |
java.lang.String |
stringTo()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger log
| Constructor Detail |
|---|
public RDF_Triple(boolean inferred)
public RDF_Triple(IRDF_Resource subj,
IRDF_Property predicate,
java.lang.Object obj,
boolean inferred)
| Method Detail |
|---|
public void addGraphspace(IRDF_Graphspace graphspace)
IRDF_Triple
addGraphspace in interface IRDF_Triplegraphspace - An IRDF_Graphspace objectpublic IRDF_Graphspace getGraphspace(java.lang.String graphspace_uri)
IRDF_Triple
getGraphspace in interface IRDF_Triplegraphspace_uri - A String
public java.util.HashMap<java.lang.String,IRDF_Graphspace> getGraphspaces()
IRDF_Triple
getGraphspaces in interface IRDF_Triplepublic org.apache.log4j.Logger getLog()
public void setPredicate(IRDF_Property predicate)
IRDF_Triple
setPredicate in interface IRDF_Triplepublic IRDF_Property getPredicate()
IRDF_Triple
getPredicate in interface IRDF_Triplepublic java.lang.Object getObject()
IRDF_Triple
getObject in interface IRDF_Triplepublic IRDF_Resource getSubject()
IRDF_Triple
getSubject in interface IRDF_Triplepublic void setGraphspaces(java.util.HashMap<java.lang.String,IRDF_Graphspace> graphspaces)
IRDF_Triple
setGraphspaces in interface IRDF_Triplegraphspaces - A HashMappublic void setObject(java.lang.Object object)
IRDF_Triple
setObject in interface IRDF_Tripleobject - An IRDF_Resource or IRDF_Literal objectpublic void setSubject(IRDF_Resource subject)
IRDF_Triple
setSubject in interface IRDF_Triplesubject - An IRDF_Resource objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String stringTo()
public boolean isInferredTriple()
isInferredTriple in interface IRDF_Triplepublic void setInferredTriple(boolean inferred)
IRDF_Triple
setInferredTriple in interface IRDF_Tripleinferred - true if this triple is inferred and not present in the original file else falsepublic IRDF_Namespace getNamespace()
IRDF_Triple
getNamespace in interface IRDF_Triplepublic void setNamespace(IRDF_Namespace n)
IRDF_Triple
setNamespace in interface IRDF_Triple
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||