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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGeneral import errorleaf not foundleaf wrong typeMissing informationFile not in json formatpath already used in current schemapath duplicatedpath for object already used in ontologypath parent missed -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaErrorCode
Returns the enum constant of this class with the specified name.static SchemaErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMPORT_SCHEMA_NOT_JSON_FORMAT
File not in json format -
IMPORT_SCHEMA_PATH_PARENT_MISSED
path parent missed -
IMPORT_SCHEMA_PATH_OBJECT_IN_ONTOLOGY
path for object already used in ontology -
IMPORT_SCHEMA_PATH_ALREADY_IN_SCHEMA
path already used in current schema -
IMPORT_SCHEMA_PATH_DUPLICATED
path duplicated -
IMPORT_SCHEMA_LEAF_NOT_FOUND
leaf not found -
IMPORT_SCHEMA_LEAF_WRONG_TYPE
leaf wrong type -
IMPORT_SCHEMA_MISSING_INFORMATION
Missing information -
IMPORT_SCHEMA_WRONG_PATH_FORMAT
-
IMPORT_SCHEMA_EXCEPTION
General import error
-
-
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
-