gr.forth.ics.rdfsuite.swkm.model.impl
Class RDF_Label
java.lang.Object
gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Triple
gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Label
- All Implemented Interfaces:
- IRDF_Label, IRDF_Triple
public class RDF_Label
- extends RDF_Triple
- implements IRDF_Label
|
Field Summary |
protected static org.apache.log4j.Logger |
log
|
| Methods inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Triple |
addGraphspace, getGraphspace, getGraphspaces, getLog, getNamespace, getPredicate, getSubject, isInferredTriple, setGraphspaces, setInferredTriple, setNamespace, setObject, setPredicate, setSubject, stringTo, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gr.forth.ics.rdfsuite.swkm.model.IRDF_Triple |
addGraphspace, getGraphspace, getGraphspaces, getNamespace, getPredicate, isInferredTriple, setGraphspaces, setInferredTriple, setNamespace, setObject, setPredicate |
log
protected static final org.apache.log4j.Logger log
RDF_Label
public RDF_Label(IRDF_Model model,
boolean inferred)
RDF_Label
public RDF_Label(IRDF_Model model,
IRDF_Resource subject,
IRDF_Literal object,
boolean inferred)
- Parameters:
subject - object -
setObject
public void setObject(IRDF_Literal object)
- Description copied from interface:
IRDF_Label
- Sets a label
- Specified by:
setObject in interface IRDF_Label
- Parameters:
object - An IRDF_Literal
getObject
public IRDF_Literal getObject()
- Description copied from interface:
IRDF_Triple
- The object of the triple
- Specified by:
getObject in interface IRDF_Label- Specified by:
getObject in interface IRDF_Triple- Overrides:
getObject in class RDF_Triple
- Returns:
- An IRDF_Resource or IRDF_Literal object