Class SyntheticDefaultType

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

public class SyntheticDefaultType extends Object implements Serializable, XMLAppendable

Java class for SyntheticDefaultType complex type.

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

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

    • tables

      protected String tables
    • fields

      protected String fields
    • expression

      protected String expression
    • ignoreUnused

      protected Boolean ignoreUnused
  • Constructor Details

    • SyntheticDefaultType

      public SyntheticDefaultType()
  • Method Details

    • getTables

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

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

      public String getFields()
      A regular expression matching all fields on which to apply this synthetic default.
    • setFields

      public void setFields(String value)
      A regular expression matching all fields on which to apply this synthetic default.
    • getExpression

      public String getExpression()
      The default expression to apply to the field. This is expected to be a valid SQL expression, e.g. 'some string', not some string
    • setExpression

      public void setExpression(String value)
      The default expression to apply to the field. This is expected to be a valid SQL expression, e.g. 'some string', not some string
    • 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
    • withTables

      public SyntheticDefaultType withTables(String value)
      A regular expression matching all tables on which to apply this synthetic default.
    • withFields

      public SyntheticDefaultType withFields(String value)
      A regular expression matching all fields on which to apply this synthetic default.
    • withExpression

      public SyntheticDefaultType withExpression(String value)
      The default expression to apply to the field. This is expected to be a valid SQL expression, e.g. 'some string', not some string
    • withIgnoreUnused

      public SyntheticDefaultType 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.
    • 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