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

Constructor Summary
OWLObjectRestrictionImpl(OWLDataFactoryImpl factory, OWLObjectProperty property)
           
 
Method Summary
 OWLObjectProperty getObjectProperty()
          Returns the OWLObjectProperty that the restriction applies to.
 OWLProperty getProperty()
          Returns the property involved in the restriction
 
Methods inherited from class org.semanticweb.owl.impl.model.OWLObjectImpl
accept, clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.OWLDescription
accept
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 

Constructor Detail

OWLObjectRestrictionImpl

public OWLObjectRestrictionImpl(OWLDataFactoryImpl factory,
                                OWLObjectProperty property)
Method Detail

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