org.semanticweb.owlapi.model
Interface OWLDataPropertyExpression

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLObject, OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>, SWRLPredicate
All Known Subinterfaces:
OWLDataProperty
All Known Implementing Classes:
OWLDataPropertyImpl

public interface OWLDataPropertyExpression
extends OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>, SWRLPredicate

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group Date: 24-Oct-2006 A high level interface to describe different types of data properties.


Method Summary
 OWLDataProperty asOWLDataProperty()
          If the property is a named data property then this method will obtain the property as such.
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLPropertyExpression
accept, accept, getDisjointProperties, getDisjointProperties, getDomains, getDomains, getEquivalentProperties, getEquivalentProperties, getRanges, getRanges, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties, isAnonymous, isDataPropertyExpression, isFunctional, isFunctional, isObjectPropertyExpression, isOWLBottomDataProperty, isOWLBottomObjectProperty, isOWLTopDataProperty, isOWLTopObjectProperty
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

asOWLDataProperty

OWLDataProperty asOWLDataProperty()
If the property is a named data property then this method will obtain the property as such. The general pattern of use is that the isAnonymous method should first be used to determine if the property is named (i.e. not an object property expression such as inv(p)). If the property is named then this method may be used to obtain the property as a named property without casting.

Returns:
The property as an OWLDataProperty if possible.
Throws:
OWLRuntimeException - if the property is not a named property.