Top Description Fields Constructors Methods
org.hibernate.boot.model.source.internal.hbm

public Class TableSourceImpl

extends AbstractHbmSourceNode
implements TableSource
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.spi.TableSource, org.hibernate.boot.model.source.spi.TableSpecificationSource
Imports
org.hibernate.boot.model.source.spi.TableSource

Models a table mapping source.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String
private final String
private final String
private final String
private final String
private final String

Constructor Summary

AccessConstructor and Description
pack-priv
TableSourceImpl(MappingDocument mappingDocument, String explicitSchema, String explicitCatalog, String explicitTableName, String rowId, String comment, String checkConstraint)

Method Summary

Modifier and TypeMethod and Description
private String
determineCatalogName(MappingDocument mappingDocument, String catalogName)

private String
determineSchemaName(MappingDocument mappingDocument, String schemaName)

public String
public String
public String
public String
public String
public String
Inherited from org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode:
mappingRootmetadataBuildingContextoriginsourceMappingDocument

Field Detail

checkConstraintback to summary
private final String checkConstraint
commentback to summary
private final String comment
explicitCatalogback to summary
private final String explicitCatalog
explicitSchemaback to summary
private final String explicitSchema
explicitTableNameback to summary
private final String explicitTableName
rowIdback to summary
private final String rowId

Constructor Detail

TableSourceImplback to summary
pack-priv TableSourceImpl(MappingDocument mappingDocument, String explicitSchema, String explicitCatalog, String explicitTableName, String rowId, String comment, String checkConstraint)

Method Detail

determineCatalogNameback to summary
private String determineCatalogName(MappingDocument mappingDocument, String catalogName)
determineSchemaNameback to summary
private String determineSchemaName(MappingDocument mappingDocument, String schemaName)
getCheckConstraintback to summary
public String getCheckConstraint()

Implements org.hibernate.boot.model.source.spi.TableSource.getCheckConstraint.

Annotations
@Override
getCommentback to summary
public String getComment()

Implements org.hibernate.boot.model.source.spi.TableSpecificationSource.getComment.

Annotations
@Override
getExplicitCatalogNameback to summary
public String getExplicitCatalogName()

Implements org.hibernate.boot.model.source.spi.TableSpecificationSource.getExplicitCatalogName.

Doc from org.hibernate.boot.model.source.spi.TableSpecificationSource.getExplicitCatalogName.

Obtain the supplied catalog name

Returns:String

The catalog name. If null, the binder will apply the default.

Annotations
@Override
getExplicitSchemaNameback to summary
public String getExplicitSchemaName()

Implements org.hibernate.boot.model.source.spi.TableSpecificationSource.getExplicitSchemaName.

Doc from org.hibernate.boot.model.source.spi.TableSpecificationSource.getExplicitSchemaName.

Obtain the supplied schema name

Returns:String

The schema name. If null, the binder will apply the default.

Annotations
@Override
getExplicitTableNameback to summary
public String getExplicitTableName()

Implements org.hibernate.boot.model.source.spi.TableSource.getExplicitTableName.

Doc from org.hibernate.boot.model.source.spi.TableSource.getExplicitTableName.

Obtain the supplied table name.

Returns:String

The table name, or null is no name specified.

Annotations
@Override
getRowIdback to summary
public String getRowId()

Implements org.hibernate.boot.model.source.spi.TableSource.getRowId.

Annotations
@Override