Class InLineViewSourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
-
- org.hibernate.boot.model.source.internal.hbm.InLineViewSourceImpl
-
- All Implemented Interfaces:
InLineViewSource
,TableSpecificationSource
public class InLineViewSourceImpl extends AbstractHbmSourceNode implements InLineViewSource
-
-
Constructor Summary
Constructors Constructor Description InLineViewSourceImpl(MappingDocument mappingDocument, String schemaName, String catalogName, String selectStatement, String logicalName, String comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComment()
String
getExplicitCatalogName()
Obtain the supplied catalog nameString
getExplicitSchemaName()
Obtain the supplied schema nameString
getLogicalName()
String
getSelectStatement()
Obtain theSQL SELECT
statement to use.-
Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
-
-
-
Method Detail
-
getExplicitSchemaName
public String getExplicitSchemaName()
Description copied from interface:TableSpecificationSource
Obtain the supplied schema name- Specified by:
getExplicitSchemaName
in interfaceTableSpecificationSource
- Returns:
- The schema name. If
null
, the binder will apply the default.
-
getExplicitCatalogName
public String getExplicitCatalogName()
Description copied from interface:TableSpecificationSource
Obtain the supplied catalog name- Specified by:
getExplicitCatalogName
in interfaceTableSpecificationSource
- Returns:
- The catalog name. If
null
, the binder will apply the default.
-
getSelectStatement
public String getSelectStatement()
Description copied from interface:InLineViewSource
Obtain theSQL SELECT
statement to use. Cannot be null!- Specified by:
getSelectStatement
in interfaceInLineViewSource
- Returns:
- The
SQL SELECT
statement
-
getLogicalName
public String getLogicalName()
- Specified by:
getLogicalName
in interfaceInLineViewSource
-
getComment
public String getComment()
- Specified by:
getComment
in interfaceTableSpecificationSource
-
-