Class SyntheticColumnType

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

public class SyntheticColumnType extends Object implements Serializable, XMLAppendable

Java class for SyntheticColumnType complex type.

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

 <complexType name="SyntheticColumnType">
   <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="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="comment" 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
    • name

      protected String name
    • type

      protected String type
    • comment

      protected String comment
    • ignoreUnused

      protected Boolean ignoreUnused
  • Constructor Details

    • SyntheticColumnType

      public SyntheticColumnType()
  • Method Details

    • getTables

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

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

      public String getName()
      The column name.
    • setName

      public void setName(String value)
      The column name.
    • getType

      public String getType()
      The column type.
    • setType

      public void setType(String value)
      The column type.
    • getComment

      public String getComment()
      The column comment.
    • setComment

      public void setComment(String value)
      The column comment.
    • 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 SyntheticColumnType withTables(String value)
      A regular expression matching all tables on which to apply this synthetic readonly column.
    • withName

      public SyntheticColumnType withName(String value)
      The column name.
    • withType

      public SyntheticColumnType withType(String value)
      The column type.
    • withComment

      public SyntheticColumnType withComment(String value)
      The column comment.
    • withIgnoreUnused

      public SyntheticColumnType 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