|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.forth.ics.vrp.corevrp.model.Triple
Represents an RDF triple/statement
Constructor Summary | |
Triple(String pred,
String sub,
Literal obj)
|
|
Triple(String pred,
String sub,
String obj)
|
Method Summary | |
boolean |
getIsObjectResource()
Returns the type of the object. |
Object |
getObject()
Returns the object of the triple |
String |
getPredicate()
Returns the predicate of the triple |
String |
getSubject()
Returns the subject of the triple |
void |
setIsObjectResource(boolean isRes)
Sets the type of the object. |
void |
setObject(Literal object)
Sets the object of the triple, when object is literal |
void |
setObject(String object)
Sets the object of the triple, when object is resource |
void |
setPredicate(String predicate)
Sets the predicate of the triple |
void |
setSubject(String subject)
Sets the subject of the triple |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Triple(String pred, String sub, String obj)
public Triple(String pred, String sub, Literal obj)
Method Detail |
public String getPredicate()
public void setPredicate(String predicate)
public String getSubject()
public void setSubject(String subject)
public Object getObject()
public void setObject(String object)
public void setObject(Literal object)
public boolean getIsObjectResource()
public void setIsObjectResource(boolean isRes)
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |