Top Description Fields Constructors Methods
org.jooq.util.xml.jaxb

public final Enum TableConstraintType

extends Enum<TableConstraintType>
Class Inheritance
Annotations
@XmlType
name:TableConstraintType
@XmlEnum
Imports
jakarta.xml.bind.annotation.XmlEnum, .XmlEnumValue, .XmlType

Java class for TableConstraintType.

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

<simpleType name="TableConstraintType">
  <restriction base="{http://www.w3.org/2001/XMLSchema}string">
    <enumeration value="PRIMARY KEY"/>
    <enumeration value="UNIQUE"/>
    <enumeration value="CHECK"/>
    <enumeration value="FOREIGN KEY"/>
  </restriction>
</simpleType>

Field Summary

Modifier and TypeField and Description
public static final TableConstraintType
public static final TableConstraintType
public static final TableConstraintType
public static final TableConstraintType
private final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static TableConstraintType
public String
toString()

Overrides java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration.
public String
public static TableConstraintType
public static TableConstraintType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

CHECKback to summary
public static final TableConstraintType CHECK
FOREIGN_KEYback to summary
public static final TableConstraintType FOREIGN_KEY
Annotations
@XmlEnumValue:FOREIGN KEY
PRIMARY_KEYback to summary
public static final TableConstraintType PRIMARY_KEY
Annotations
@XmlEnumValue:PRIMARY KEY
UNIQUEback to summary
public static final TableConstraintType UNIQUE
valueback to summary
private final String value

Constructor Detail

TableConstraintTypeback to summary
private TableConstraintType(String v)

Method Detail

fromValueback to summary
public static TableConstraintType fromValue(String v)
toStringback to summary
public String toString()

Overrides java.lang.Enum.toString.

Doc from java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.

Returns:String

the name of this enum constant

Annotations
@Override
valueback to summary
public String value()
valueOfback to summary
public static TableConstraintType valueOf(String name)
valuesback to summary
public static TableConstraintType[] values()