gr.forth.ics.rdfsuite.swkm.model
Interface IRDF_Property

All Superinterfaces:
Identifiable, IRDF_Resource, IRDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>
All Known Implementing Classes:
RDF_Property

public interface IRDF_Property
extends IRDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>

A Class in the schema


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_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
 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 property)
          Tells whether this property is an indirect superproperty of property "property"
 boolean isDescendantOf(IRDF_Property property)
          Tells whether this property is an indirect subproperty of property "property"
 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 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
 

Method Detail

getSuperPropertiesTriples

java.util.Collection<IRDF_SubProperty> getSuperPropertiesTriples()
This method retrieves all the direct superproperty triples of this Property

Returns:
A Colletion object. In each such object this property is the subject

getAllSuperPropertiesTriples

java.util.Collection<IRDF_SubProperty> getAllSuperPropertiesTriples()
This method retrieves recursively all the superproperty triples of this Property

Returns:
A Collection object. In each such object this property is the subject

getSubPropertiesTriples

java.util.Collection<IRDF_SubProperty> getSubPropertiesTriples()
This method retrieves all the direct subproperty triples of this Property

Returns:
A Collection object. In each such object this property is the object

getAllSubPropertiesTriples

java.util.Collection<IRDF_SubProperty> getAllSubPropertiesTriples()
This method retrieves all the subproperty triples of this Property recursively

Returns:
A Collection. The subproperties of this property are the subjects of these objects

getDomainsTriples

java.util.Collection<IRDF_Domain> getDomainsTriples()
This method retrieves all the domain triples with this Property as subject

Returns:
A Collection object

getRangesTriples

java.util.Collection<IRDF_Range> getRangesTriples()
This method retrieves all the range triples with this Property as subject

Returns:
A Collection object

getDomains

java.util.Collection<IRDF_Class> getDomains()
This method retrieves all the domain classes of this Property

Returns:
A Collection object

getRanges

java.util.Collection<IRDF_Class> getRanges()
This method retrieves all the range classes of this Property

Returns:
A Collection object

isSubPropertyOf

boolean isSubPropertyOf(IRDF_Model model,
                        java.lang.String property_uri)
Tells whether this property is a subproperty of property with uri property_uri

Parameters:
property_uri - A String
Returns:
true if this property is a subproperty of property with uri property_uri

isDescendantOf

boolean isDescendantOf(IRDF_Property property)
                       throws gr.forth.ics.rdfsuite.services.exceptions.LabelCreationException
Tells whether this property is an indirect subproperty of property "property"

Specified by:
isDescendantOf in interface IRDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>
Parameters:
property - An IRDF_Property
Returns:
true if this property is a subproperty of property with uri property_uri
Throws:
gr.forth.ics.rdfsuite.services.exceptions.LabelCreationException

isSuperPropertyOf

boolean isSuperPropertyOf(IRDF_Model model,
                          java.lang.String property_uri)
Tells whether this property is a superproperty of property with uri property_uri

Parameters:
property_uri - A String
Returns:
true if this property is a superproperty of property with uri property_uri

isAncestorOf

boolean isAncestorOf(IRDF_Property property)
                     throws gr.forth.ics.rdfsuite.services.exceptions.LabelCreationException
Tells whether this property is an indirect superproperty of property "property"

Specified by:
isAncestorOf in interface IRDF_Schema_Resource<IRDF_Property,IRDF_SubProperty>
Parameters:
property - An IRDF_Property
Returns:
true if this property is a superproperty of property with uri property_uri
Throws:
gr.forth.ics.rdfsuite.services.exceptions.LabelCreationException

hasDomain

boolean hasDomain(java.lang.String a_class_uri)
Tells whether this property has a domain class with uri property_uri

Parameters:
a_class_uri - A String
Returns:
true if this property has a domain class with uri property_uri

hasRange

boolean hasRange(java.lang.String a_class_uri)
Tells whether this property has a range class with uri class_uri

Parameters:
class_uri - A String
Returns:
true if this property has a range class with uri class_uri