Enum SchemaReport.Kind

java.lang.Object
java.lang.Enum<SchemaReport.Kind>
com.codename1.orm.session.SchemaReport.Kind
All Implemented Interfaces:
Comparable<SchemaReport.Kind>
Enclosing class:
SchemaReport

public static enum SchemaReport.Kind extends Enum<SchemaReport.Kind>
How an SchemaReport.Issue is resolved.
  • Enum Constant Details

    • MIGRATION_REQUIRED

      public static final SchemaReport.Kind MIGRATION_REQUIRED
      The schema lacks something the mapping declares; a migration fixes it.
    • UNSUPPORTED

      public static final SchemaReport.Kind UNSUPPORTED
      The mapping cannot be used with the column as it stands.
    • CONSTRAINT_MISMATCH

      public static final SchemaReport.Kind CONSTRAINT_MISMATCH
      The column's nullability differs from the mapping's.
  • Method Details

    • values

      public static SchemaReport.Kind[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SchemaReport.Kind valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null