Package org.incenp.obofoundry.sssom.owl
Enum Class OWLHelper.UpdateMode
- All Implemented Interfaces:
- Serializable,- Comparable<OWLHelper.UpdateMode>,- Constable
- Enclosing class:
- OWLHelper
Modes of operation for the
 
OWLHelper.updateMappingSet(MappingSet, OWLOntology, String, boolean, EnumSet)
 method.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionRemoves any mapping whose subject or object does not exist in the ontology.Removes any mapping whose subject or object is marked as obsolete.Only consider the object side of a mapping.Only consider the subject side of a mapping.Updates the object and subject labels from the labels of the corresponding entities in the ontology.If the subject (respectively the object) exists in the ontology, sets thesubject_source(respectively theobject_source) field to the ontology IRI.
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic OWLHelper.UpdateModeReturns the enum constant of this class with the specified name.static OWLHelper.UpdateMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
UPDATE_LABELUpdates the object and subject labels from the labels of the corresponding entities in the ontology.
- 
UPDATE_SOURCEIf the subject (respectively the object) exists in the ontology, sets thesubject_source(respectively theobject_source) field to the ontology IRI.
- 
DELETE_MISSINGRemoves any mapping whose subject or object does not exist in the ontology.
- 
DELETE_OBSOLETERemoves any mapping whose subject or object is marked as obsolete.
- 
ONLY_SUBJECTOnly consider the subject side of a mapping.
- 
ONLY_OBJECTOnly consider the object side of a mapping.
 
- 
- 
Field Details- 
ALL
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-