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 Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic OWLHelper.UpdateMode
Returns 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_LABEL
Updates the object and subject labels from the labels of the corresponding entities in the ontology. -
UPDATE_SOURCE
If the subject (respectively the object) exists in the ontology, sets thesubject_source
(respectively theobject_source
) field to the ontology IRI. -
DELETE_MISSING
Removes any mapping whose subject or object does not exist in the ontology. -
DELETE_OBSOLETE
Removes any mapping whose subject or object is marked as obsolete. -
ONLY_SUBJECT
Only consider the subject side of a mapping. -
ONLY_OBJECT
Only consider the object side of a mapping.
-
-
Field Details
-
ALL
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-