- 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcatalogprotected Stringcommentprotected List<EmbeddableField>fieldsprotected Stringnameprotected StringreferencingCommentprotected StringreferencingNameprotected BooleanreplacesFieldsprotected Stringschemaprotected Stringtables
-
Constructor Summary
Constructors Constructor Description EmbeddableDefinitionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)StringgetCatalog()The defining catalog of the embeddable type, or the catalog of the first matched table if left empty.StringgetComment()The defining comment on the embeddable type.List<EmbeddableField>getFields()StringgetName()The defining name of the embeddable type.StringgetReferencingComment()The referencing comment on the embeddable type, defaulting to the defining comment.StringgetReferencingName()The referencing name of the embeddable type, defaulting to the defining name.StringgetSchema()The defining schema of the embeddable type, or the schema of the first matched table if left empty.StringgetTables()A regular expression matching the tables to which to apply the embeddable definition.inthashCode()BooleanisReplacesFields()Specify that the embeddable field replaces its underlying fields in code generation output, and when working with asterisks.voidsetCatalog(String value)The defining catalog of the embeddable type, or the catalog of the first matched table if left empty.voidsetComment(String value)The defining comment on the embeddable type.voidsetFields(List<EmbeddableField> fields)voidsetName(String value)The defining name of the embeddable type.voidsetReferencingComment(String value)The referencing comment on the embeddable type, defaulting to the defining comment.voidsetReferencingName(String value)The referencing name of the embeddable type, defaulting to the defining name.voidsetReplacesFields(Boolean value)Sets the value of the replacesFields property.voidsetSchema(String value)The defining schema of the embeddable type, or the schema of the first matched table if left empty.voidsetTables(String value)A regular expression matching the tables to which to apply the embeddable definition.StringtoString()EmbeddableDefinitionTypewithCatalog(String value)The defining catalog of the embeddable type, or the catalog of the first matched table if left empty.EmbeddableDefinitionTypewithComment(String value)The defining comment on the embeddable type.EmbeddableDefinitionTypewithFields(Collection<EmbeddableField> values)EmbeddableDefinitionTypewithFields(List<EmbeddableField> fields)EmbeddableDefinitionTypewithFields(EmbeddableField... values)EmbeddableDefinitionTypewithName(String value)The defining name of the embeddable type.EmbeddableDefinitionTypewithReferencingComment(String value)The referencing comment on the embeddable type, defaulting to the defining comment.EmbeddableDefinitionTypewithReferencingName(String value)The referencing name of the embeddable type, defaulting to the defining name.EmbeddableDefinitionTypewithReplacesFields(Boolean value)EmbeddableDefinitionTypewithSchema(String value)The defining schema of the embeddable type, or the schema of the first matched table if left empty.EmbeddableDefinitionTypewithTables(String value)A regular expression matching the tables to which to apply the embeddable definition.
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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)
Sets the value of the replacesFields property.- Parameters:
value- allowed object isBoolean
-
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)
-
withFields
public EmbeddableDefinitionType withFields(EmbeddableField... values)
-
withFields
public EmbeddableDefinitionType withFields(Collection<EmbeddableField> values)
-
withFields
public EmbeddableDefinitionType withFields(List<EmbeddableField> fields)
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-