Enum MetadataValidationErrorCode

    • Enum Constant Detail

      • SCHEMA_VALIDATION_FAILURE

        public static final MetadataValidationErrorCode SCHEMA_VALIDATION_FAILURE
        Internal / built-in validation failed
      • EMPTY_ARCHIVE_UNIT_PROFILE_SCHEMA

        public static final MetadataValidationErrorCode EMPTY_ARCHIVE_UNIT_PROFILE_SCHEMA
        Archive unit profile schema is empty
      • UNKNOWN_ARCHIVE_UNIT_PROFILE

        public static final MetadataValidationErrorCode UNKNOWN_ARCHIVE_UNIT_PROFILE
        No such archive unit profile schema
      • ARCHIVE_UNIT_PROFILE_SCHEMA_VALIDATION_FAILURE

        public static final MetadataValidationErrorCode ARCHIVE_UNIT_PROFILE_SCHEMA_VALIDATION_FAILURE
        Archive unit profile validation KO
      • ARCHIVE_UNIT_PROFILE_SCHEMA_INACTIVE

        public static final MetadataValidationErrorCode ARCHIVE_UNIT_PROFILE_SCHEMA_INACTIVE
        Archive unit profile inactive
      • ONTOLOGY_VALIDATION_FAILURE

        public static final MetadataValidationErrorCode ONTOLOGY_VALIDATION_FAILURE
        Archive unit profile validation KO
      • INVALID_UNIT_DATE_FORMAT

        public static final MetadataValidationErrorCode INVALID_UNIT_DATE_FORMAT
        Unit start/end date format is invalid
      • RULE_UPDATE_HOLD_END_DATE_BEFORE_START_DATE

        public static final MetadataValidationErrorCode RULE_UPDATE_HOLD_END_DATE_BEFORE_START_DATE
        HoldRule HoldEndDate is before StartDate (unit rule update only)
      • RULE_UPDATE_UNEXPECTED_HOLD_END_DATE

        public static final MetadataValidationErrorCode RULE_UPDATE_UNEXPECTED_HOLD_END_DATE
        HoldEndDate is only allowed when HoldRule has undefined (null) duration (unit rule update only)
    • Method Detail

      • values

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

        public static MetadataValidationErrorCode 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