Top Description Fields Constructors Methods
org.hibernate.sql.ast.spi

public Class SqlAliasBaseImpl

extends Object
implements SqlAliasBase
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.ast.spi.SqlAliasBase
Imports
org.hibernate.sql.ast.SqlTreeCreationLogger

Standard SqlAliasBase impl
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private int
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
generateNewAlias()

Implements org.hibernate.sql.ast.spi.SqlAliasBase.generateNewAlias.

Generates a new alias based on the stem
public String
getAliasStem()

Implements org.hibernate.sql.ast.spi.SqlAliasBase.getAliasStem.

The stem for unique alias generation
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

aliasCountback to summary
private int aliasCount
stemback to summary
private final String stem

Constructor Detail

SqlAliasBaseImplback to summary
public SqlAliasBaseImpl(String stem)

Method Detail

generateNewAliasback to summary
public String generateNewAlias()

Implements org.hibernate.sql.ast.spi.SqlAliasBase.generateNewAlias.

Doc from org.hibernate.sql.ast.spi.SqlAliasBase.generateNewAlias.

Generates a new alias based on the stem

Annotations
@Override
getAliasStemback to summary
public String getAliasStem()

Implements org.hibernate.sql.ast.spi.SqlAliasBase.getAliasStem.

Doc from org.hibernate.sql.ast.spi.SqlAliasBase.getAliasStem.

The stem for unique alias generation

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override