org.semanticweb.owl.impl.model
Class OWLDataRestrictionImpl
java.lang.Object
|
+--org.semanticweb.owl.impl.model.OWLObjectImpl
|
+--org.semanticweb.owl.impl.model.OWLDataRestrictionImpl
- All Implemented Interfaces:
- Cloneable, OWLDataRestriction, OWLDescription, OWLObject, OWLRestriction, Serializable
- Direct Known Subclasses:
- OWLDataCardinalityRestrictionImpl, OWLDataQuantifiedRestrictionImpl, OWLDataValueRestrictionImpl
- public abstract class OWLDataRestrictionImpl
- extends OWLObjectImpl
- implements OWLDataRestriction
A Restriction that particularly applies to an OWLDataProperty.
- Version:
- $Id: OWLDataRestrictionImpl.java,v 1.1.1.1 2003/10/14 17:10:14 sean_bechhofer Exp $
- See Also:
- Serialized Form
OWLDataRestrictionImpl
public OWLDataRestrictionImpl(OWLDataFactoryImpl factory,
OWLDataProperty property)
getDataProperty
public OWLDataProperty getDataProperty()
- Returns the
OWLDataProperty that the
restriction applies to.
- Specified by:
getDataProperty in interface OWLDataRestriction
getProperty
public OWLProperty getProperty()
- Description copied from interface:
OWLRestriction
- Returns the property involved in the restriction
- Specified by:
getProperty in interface OWLRestriction
WonderWeb