org.semanticweb.owl.model
Interface OWLProperty

All Superinterfaces:
Cloneable, OWLDeprecatableObject, OWLEntity, OWLNamedObject, OWLObject, OWLOntologyObject, Serializable
All Known Subinterfaces:
OWLDataProperty, OWLObjectProperty
All Known Implementing Classes:
OWLDataPropertyImpl, OWLObjectPropertyImpl, OWLPropertyImpl

public interface OWLProperty
extends OWLEntity, OWLDeprecatableObject

A Property in an OWL ontology.

Version:
$Id: OWLProperty.java,v 1.1.1.1 2003/10/14 17:10:09 sean_bechhofer Exp $

Method Summary
 Set getDomains(OWLOntology o)
          Return all domains (in the given ontology).
 Set getDomains(Set ontologies)
          Return all domains (in the given ontologies).
 Set getRanges(OWLOntology o)
          Return all ranges in the given ontology.
 Set getRanges(Set ontologies)
          Return all ranges in the given ontologies.
 Set getSuperProperties(OWLOntology o)
          Return any asserted superproperties in the given ontology.
 Set getSuperProperties(Set ontologies)
          Return any asserted superproperties in any of the given ontologies.
 boolean isFunctional(OWLOntology o)
          Returns true if the property is declared as being functional in the given ontology
 boolean isFunctional(Set ontologies)
          Returns true if the property is declared as being functional in any of the given ontologies
 
Methods inherited from interface org.semanticweb.owl.model.OWLEntity
accept
 
Methods inherited from interface org.semanticweb.owl.model.OWLNamedObject
getURI
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 
Methods inherited from interface org.semanticweb.owl.model.OWLOntologyObject
getOntologies
 
Methods inherited from interface org.semanticweb.owl.model.OWLDeprecatableObject
isDeprecated
 

Method Detail

getSuperProperties

public Set getSuperProperties(OWLOntology o)
                       throws OWLException
Return any asserted superproperties in the given ontology.

Parameters:
o - an OWLOntology value
Returns:
a Set value
OWLException

getSuperProperties

public Set getSuperProperties(Set ontologies)
                       throws OWLException
Return any asserted superproperties in any of the given ontologies.

Returns:
a Set value
OWLException

getDomains

public Set getDomains(OWLOntology o)
               throws OWLException
Return all domains (in the given ontology).

Parameters:
o - an OWLOntology value
Returns:
a Set value
OWLException

getDomains

public Set getDomains(Set ontologies)
               throws OWLException
Return all domains (in the given ontologies).

Returns:
a Set value
OWLException

getRanges

public Set getRanges(OWLOntology o)
              throws OWLException
Return all ranges in the given ontology.

Parameters:
o - an OWLOntology value
Returns:
a Set value
OWLException

getRanges

public Set getRanges(Set ontologies)
              throws OWLException
Return all ranges in the given ontologies.

Returns:
a Set value
OWLException

isFunctional

public boolean isFunctional(OWLOntology o)
                     throws OWLException
Returns true if the property is declared as being functional in the given ontology

Parameters:
o - an OWLOntology value
Returns:
a boolean value
OWLException

isFunctional

public boolean isFunctional(Set ontologies)
                     throws OWLException
Returns true if the property is declared as being functional in any of the given ontologies

Returns:
a boolean value
OWLException


WonderWeb