Enum Class GeneratedAnnotationType

java.lang.Object
java.lang.Enum<GeneratedAnnotationType>
org.jooq.meta.jaxb.GeneratedAnnotationType
All Implemented Interfaces:
Serializable, Comparable<GeneratedAnnotationType>, Constable

public enum GeneratedAnnotationType extends Enum<GeneratedAnnotationType>

Java class for GeneratedAnnotationType.

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

 <simpleType name="GeneratedAnnotationType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="DETECT_FROM_JDK"/>
     <enumeration value="JAVAX_ANNOTATION_GENERATED"/>
     <enumeration value="JAVAX_ANNOTATION_PROCESSING_GENERATED"/>
     <enumeration value="JAKARTA_ANNOTATION_GENERATED"/>
     <enumeration value="ORG_JOOQ_GENERATED"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • DETECT_FROM_JDK

      public static final GeneratedAnnotationType DETECT_FROM_JDK
      The Generated annotation should be detected automatically from the JDK used at code generation time.
    • JAVAX_ANNOTATION_GENERATED

      public static final GeneratedAnnotationType JAVAX_ANNOTATION_GENERATED
      Use the javax.annotation.Generated annotation.
    • JAVAX_ANNOTATION_PROCESSING_GENERATED

      public static final GeneratedAnnotationType JAVAX_ANNOTATION_PROCESSING_GENERATED
      Use the javax.annotation.processing.Generated annotation.
    • JAKARTA_ANNOTATION_GENERATED

      public static final GeneratedAnnotationType JAKARTA_ANNOTATION_GENERATED
      Use the jakarta.annotation.Generated annotation.
    • ORG_JOOQ_GENERATED

      public static final GeneratedAnnotationType ORG_JOOQ_GENERATED
      Use the Generated annotation.
  • Method Details

    • values

      public static GeneratedAnnotationType[] 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 GeneratedAnnotationType 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 GeneratedAnnotationType fromValue(String v)