- java.lang.Object
-
- org.jooq.conf.RenderMapping
-
- All Implemented Interfaces:
Serializable
,Cloneable
,XMLAppendable
public class RenderMapping extends Object implements Serializable, Cloneable, XMLAppendable
The runtime schema and table mapping.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<MappedCatalog>
catalogs
protected String
defaultCatalog
protected String
defaultSchema
protected List<MappedSchema>
schemata
-
Constructor Summary
Constructors Constructor Description RenderMapping()
-
Method Summary
-
-
-
Field Detail
-
defaultCatalog
protected String defaultCatalog
-
defaultSchema
protected String defaultSchema
-
catalogs
protected List<MappedCatalog> catalogs
-
schemata
protected List<MappedSchema> schemata
-
-
Method Detail
-
getDefaultCatalog
public String getDefaultCatalog()
The default catalog as defined inNamed.getName()
.This catalog will be omitted in rendered SQL.
-
setDefaultCatalog
public void setDefaultCatalog(String value)
The default catalog as defined inNamed.getName()
.This catalog will be omitted in rendered SQL.
-
getDefaultSchema
public String getDefaultSchema()
The default schema as defined inNamed.getName()
.This schema will be omitted in rendered SQL.
-
setDefaultSchema
public void setDefaultSchema(String value)
The default schema as defined inNamed.getName()
.This schema will be omitted in rendered SQL.
-
getCatalogs
public List<MappedCatalog> getCatalogs()
-
setCatalogs
public void setCatalogs(List<MappedCatalog> catalogs)
-
getSchemata
public List<MappedSchema> getSchemata()
-
setSchemata
public void setSchemata(List<MappedSchema> schemata)
-
withDefaultCatalog
public RenderMapping withDefaultCatalog(String value)
The default catalog as defined inNamed.getName()
.This catalog will be omitted in rendered SQL.
-
withDefaultSchema
public RenderMapping withDefaultSchema(String value)
The default schema as defined inNamed.getName()
.This schema will be omitted in rendered SQL.
-
withCatalogs
public RenderMapping withCatalogs(MappedCatalog... values)
-
withCatalogs
public RenderMapping withCatalogs(Collection<MappedCatalog> values)
-
withCatalogs
public RenderMapping withCatalogs(List<MappedCatalog> catalogs)
-
withSchemata
public RenderMapping withSchemata(MappedSchema... values)
-
withSchemata
public RenderMapping withSchemata(Collection<MappedSchema> values)
-
withSchemata
public RenderMapping withSchemata(List<MappedSchema> schemata)
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendTo
in interfaceXMLAppendable
-
-