public abstract class OWLOntologyChangeData
extends java.lang.Object
implements java.io.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 FormModifier | Constructor and Description |
---|---|
protected |
OWLOntologyChangeData()
Default constructor for serialization purposes.
|
Modifier and Type | Method and Description |
---|---|
abstract <R,E extends java.lang.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 java.lang.Exception> R accept(OWLOntologyChangeDataVisitor<R,E> visitor) throws E extends java.lang.Exception
OWLOntologyChangeDataVisitor
R
- 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 java.lang.Exception
public 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.java.lang.NullPointerException
- if ontology
is null
.