Enum Class VisibilityModifier

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

public enum VisibilityModifier extends Enum<VisibilityModifier>

Java class for VisibilityModifier.

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

 <simpleType name="VisibilityModifier">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="DEFAULT"/>
     <enumeration value="NONE"/>
     <enumeration value="PUBLIC"/>
     <enumeration value="INTERNAL"/>
     <enumeration value="PRIVATE"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • DEFAULT

      public static final VisibilityModifier DEFAULT
      The generated visibility modifier is the default for the target language to produce public visibility (explicit public in Java, nothing in Kotlin, Scala).
    • NONE

      public static final VisibilityModifier NONE
      No visibility modifier is generated.
    • PUBLIC

      public static final VisibilityModifier PUBLIC
      An explicit public visibility modifier is generated, where supported (no modifier is generated in Scala).
    • INTERNAL

      public static final VisibilityModifier INTERNAL
      An explicit internal visibility modifier is generated, where supported (or public, otherwise).
    • PRIVATE

      public static final VisibilityModifier PRIVATE
      A private visibility modifier is generated. This is useful only for ForcedType, not as a global configuration.
  • Method Details

    • values

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