public abstract class OWLOntologyChangeData extends Object implements Serializable
Represents an abstraction of the essential non-ontology data required by a particular kind of
OWLOntologyChange. There is a concrete subclass of this class for each concrete class of
OWLOntologyChange.
Instances of this class are immutable
OWLOntologyChange.getChangeData(),
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
OWLOntologyChangeData()
Default constructor for serialization purposes.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <R,E extends Exception> |
accept(OWLOntologyChangeDataVisitor<R,E> visitor)
Accepts a visit from an
OWLOntologyChangeDataVisitor |
abstract OWLOntologyChange |
createOntologyChange(OWLOntology ontology)
Creates an
OWLOntologyChange object that pertains to the specified ontology, which when applied
to the specified ontology enacts the change described by this info object. |
protected OWLOntologyChangeData()
public abstract <R,E extends Exception> R accept(OWLOntologyChangeDataVisitor<R,E> visitor) throws E extends Exception
OWLOntologyChangeDataVisitorR - The return type for visitor's visit methods.E - The exception type for exceptions thrown by the visitor's visit methods.visitor - The visitorE - The exception thrown by the visitor's visit methods.E extends Exceptionpublic abstract OWLOntologyChange createOntologyChange(OWLOntology ontology)
OWLOntologyChange object that pertains to the specified ontology, which when applied
to the specified ontology enacts the change described by this info object.ontology - The OWLOntology that the change should apply to. Not null.OWLOntologyChange object that applies to ontology and changes ontology is
a way that is consistent with this the information held in this OWLOntologyChangeData object.NullPointerException - if ontology is null.Copyright © 2013 The University of Manchester. All Rights Reserved.