Module org.jooq

Enum Class RoutineType

java.lang.Object
java.lang.Enum<RoutineType>
org.jooq.util.xml.jaxb.RoutineType
All Implemented Interfaces:
Serializable, Comparable<RoutineType>, Constable

public enum RoutineType extends Enum<RoutineType>

Java class for RoutineType.

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

 <simpleType name="RoutineType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="FUNCTION"/>
     <enumeration value="PROCEDURE"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • FUNCTION

      public static final RoutineType FUNCTION
      The routine is a FUNCTION.
    • PROCEDURE

      public static final RoutineType PROCEDURE
      The routine is a PROCEDURE.
  • Method Details

    • values

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