Enum Class FkNotNullMismatch.Type

java.lang.Object
java.lang.Enum<FkNotNullMismatch.Type>
ch.tocco.nice2.model.entity.api.schema.events.FkNotNullMismatch.Type
All Implemented Interfaces:
Serializable, Comparable<FkNotNullMismatch.Type>, Constable
Enclosing class:
FkNotNullMismatch

public static enum FkNotNullMismatch.Type extends Enum<FkNotNullMismatch.Type>
  • Enum Constant Details

    • FK_NULL_ALLOWED

      public static final FkNotNullMismatch.Type FK_NULL_ALLOWED
      If the foreign key column is not-null, but the relation is optional.
    • FK_NOTNULL_REQUIRED

      public static final FkNotNullMismatch.Type FK_NOTNULL_REQUIRED
      If the foreign key column is null, but the relation is required.
  • Method Details

    • values

      public static FkNotNullMismatch.Type[] 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

      public static FkNotNullMismatch.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null