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