org.semanticweb.owl.model.change
Class AddObjectPropertyRange

java.lang.Object
  |
  +--org.semanticweb.owl.model.change.OntologyChange
        |
        +--org.semanticweb.owl.model.change.AddObjectPropertyRange

public class AddObjectPropertyRange
extends OntologyChange

Add a range constraint to an object property. Created: Fri Feb 07 17:23:16 2003

Version:
$Id: AddObjectPropertyRange.java,v 1.1.1.1 2003/10/14 17:10:09 sean_bechhofer Exp $

Field Summary
 
Fields inherited from class org.semanticweb.owl.model.change.OntologyChange
cause, ontology
 
Constructor Summary
AddObjectPropertyRange(OWLOntology ontology, OWLObjectProperty property, OWLDescription range, OntologyChange cause)
           
 
Method Summary
 void accept(ChangeVisitor visitor)
          Accept a visit from a change visitor.
 OWLObjectProperty getProperty()
          The property.
 OWLDescription getRange()
          The range.
 
Methods inherited from class org.semanticweb.owl.model.change.OntologyChange
getCause, getOntology, setCause, setOntology
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddObjectPropertyRange

public AddObjectPropertyRange(OWLOntology ontology,
                              OWLObjectProperty property,
                              OWLDescription range,
                              OntologyChange cause)
Parameters:
ontology - an OWLOntology value
cause - a OntologyChange value
Method Detail

getProperty

public OWLObjectProperty getProperty()
The property.

Returns:
an OWLEntity value

getRange

public OWLDescription getRange()
The range.

Returns:
an OWLDescription value

accept

public void accept(ChangeVisitor visitor)
            throws OWLException
Description copied from class: OntologyChange
Accept a visit from a change visitor.

Specified by:
accept in class OntologyChange
Parameters:
visitor - a ChangeVisitor value
OWLException


WonderWeb