|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource
gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>
gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Property
public class RDF_Property
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
log
|
| 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_Property(java.lang.String uri,
IRDF_Namespace namespace)
|
|
| Method Summary | |
|---|---|
java.util.Collection<IRDF_SubProperty> |
getAllSubPropertiesTriples()
This method retrieves all the subproperty triples of this Property recursively |
java.util.Collection<IRDF_SubProperty> |
getAllSuperPropertiesTriples()
This method retrieves recursively all the superproperty triples of this Property |
java.util.Collection<IRDF_Resource> |
getAllTypes(IRDF_Model model)
This dummy method is overriden by methods in subclasses(RDF_Class,RDF_Property e.t.c) Parameter RDF_Model is needed in order for the types to be retrieved from the model |
java.util.Collection<IRDF_Property> |
getDirectAncestors()
|
java.util.Collection<IRDF_Property> |
getDirectDescendants()
|
java.util.Collection<IRDF_Class> |
getDomains()
This method retrieves all the domain classes of this Property |
java.util.Collection<IRDF_Domain> |
getDomainsTriples()
This method retrieves all the domain triples with this Property as subject |
java.util.Collection<IRDF_Class> |
getRanges()
This method retrieves all the range classes of this Property |
java.util.Collection<IRDF_Range> |
getRangesTriples()
This method retrieves all the range triples with this Property as subject |
java.util.Collection<IRDF_SubProperty> |
getSubPropertiesTriples()
This method retrieves all the direct subproperty triples of this Property |
protected java.util.Collection<? extends IRDF_SubProperty> |
getSubsumptionTriples(boolean upward)
|
java.util.Collection<IRDF_SubProperty> |
getSuperPropertiesTriples()
This method retrieves all the direct superproperty triples of this Property |
boolean |
hasDomain(java.lang.String a_class_uri)
Tells whether this property has a domain class with uri property_uri |
boolean |
hasRange(java.lang.String a_class_uri)
Tells whether this property has a range class with uri class_uri |
boolean |
isAncestorOf(IRDF_Property rdf_property)
a is subPropertyOf b if a's treeLabel is contained in any of b's labels |
boolean |
isDescendantOf(IRDF_Property rdf_property)
a is subPropertyOf b if a's treeLabel is contained in any of b's labels |
boolean |
isSubPropertyOf(IRDF_Model model,
java.lang.String property_uri)
Tells whether this property is a subproperty of property with uri property_uri |
boolean |
isSuperPropertyOf(IRDF_Model model,
java.lang.String property_uri)
Tells whether this property is a superproperty of property with uri property_uri |
| Methods inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Schema_Resource |
|---|
addDirectPropagatedLabel, addDirectPropagatedLabels, addIndirectPropagatedLabel, addIndirectPropagatedLabels, compareTo, contains, getAncestors, getDescendants, 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_Schema_Resource |
|---|
addDirectPropagatedLabel, addDirectPropagatedLabels, addIndirectPropagatedLabel, addIndirectPropagatedLabels, contains, getAncestors, getDescendants, getDirectPropagatedLabels, getHasUnstoredLabels, getIndirectPropagatedLabels, getTree_label, setDirectPropagatedLabels, setHasUnstoredLabels, setIndirectPropagatedLabels, setTree_label, updateIndirectPropagatedLabel |
| Methods inherited from interface gr.forth.ics.rdfsuite.swkm.model.IRDF_Resource |
|---|
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 |
|---|
protected static final org.apache.log4j.Logger log
| Constructor Detail |
|---|
public RDF_Property(java.lang.String uri,
IRDF_Namespace namespace)
uri - namespace - | Method Detail |
|---|
public java.util.Collection<IRDF_SubProperty> getAllSubPropertiesTriples()
IRDF_Property
getAllSubPropertiesTriples in interface IRDF_Propertypublic java.util.Collection<IRDF_SubProperty> getAllSuperPropertiesTriples()
IRDF_Property
getAllSuperPropertiesTriples in interface IRDF_Propertypublic java.util.Collection<IRDF_Class> getDomains()
IRDF_Property
getDomains in interface IRDF_Propertypublic java.util.Collection<IRDF_Domain> getDomainsTriples()
IRDF_Property
getDomainsTriples in interface IRDF_Propertypublic java.util.Collection<IRDF_Class> getRanges()
IRDF_Property
getRanges in interface IRDF_Propertypublic java.util.Collection<IRDF_Range> getRangesTriples()
IRDF_Property
getRangesTriples in interface IRDF_Propertypublic java.util.Collection<IRDF_Property> getDirectDescendants()
getDirectDescendants in interface IRDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>getDirectDescendants in class RDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>public java.util.Collection<IRDF_SubProperty> getSubPropertiesTriples()
IRDF_Property
getSubPropertiesTriples in interface IRDF_Propertypublic java.util.Collection<IRDF_Property> getDirectAncestors()
getDirectAncestors in interface IRDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>getDirectAncestors in class RDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>public java.util.Collection<IRDF_SubProperty> getSuperPropertiesTriples()
IRDF_Property
getSuperPropertiesTriples in interface IRDF_Propertypublic boolean hasDomain(java.lang.String a_class_uri)
IRDF_Property
hasDomain in interface IRDF_Propertya_class_uri - A String
public boolean hasRange(java.lang.String a_class_uri)
IRDF_Property
hasRange in interface IRDF_Property
public boolean isSuperPropertyOf(IRDF_Model model,
java.lang.String property_uri)
IRDF_Property
isSuperPropertyOf in interface IRDF_Propertyproperty_uri - A String
public boolean isSubPropertyOf(IRDF_Model model,
java.lang.String property_uri)
IRDF_Property
isSubPropertyOf in interface IRDF_Propertyproperty_uri - A String
public boolean isAncestorOf(IRDF_Property rdf_property)
throws gr.forth.ics.rdfsuite.services.exceptions.LabelCreationException
isAncestorOf in interface IRDF_PropertyisAncestorOf in interface IRDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>rdf_property - An IRDF_Property
gr.forth.ics.rdfsuite.services.exceptions.LabelCreationException - if the labels are not yet created
public boolean isDescendantOf(IRDF_Property rdf_property)
throws gr.forth.ics.rdfsuite.services.exceptions.LabelCreationException
isDescendantOf in interface IRDF_PropertyisDescendantOf in interface IRDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>rdf_property - An IRDF_Property
gr.forth.ics.rdfsuite.services.exceptions.LabelCreationExceptionpublic java.util.Collection<IRDF_Resource> getAllTypes(IRDF_Model model)
RDF_Resource
getAllTypes in interface IRDF_ResourcegetAllTypes in class RDF_Resourceprotected java.util.Collection<? extends IRDF_SubProperty> getSubsumptionTriples(boolean upward)
getSubsumptionTriples in class RDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||