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

java.lang.Object
  extended by gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Triple
      extended by gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Subsumption
          extended by gr.forth.ics.rdfsuite.swkm.model.impl.RDF_SubClass
All Implemented Interfaces:
IRDF_SubClass, IRDF_Subsumption, IRDF_Triple

public class RDF_SubClass
extends RDF_Subsumption
implements IRDF_SubClass


Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
RDF_SubClass(IRDF_Model model, boolean inferred)
           
RDF_SubClass(IRDF_Model model, IRDF_Class subject, IRDF_Class object, boolean inferred)
           
 
Method Summary
 IRDF_Class getObject()
          The object of the triple
 IRDF_Class 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_SubClass

public RDF_SubClass(IRDF_Model model,
                    boolean inferred)

RDF_SubClass

public RDF_SubClass(IRDF_Model model,
                    IRDF_Class subject,
                    IRDF_Class object,
                    boolean inferred)
Method Detail

getSubject

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

Specified by:
getSubject in interface IRDF_SubClass
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_SubClass
Specified by:
getObject in interface IRDF_Triple
Overrides:
getObject in class RDF_Triple
Returns:
An IRDF_Resource or IRDF_Literal object