Top Description Fields Constructors Methods
org.hibernate.mapping

public Class Formula

extends Object
implements Selectable, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.hibernate.mapping.Selectable
Imports
java.io.Serializable, org.hibernate.dialect.Dialect, org.hibernate.dialect.function.SQLFunctionRegistry, org.hibernate.sql.Template

A formula is a derived column value
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private String
private static int
private int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public String
public String
public String
public String
public String
public boolean
public void
public String
toString()

Overrides java.lang.Object.toString.

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

Field Detail

formulaback to summary
private String formula
formulaUniqueIntegerback to summary
private static int formulaUniqueInteger
uniqueIntegerback to summary
private int uniqueInteger

Constructor Detail

Formulaback to summary
public Formula()

Method Detail

getAliasback to summary
public String getAlias(Dialect dialect)

Implements org.hibernate.mapping.Selectable.getAlias.

getAliasback to summary
public String getAlias(Dialect dialect, Table table)

Implements org.hibernate.mapping.Selectable.getAlias.

getFormulaback to summary
public String getFormula()
getTemplateback to summary
public String getTemplate(Dialect dialect, SQLFunctionRegistry functionRegistry)

Implements org.hibernate.mapping.Selectable.getTemplate.

getTextback to summary
public String getText(Dialect dialect)

Implements org.hibernate.mapping.Selectable.getText.

getTextback to summary
public String getText()

Implements org.hibernate.mapping.Selectable.getText.

isFormulaback to summary
public boolean isFormula()

Implements org.hibernate.mapping.Selectable.isFormula.

setFormulaback to summary
public void setFormula(String string)
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.