Enum OWLHelper.UpdateMode

    • Enum Constant Detail

      • 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.
    • Method Detail

      • values

        public static OWLHelper.UpdateMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OWLHelper.UpdateMode c : OWLHelper.UpdateMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OWLHelper.UpdateMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null