Package org.semanticweb.owlapi.change
Class OWLOntologyChangeData
java.lang.Object
org.semanticweb.owlapi.change.OWLOntologyChangeData
- All Implemented Interfaces:
Serializable
,HasSignature
- Direct Known Subclasses:
AxiomChangeData
,ImportChangeData
,OntologyAnnotationChangeData
,SetOntologyIDData
Represents an abstraction of the essential non-ontology data required by a
particular kind of
Instances of this class are immutable.
OWLOntologyChange
. There is a concrete subclass of
this class for each concrete class of OWLOntologyChange
. Instances of this class are immutable.
- Since:
- 3.3
- Author:
- Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionabstract <R> R
accept
(OWLOntologyChangeDataVisitor<R> visitor) Accepts a visit from anOWLOntologyChangeDataVisitor
.abstract OWLOntologyChange
createOntologyChange
(OWLOntology ontology) Creates anOWLOntologyChange
object that pertains to the specifiedontology
, which when applied to the specified ontology enacts the change described by this info object.boolean
abstract Object
getItem()
int
hashCode()
toString()
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, signature, unsortedSignature
-
Method Details
-
accept
Accepts a visit from anOWLOntologyChangeDataVisitor
.- Type Parameters:
R
- The return type for visitor's visit methods.- Parameters:
visitor
- The visitor- Returns:
- The object returned by the visitor's visit methods.
-
createOntologyChange
Creates anOWLOntologyChange
object that pertains to the specifiedontology
, which when applied to the specified ontology enacts the change described by this info object.- Parameters:
ontology
- TheOWLOntology
that the change should apply to.- Returns:
- An
OWLOntologyChange
object that applies toontology
and changesontology
in a way that is consistent with this the information held in thisOWLOntologyChangeData
object.
-
toString
-
getItem
- Returns:
- the object this change is adding or removing
-
hashCode
public int hashCode() -
equals
-