Enum Class OWLHelper.UpdateMode

java.lang.Object
java.lang.Enum<OWLHelper.UpdateMode>
org.incenp.obofoundry.sssom.owl.OWLHelper.UpdateMode
All Implemented Interfaces:
Serializable, Comparable<OWLHelper.UpdateMode>, Constable
Enclosing class:
OWLHelper

public static enum OWLHelper.UpdateMode extends Enum<OWLHelper.UpdateMode>
  • Enum Constant Details

    • UPDATE_LABEL

      public static final OWLHelper.UpdateMode UPDATE_LABEL
      Updates the object and subject labels from the labels of the corresponding entities in the ontology.
    • UPDATE_SOURCE

      public static final OWLHelper.UpdateMode UPDATE_SOURCE
      If the subject (respectively the object) exists in the ontology, sets the subject_source (respectively the object_source) field to the ontology IRI.
    • DELETE_MISSING

      public static final OWLHelper.UpdateMode DELETE_MISSING
      Removes any mapping whose subject or object does not exist in the ontology.
    • DELETE_OBSOLETE

      public static final OWLHelper.UpdateMode DELETE_OBSOLETE
      Removes any mapping whose subject or object is marked as obsolete.
    • ONLY_SUBJECT

      public static final OWLHelper.UpdateMode ONLY_SUBJECT
      Only consider the subject side of a mapping.
    • ONLY_OBJECT

      public static final OWLHelper.UpdateMode ONLY_OBJECT
      Only consider the object side of a mapping.
  • Field Details

  • Method Details

    • values

      public static OWLHelper.UpdateMode[] 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

      public static OWLHelper.UpdateMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null