Class SyntheticUniqueKeyType

java.lang.Object
org.jooq.meta.jaxb.SyntheticUniqueKeyType
All Implemented Interfaces:
Serializable, XMLAppendable

public class SyntheticUniqueKeyType extends Object implements Serializable, XMLAppendable

Java class for SyntheticUniqueKeyType complex type.

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

 <complexType name="SyntheticUniqueKeyType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="tables" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="fields" type="{http://www.jooq.org/xsd/jooq-codegen-3.20.9.xsd}SyntheticKeyFieldsType"/>
         <element name="ignoreUnused" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • name

      protected String name
    • tables

      protected String tables
    • ignoreUnused

      protected Boolean ignoreUnused
    • fields

      protected List<String> fields
  • Constructor Details

    • SyntheticUniqueKeyType

      public SyntheticUniqueKeyType()
  • Method Details

    • getName

      public String getName()
      The optional unique key name.
    • setName

      public void setName(String value)
      The optional unique key name.
    • getTables

      public String getTables()
      A regular expression matching all tables on which to apply this synthetic unique key.
    • setTables

      public void setTables(String value)
      A regular expression matching all tables on which to apply this synthetic unique key.
    • isIgnoreUnused

      public Boolean isIgnoreUnused()
      Set this flag to true if no warning should be logged if this object was not used by a code generation run.
      Returns:
      possible object is Boolean
    • setIgnoreUnused

      public void setIgnoreUnused(Boolean value)
      Set this flag to true if no warning should be logged if this object was not used by a code generation run.
      Parameters:
      value - allowed object is Boolean
    • getFields

      public List<String> getFields()
    • setFields

      public void setFields(List<String> fields)
    • withName

      public SyntheticUniqueKeyType withName(String value)
      The optional unique key name.
    • withTables

      public SyntheticUniqueKeyType withTables(String value)
      A regular expression matching all tables on which to apply this synthetic unique key.
    • withIgnoreUnused

      public SyntheticUniqueKeyType withIgnoreUnused(Boolean value)
      Set this flag to true if no warning should be logged if this object was not used by a code generation run.
    • withFields

      public SyntheticUniqueKeyType withFields(String... values)
    • withFields

      public SyntheticUniqueKeyType withFields(Collection<String> values)
    • withFields

      public SyntheticUniqueKeyType withFields(List<String> fields)
    • 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