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

java.lang.Object
  extended by gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource
      extended by gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Schema_Resource<IRDF_Class,IRDF_SubClass>
          extended by gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Class
              extended by gr.forth.ics.rdfsuite.swkm.model.impl.RDF_MetaClass
All Implemented Interfaces:
Identifiable, IRDF_Class, IRDF_MetaClass, IRDF_Resource, IRDF_Schema_Resource<IRDF_Class,IRDF_SubClass>, java.lang.Comparable

public class RDF_MetaClass
extends RDF_Class
implements IRDF_MetaClass


Field Summary
protected static org.apache.log4j.Logger log
           
static int METACLASS
           
static int METAPROPERTY
           
 
Fields inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Schema_Resource
direct_propagated_labels, indirect_propagated_labels, propLabelsToBeAdded, propLabelsToBeRemoved, tree_label
 
Fields inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource
column, comments, isDefinedBys, labels, line, local_name, namespace, seeAlsos, types, uri
 
Constructor Summary
RDF_MetaClass(java.lang.String uri, IRDF_Namespace namespace, int kind)
           
 
Method Summary
 int getKind()
          This method retrieves the integer which kind of MetaClass is this MetaClass
 boolean isMetaClass()
          This method opines whether this is a MetaClass of Classes
 boolean isMetaProperty()
          This method opines whether this is a MetaClass of Properties
 void setKind(int kind)
          This method sets the kind for this metaclass to be either a MetaClass of Classes or a MetaClass of Properties
 
Methods inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Class
getAllSubClassesTriples, getAllSuperClassesTriples, getAllTypes, getDomainOf, getDomainOfTriples, getInstances, getInstanceTriples, getRangeOf, getRangeOfTriples, getSubClassesTriples, getSubsumptionTriples, getSuperClassesTriples, isAncestorOf, isDescendantOf, isDomainOf, isRangeOf, isSubClassOf, isSuperClassOf
 
Methods inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Schema_Resource
addDirectPropagatedLabel, addDirectPropagatedLabels, addIndirectPropagatedLabel, addIndirectPropagatedLabels, compareTo, contains, getAncestors, getDescendants, getDirectAncestors, getDirectDescendants, getDirectPropagatedLabels, getHasUnstoredLabels, getIndirectPropagatedLabels, getTree_label, printLabels, setDirectPropagatedLabels, setHasUnstoredLabels, setIndirectPropagatedLabels, setTree_label, updateIndirectPropagatedLabel
 
Methods inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource
getColumn, getComments, getCommentsTriples, getIsDefinedBys, getIsDefinedBysTriples, getLabels, getLabelsTriples, getLine, getLocalName, getNamespace, getNamespacePart, getSeeAlsos, getSeeAlsosTriples, getTypes, getTypesTriples, getURI, hasTypeOf, setColumn, setLine, setLocalName, setNamespace, setURI, 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_Class
getAllSubClassesTriples, getAllSuperClassesTriples, getDomainOf, getDomainOfTriples, getInstances, getInstanceTriples, getRangeOf, getRangeOfTriples, getSubClassesTriples, getSuperClassesTriples, isAncestorOf, isDescendantOf, isDomainOf, isRangeOf, isSubClassOf, isSuperClassOf
 
Methods inherited from interface gr.forth.ics.rdfsuite.swkm.model.IRDF_Schema_Resource
addDirectPropagatedLabel, addDirectPropagatedLabels, addIndirectPropagatedLabel, addIndirectPropagatedLabels, contains, getAncestors, getDescendants, getDirectAncestors, getDirectDescendants, getDirectPropagatedLabels, getHasUnstoredLabels, getIndirectPropagatedLabels, getTree_label, setDirectPropagatedLabels, setHasUnstoredLabels, setIndirectPropagatedLabels, setTree_label, updateIndirectPropagatedLabel
 
Methods inherited from interface gr.forth.ics.rdfsuite.swkm.model.IRDF_Resource
getAllTypes, getColumn, getComments, getCommentsTriples, getIsDefinedBys, getIsDefinedBysTriples, getLabels, getLabelsTriples, getLine, getLocalName, getNamespace, getNamespacePart, getSeeAlsos, getSeeAlsosTriples, getTypes, getTypesTriples, getURI, hasTypeOf, setColumn, setLine, setLocalName, setNamespace, setURI, toString
 

Field Detail

METACLASS

public static int METACLASS

METAPROPERTY

public static int METAPROPERTY

log

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

RDF_MetaClass

public RDF_MetaClass(java.lang.String uri,
                     IRDF_Namespace namespace,
                     int kind)
Parameters:
uri -
namespace -
Method Detail

getKind

public int getKind()
Description copied from interface: IRDF_MetaClass
This method retrieves the integer which kind of MetaClass is this MetaClass

Specified by:
getKind in interface IRDF_MetaClass
Returns:
0 if it is a MetaClass of Classes or 1 if it is a MetaClass of Properties

isMetaClass

public boolean isMetaClass()
Description copied from interface: IRDF_MetaClass
This method opines whether this is a MetaClass of Classes

Specified by:
isMetaClass in interface IRDF_MetaClass
Returns:
true if this is a MetaClass of Classes

isMetaProperty

public boolean isMetaProperty()
Description copied from interface: IRDF_MetaClass
This method opines whether this is a MetaClass of Properties

Specified by:
isMetaProperty in interface IRDF_MetaClass
Returns:
true if this is a MetaClass of Properties

setKind

public void setKind(int kind)
Description copied from interface: IRDF_MetaClass
This method sets the kind for this metaclass to be either a MetaClass of Classes or a MetaClass of Properties

Specified by:
setKind in interface IRDF_MetaClass
Parameters:
kind - Takes value "0" to declare that is a MetaClass of Classes or "1" to declare that it is a MetaClass of Properties