Class OWLOntologyChangeRecord

java.lang.Object
org.semanticweb.owlapi.change.OWLOntologyChangeRecord
All Implemented Interfaces:
Serializable

public class OWLOntologyChangeRecord extends Object implements Serializable
Associates an OWLOntologyID with ontology-less change data.
An OWLOntologyChangeRecord captures information about an OWLOntologyChange in a way that does not require a reference to an OWLOntology object. It does this by referencing an OWLOntologyID instead of referencing an OWLOntology. The primary reason for doing this is so that changes can be serialized and logged more easily. It should be kept in mind that OWLOntologyChangeRecord objects can represent changes for which there might be no in memory representation of a specific OWLOntology. This is also true if an OWLOntology object has its OWLOntologyID changed.
An OWLOntologyChange object contains two important pieces of information:
  1. The OWLOntologyID that identifies the ontology that the change pertains to.
  2. The OWLOntologyChangeData that describes the change specific data. For each kind of OWLOntologyChange there is a corresponding OWLOntologyChangeData class which captures the essential details that pertain to the change. The reason for this separation is that it allows change information to be captured where the context of the change (the ontology) is known via some other mechanism.
OWLOntologyChangeRecord objects are immutable.
Since:
3.3
Author:
Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group
See Also: