gr.forth.ics.rdfsuite.swkm.model.impl
Class RDF_Domain

java.lang.Object
  extended by gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Triple
      extended by gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Domain
All Implemented Interfaces:
IRDF_Domain, IRDF_Triple

public class RDF_Domain
extends RDF_Triple
implements IRDF_Domain


Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
RDF_Domain(IRDF_Model model, boolean inferred)
           
RDF_Domain(IRDF_Model model, IRDF_Property subj, IRDF_Class obj, boolean inferred)
           
 
Method Summary
 IRDF_Class getObject()
          The object of the triple
 IRDF_Property getSubject()
          The subject of the triple
 
Methods inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Triple
addGraphspace, getGraphspace, getGraphspaces, getLog, getNamespace, getPredicate, 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, setSubject
 

Field Detail

log

protected static final org.apache.log4j.Logger log
Constructor Detail

RDF_Domain

public RDF_Domain(IRDF_Model model,
                  boolean inferred)

RDF_Domain

public RDF_Domain(IRDF_Model model,
                  IRDF_Property subj,
                  IRDF_Class obj,
                  boolean inferred)
Parameters:
subject -
object -
Method Detail

getSubject

public IRDF_Property getSubject()
Description copied from interface: IRDF_Triple
The subject of the triple

Specified by:
getSubject in interface IRDF_Domain
Specified by:
getSubject in interface IRDF_Triple
Overrides:
getSubject in class RDF_Triple
Returns:
An IRDF_Resource object

getObject

public IRDF_Class getObject()
Description copied from interface: IRDF_Triple
The object of the triple

Specified by:
getObject in interface IRDF_Domain
Specified by:
getObject in interface IRDF_Triple
Overrides:
getObject in class RDF_Triple
Returns:
An IRDF_Resource or IRDF_Literal object