Enum SchemaErrorCode

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

    public enum SchemaErrorCode
    extends java.lang.Enum<SchemaErrorCode>
    • 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 name
        java.lang.NullPointerException - if the argument is null