Enum Class SchemaErrorCode

java.lang.Object
java.lang.Enum<SchemaErrorCode>
fr.gouv.vitam.functional.administration.common.schema.SchemaErrorCode
All Implemented Interfaces:
Serializable, Comparable<SchemaErrorCode>, Constable

public enum SchemaErrorCode extends Enum<SchemaErrorCode>
  • Enum Constant Details

    • IMPORT_SCHEMA_NOT_JSON_FORMAT

      public static final SchemaErrorCode IMPORT_SCHEMA_NOT_JSON_FORMAT
      File not in json format
    • IMPORT_SCHEMA_PATH_PARENT_MISSED

      public static final SchemaErrorCode IMPORT_SCHEMA_PATH_PARENT_MISSED
      path parent missed
    • IMPORT_SCHEMA_PATH_OBJECT_IN_ONTOLOGY

      public static final SchemaErrorCode IMPORT_SCHEMA_PATH_OBJECT_IN_ONTOLOGY
      path for object already used in ontology
    • IMPORT_SCHEMA_PATH_ALREADY_IN_SCHEMA

      public static final SchemaErrorCode IMPORT_SCHEMA_PATH_ALREADY_IN_SCHEMA
      path already used in current schema
    • IMPORT_SCHEMA_PATH_DUPLICATED

      public static final SchemaErrorCode IMPORT_SCHEMA_PATH_DUPLICATED
      path duplicated
    • IMPORT_SCHEMA_LEAF_NOT_FOUND

      public static final SchemaErrorCode IMPORT_SCHEMA_LEAF_NOT_FOUND
      leaf not found
    • IMPORT_SCHEMA_LEAF_WRONG_TYPE

      public static final SchemaErrorCode IMPORT_SCHEMA_LEAF_WRONG_TYPE
      leaf wrong type
    • IMPORT_SCHEMA_MISSING_INFORMATION

      public static final SchemaErrorCode IMPORT_SCHEMA_MISSING_INFORMATION
      Missing information
    • IMPORT_SCHEMA_WRONG_PATH_FORMAT

      public static final SchemaErrorCode IMPORT_SCHEMA_WRONG_PATH_FORMAT
    • IMPORT_SCHEMA_EXCEPTION

      public static final SchemaErrorCode IMPORT_SCHEMA_EXCEPTION
      General import error
  • Method Details

    • values

      public static SchemaErrorCode[] 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 SchemaErrorCode 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