Enum SchemaErrorCode
- java.lang.Object
-
- java.lang.Enum<SchemaErrorCode>
-
- fr.gouv.vitam.functional.administration.common.schema.SchemaErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SchemaErrorCode>
public enum SchemaErrorCode extends java.lang.Enum<SchemaErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMPORT_SCHEMA_EXCEPTION
General import errorIMPORT_SCHEMA_LEAF_NOT_FOUND
leaf not foundIMPORT_SCHEMA_LEAF_WRONG_TYPE
leaf wrong typeIMPORT_SCHEMA_MISSING_INFORMATION
Missing informationIMPORT_SCHEMA_NOT_JSON_FORMAT
File not in json formatIMPORT_SCHEMA_PATH_ALREADY_IN_SCHEMA
path already used in current schemaIMPORT_SCHEMA_PATH_DUPLICATED
path duplicatedIMPORT_SCHEMA_PATH_OBJECT_IN_ONTOLOGY
path for object already used in ontologyIMPORT_SCHEMA_PATH_PARENT_MISSED
path parent missedIMPORT_SCHEMA_WRONG_PATH_FORMAT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SchemaErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static SchemaErrorCode[] 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 (SchemaErrorCode c : SchemaErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-