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

Constructor Summary
OWLDataRestrictionImpl(OWLDataFactoryImpl factory, OWLDataProperty property)
           
 
Method Summary
 OWLDataProperty getDataProperty()
          Returns the OWLDataProperty 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

OWLDataRestrictionImpl

public OWLDataRestrictionImpl(OWLDataFactoryImpl factory,
                              OWLDataProperty property)
Method Detail

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