Enum SupportedSedaVersions

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SupportedSedaVersions>

    public enum SupportedSedaVersions
    extends java.lang.Enum<SupportedSedaVersions>
    Here we declare all SEDA versions supported by Vitam with their XSD Validators to use later for Generating ATR, DIP and TRANSFER.
    • Field Detail

      • UNIFIED_NAMESPACE

        public static final java.lang.String UNIFIED_NAMESPACE
        See Also:
        Constant Field Values
      • GENERIC_VITAM_VALIDATOR

        public static final java.lang.String GENERIC_VITAM_VALIDATOR
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static SupportedSedaVersions[] 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 (SupportedSedaVersions c : SupportedSedaVersions.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SupportedSedaVersions 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 name
        java.lang.NullPointerException - if the argument is null
      • getVersion

        public java.lang.String getVersion()
      • getSedaValidatorXSD

        public java.lang.String getSedaValidatorXSD()
      • getNamespaceURI

        public java.lang.String getNamespaceURI()
      • getVitamValidatorXSD

        public java.lang.String getVitamValidatorXSD()
      • isSedaVersionValid

        public static boolean isSedaVersionValid​(java.lang.String sedaVersion)
      • getSupportedSedaVersionByVersion

        public static java.util.Optional<SupportedSedaVersions> getSupportedSedaVersionByVersion​(java.lang.String sedaVersion)
      • isSedaVersionsCompatible

        public static boolean isSedaVersionsCompatible​(java.lang.String metadataSedaVersion,
                                                       java.lang.String sedaVersionToExport)