Class AtomicOntologyChange
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.ontology.update.AtomicOntologyChange
-
public class AtomicOntologyChange extends Object
We need to document what is in source and destinationURI for each change type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAtomicOntologyChange.AtomicChangeType
-
Constructor Summary
Constructors Constructor Description AtomicOntologyChange()AtomicOntologyChange(String sourceURI, String destinationURI, AtomicOntologyChange.AtomicChangeType atomicChangeType, String notes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtomicOntologyChange.AtomicChangeTypegetAtomicChangeType()StringgetDestinationURI()Contains the URI of a class or property in the current version of the ontology, or null if a class or property was removed from the previous version of the ontology.StringgetNotes()StringgetSourceURI()Contains the URI of a class or property in the previous version of the ontology, or null if a new class or property was introduced in the current version of the ontology.voidsetAtomicChangeType(AtomicOntologyChange.AtomicChangeType atomicChangeType)voidsetDestinationURI(String destinationURI)voidsetNotes(String notes)voidsetSourceURI(String sourceURI)StringtoString()
-
-
-
Constructor Detail
-
AtomicOntologyChange
public AtomicOntologyChange()
-
AtomicOntologyChange
public AtomicOntologyChange(String sourceURI, String destinationURI, AtomicOntologyChange.AtomicChangeType atomicChangeType, String notes)
-
-
Method Detail
-
getSourceURI
public String getSourceURI()
Contains the URI of a class or property in the previous version of the ontology, or null if a new class or property was introduced in the current version of the ontology.
-
setSourceURI
public void setSourceURI(String sourceURI)
-
getDestinationURI
public String getDestinationURI()
Contains the URI of a class or property in the current version of the ontology, or null if a class or property was removed from the previous version of the ontology.
-
setDestinationURI
public void setDestinationURI(String destinationURI)
-
getAtomicChangeType
public AtomicOntologyChange.AtomicChangeType getAtomicChangeType()
-
setAtomicChangeType
public void setAtomicChangeType(AtomicOntologyChange.AtomicChangeType atomicChangeType)
-
getNotes
public String getNotes()
-
setNotes
public void setNotes(String notes)
-
-