public final class SetOntologyIDData extends OWLOntologyChangeData
SetOntologyID
change. Constructor and Description |
---|
SetOntologyIDData(OWLOntologyID newId)
Constructs a
SetOntologyIDData object that describes an
SetOntologyID change for the OWLOntologyID object
specified by the newId parameter. |
Modifier and Type | Method and Description |
---|---|
<O,E extends Exception> |
accept(OWLOntologyChangeDataVisitor<O,E> visitor)
Accepts a visit from an
OWLOntologyChangeDataVisitor . |
SetOntologyID |
createOntologyChange(OWLOntology ontology)
Creates the
SetOntologyID change
that describes setting an
OWLOntologyID for an
OWLOntology specified by the ontology parameter. |
boolean |
equals(Object obj) |
OWLOntologyID |
getNewId()
Gets the
OWLOntologyID that is associated with some
SetOntologyID change. |
Set<OWLEntity> |
getSignature()
Gets the (possibly empty) signature of this change data.
|
int |
hashCode() |
String |
toString() |
public SetOntologyIDData(OWLOntologyID newId)
SetOntologyIDData
object that describes an
SetOntologyID
change for the OWLOntologyID
object
specified by the newId
parameter.newId
- The OWLOntologyID
that is the focus of some change. Not
null
.NullPointerException
- if ontologyId
is null
.public OWLOntologyID getNewId()
OWLOntologyID
that is associated with some
SetOntologyID
change.OWLOntologyID
. Not null
.public SetOntologyID createOntologyChange(OWLOntology ontology)
SetOntologyID
change
that describes setting an
OWLOntologyID
for an
OWLOntology
specified by the ontology
parameter.createOntologyChange
in class OWLOntologyChangeData
ontology
- The OWLOntology
that the change should apply to. Not
null
.SetOntologyID
change for
the OWLOntology
specified by ontology
and the
OWLOntologyID
associated
with this SetOntologyIDData
object.NullPointerException
- if ontology
is null
.public Set<OWLEntity> getSignature()
OWLOntologyChangeData
getSignature
in interface HasSignature
getSignature
in class OWLOntologyChangeData
OWLEntity
objects that represent the signature
of this change data. Not null
.public <O,E extends Exception> O accept(OWLOntologyChangeDataVisitor<O,E> visitor) throws E extends Exception
OWLOntologyChangeData
OWLOntologyChangeDataVisitor
.accept
in class OWLOntologyChangeData
O
- 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 Exception
Copyright © 2017 The University of Manchester. All Rights Reserved.