Class EmbeddableDefinitionType

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

public class EmbeddableDefinitionType extends Object implements Serializable, XMLAppendable
An embeddable type declaration
See Also:
  • Field Details

    • catalog

      protected String catalog
    • schema

      protected String schema
    • name

      protected String name
    • comment

      protected String comment
    • referencingName

      protected String referencingName
    • referencingComment

      protected String referencingComment
    • tables

      protected String tables
    • replacesFields

      protected Boolean replacesFields
    • fields

      protected List<EmbeddableField> fields
  • Constructor Details

    • EmbeddableDefinitionType

      public EmbeddableDefinitionType()
  • Method Details

    • getCatalog

      public String getCatalog()
      The defining catalog of the embeddable type, or the catalog of the first matched table if left empty.
    • setCatalog

      public void setCatalog(String value)
      The defining catalog of the embeddable type, or the catalog of the first matched table if left empty.
    • getSchema

      public String getSchema()
      The defining schema of the embeddable type, or the schema of the first matched table if left empty.
    • setSchema

      public void setSchema(String value)
      The defining schema of the embeddable type, or the schema of the first matched table if left empty.
    • getName

      public String getName()
      The defining name of the embeddable type.
    • setName

      public void setName(String value)
      The defining name of the embeddable type.
    • getComment

      public String getComment()
      The defining comment on the embeddable type.
    • setComment

      public void setComment(String value)
      The defining comment on the embeddable type.
    • getReferencingName

      public String getReferencingName()
      The referencing name of the embeddable type, defaulting to the defining name.
    • setReferencingName

      public void setReferencingName(String value)
      The referencing name of the embeddable type, defaulting to the defining name.
    • getReferencingComment

      public String getReferencingComment()
      The referencing comment on the embeddable type, defaulting to the defining comment.
    • setReferencingComment

      public void setReferencingComment(String value)
      The referencing comment on the embeddable type, defaulting to the defining comment.
    • getTables

      public String getTables()
      A regular expression matching the tables to which to apply the embeddable definition.
    • setTables

      public void setTables(String value)
      A regular expression matching the tables to which to apply the embeddable definition.
    • isReplacesFields

      public Boolean isReplacesFields()
      Specify that the embeddable field replaces its underlying fields in code generation output, and when working with asterisks.
      Returns:
      possible object is Boolean
    • setReplacesFields

      public void setReplacesFields(Boolean value)
      Specify that the embeddable field replaces its underlying fields in code generation output, and when working with asterisks.
      Parameters:
      value - allowed object is Boolean
    • getFields

      public List<EmbeddableField> getFields()
    • setFields

      public void setFields(List<EmbeddableField> fields)
    • withCatalog

      public EmbeddableDefinitionType withCatalog(String value)
      The defining catalog of the embeddable type, or the catalog of the first matched table if left empty.
    • withSchema

      public EmbeddableDefinitionType withSchema(String value)
      The defining schema of the embeddable type, or the schema of the first matched table if left empty.
    • withName

      public EmbeddableDefinitionType withName(String value)
      The defining name of the embeddable type.
    • withComment

      public EmbeddableDefinitionType withComment(String value)
      The defining comment on the embeddable type.
    • withReferencingName

      public EmbeddableDefinitionType withReferencingName(String value)
      The referencing name of the embeddable type, defaulting to the defining name.
    • withReferencingComment

      public EmbeddableDefinitionType withReferencingComment(String value)
      The referencing comment on the embeddable type, defaulting to the defining comment.
    • withTables

      public EmbeddableDefinitionType withTables(String value)
      A regular expression matching the tables to which to apply the embeddable definition.
    • withReplacesFields

      public EmbeddableDefinitionType withReplacesFields(Boolean value)
      Specify that the embeddable field replaces its underlying fields in code generation output, and when working with asterisks.
    • withFields

      public EmbeddableDefinitionType withFields(EmbeddableField... values)
    • withFields

    • withFields

      public EmbeddableDefinitionType withFields(List<EmbeddableField> 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