Package fr.gouv.vitam.common.utils
Enum Class SupportedSedaVersions
- All Implemented Interfaces:
Serializable
,Comparable<SupportedSedaVersions>
,Constable
Here we declare all SEDA versions supported by Vitam with their XSD Validators to use later for Generating ATR, DIP and TRANSFER.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<SupportedSedaVersions>
getSupportedSedaVersionByVersion
(String sedaVersion) static Optional<SupportedSedaVersions>
getSupportedSedaVersionByXmlNamespace
(String xmlNamespace) static boolean
isSedaVersionsCompatible
(String metadataSedaVersion, String sedaVersionToExport) static boolean
isSedaVersionValid
(String sedaVersion) static SupportedSedaVersions
Returns the enum constant of this class with the specified name.static SupportedSedaVersions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SEDA_2_1
-
SEDA_2_2
-
SEDA_2_3
-
-
Field Details
-
UNIFIED_NAMESPACE
- See Also:
-
GENERIC_VITAM_VALIDATOR
- See Also:
-
-
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
-
getVersion
-
getSedaValidatorXSD
-
getNamespaceURI
-
getVitamValidatorXSD
-
isSedaVersionValid
-
getSupportedSedaVersionByVersion
-
getSupportedSedaVersionByXmlNamespace
public static Optional<SupportedSedaVersions> getSupportedSedaVersionByXmlNamespace(String xmlNamespace) -
isSedaVersionsCompatible
-