Enum SoftDeletable.Type

    • Enum Constant Detail

      • DELETED

        public static final SoftDeletable.Type DELETED
        Indicates that the associated column is a column holding deleted state. All entities that haven't been soft deleted will thus have false in the soft delete column, assuming it was mapped as boolean. This is the default type.
      • ACTIVE

        public static final SoftDeletable.Type ACTIVE
        Indicates that the associated column is a column holding active state. All entities that haven't been soft deleted will thus have true in the soft delete column, assuming it was mapped as boolean.
    • Method Detail

      • values

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

        public static SoftDeletable.Type 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