Module org.jooq

Class TableConstraint

java.lang.Object
org.jooq.util.xml.jaxb.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">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="constraint_catalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="constraint_schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="constraint_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="constraint_type" type="{http://www.jooq.org/xsd/jooq-meta-3.20.0.xsd}TableConstraintType"/>
         <element name="table_catalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="table_schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="table_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="enforced" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
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.
      Returns:
      possible object is Boolean
    • setEnforced

      public void setEnforced(Boolean value)
      Sets the value of the enforced property.
      Parameters:
      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()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object