Module org.jooq
Package org.jooq.conf

Enum Class Transformation

java.lang.Object
java.lang.Enum<Transformation>
org.jooq.conf.Transformation
All Implemented Interfaces:
Serializable, Comparable<Transformation>, Constable

public enum Transformation extends Enum<Transformation>

Java class for Transformation.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="Transformation">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="NEVER"/>
     <enumeration value="WHEN_NEEDED"/>
     <enumeration value="ALWAYS"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • NEVER

      public static final Transformation NEVER
      Never apply the transformation
    • WHEN_NEEDED

      public static final Transformation WHEN_NEEDED
      Apply the transformation when needed by a dialect
    • ALWAYS

      public static final Transformation ALWAYS
      Always apply the transformation
  • Method Details

    • values

      public static Transformation[] 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 Transformation 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
    • value

      public String value()
    • fromValue

      public static Transformation fromValue(String v)