Module org.jooq

Class TableConstraint

All Implemented Interfaces:
Serializable, XMLAppendable

public class TableConstraint extends Object implements Serializable, XMLAppendable

Java class for TableConstraint complex type.

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

 <complexType name="TableConstraint">
     <restriction base="{}anyType">
         <element name="constraint_catalog" type="{}string" minOccurs="0"/>
         <element name="constraint_schema" type="{}string" minOccurs="0"/>
         <element name="constraint_name" type="{}string"/>
         <element name="constraint_type" type="{}TableConstraintType"/>
         <element name="table_catalog" type="{}string" minOccurs="0"/>
         <element name="table_schema" type="{}string" minOccurs="0"/>
         <element name="table_name" type="{}string"/>
         <element name="comment" type="{}string" minOccurs="0"/>
         <element name="enforced" type="{}boolean" minOccurs="0"/>
See Also:
  • Field Details

    • constraintCatalog

      protected String constraintCatalog
    • constraintSchema

      protected String constraintSchema
    • constraintName

      protected String constraintName
    • constraintType

      protected TableConstraintType constraintType
    • tableCatalog

      protected String tableCatalog
    • tableSchema

      protected String tableSchema
    • tableName

      protected String tableName
    • comment

      protected String comment
    • enforced

      protected Boolean enforced
  • Constructor Details

    • TableConstraint

      public TableConstraint()
  • Method Details

    • getConstraintCatalog

      public String getConstraintCatalog()
    • setConstraintCatalog

      public void setConstraintCatalog(String value)
    • getConstraintSchema

      public String getConstraintSchema()
    • setConstraintSchema

      public void setConstraintSchema(String value)
    • getConstraintName

      public String getConstraintName()
    • setConstraintName

      public void setConstraintName(String value)
    • getConstraintType

      public TableConstraintType getConstraintType()
    • setConstraintType

      public void setConstraintType(TableConstraintType value)
    • getTableCatalog

      public String getTableCatalog()
    • setTableCatalog

      public void setTableCatalog(String value)
    • getTableSchema

      public String getTableSchema()
    • setTableSchema

      public void setTableSchema(String value)
    • getTableName

      public String getTableName()
    • setTableName

      public void setTableName(String value)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String value)
    • isEnforced

      public Boolean isEnforced()
      Gets the value of the enforced property.
      possible object is Boolean
    • setEnforced

      public void setEnforced(Boolean value)
      Sets the value of the enforced property.
      value - allowed object is Boolean
    • withConstraintCatalog

      public TableConstraint withConstraintCatalog(String value)
    • withConstraintSchema

      public TableConstraint withConstraintSchema(String value)
    • withConstraintName

      public TableConstraint withConstraintName(String value)
    • withConstraintType

      public TableConstraint withConstraintType(TableConstraintType value)
    • withTableCatalog

      public TableConstraint withTableCatalog(String value)
    • withTableSchema

      public TableConstraint withTableSchema(String value)
    • withTableName

      public TableConstraint withTableName(String value)
    • withComment

      public TableConstraint withComment(String value)
    • withEnforced

      public TableConstraint withEnforced(Boolean value)
    • appendTo

      public final void appendTo(XMLBuilder builder)
      Specified by:
      appendTo in interface XMLAppendable
    • toString

      public String toString()
      toString in class Object
    • equals

      public boolean equals(Object that)
      equals in class Object
    • hashCode

      public int hashCode()
      hashCode in class Object