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

public Class SqlAliasBaseConstant

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

A SqlAliasBase that always returns the same constant.
Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
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

constantback to summary
private final String constant

Constructor Detail

SqlAliasBaseConstantback to summary
public SqlAliasBaseConstant(String constant)

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