Enum Class MetadataValidationErrorCode
java.lang.Object
java.lang.Enum<MetadataValidationErrorCode>
fr.gouv.vitam.metadata.core.validation.MetadataValidationErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<MetadataValidationErrorCode>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionArchive unit profile inactiveArchive unit profile validation KOArchive unit profile schema is emptyUnit endDate is before startDateUnit start/end date format is invalidArchive unit profile validation KOHoldRule HoldEndDate is before StartDate (unit rule update only)HoldEndDate is only allowed when HoldRule has undefined (null) duration (unit rule update only)Internal / built-in validation failedNo such archive unit profile schema -
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataValidationErrorCode
Returns the enum constant of this class with the specified name.static MetadataValidationErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCHEMA_VALIDATION_FAILURE
Internal / built-in validation failed -
EMPTY_ARCHIVE_UNIT_PROFILE_SCHEMA
Archive unit profile schema is empty -
UNKNOWN_ARCHIVE_UNIT_PROFILE
No such archive unit profile schema -
ARCHIVE_UNIT_PROFILE_SCHEMA_VALIDATION_FAILURE
Archive unit profile validation KO -
ARCHIVE_UNIT_PROFILE_SCHEMA_INACTIVE
Archive unit profile inactive -
ONTOLOGY_VALIDATION_FAILURE
Archive unit profile validation KO -
INVALID_UNIT_DATE_FORMAT
Unit start/end date format is invalid -
INVALID_START_END_DATE
Unit endDate is before startDate -
RULE_UPDATE_HOLD_END_DATE_BEFORE_START_DATE
HoldRule HoldEndDate is before StartDate (unit rule update only) -
RULE_UPDATE_UNEXPECTED_HOLD_END_DATE
HoldEndDate is only allowed when HoldRule has undefined (null) duration (unit rule update only)
-
-
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
-