org.hibernate.mapping
Class Formula
java.lang.Object
org.hibernate.mapping.Formula
- All Implemented Interfaces:
- Serializable, Selectable
public class Formula
- extends Object
- implements Selectable, Serializable
A formula is a derived column value
- Author:
- Gavin King
- See Also:
- Serialized Form
Formula
public Formula()
getTemplate
public String getTemplate(Dialect dialect,
SQLFunctionRegistry functionRegistry)
- Specified by:
getTemplate
in interface Selectable
getText
public String getText(Dialect dialect)
- Specified by:
getText
in interface Selectable
getText
public String getText()
- Specified by:
getText
in interface Selectable
getAlias
public String getAlias(Dialect dialect)
- Specified by:
getAlias
in interface Selectable
getAlias
public String getAlias(Dialect dialect,
Table table)
- Specified by:
getAlias
in interface Selectable
getFormula
public String getFormula()
setFormula
public void setFormula(String string)
isFormula
public boolean isFormula()
- Specified by:
isFormula
in interface Selectable
toString
public String toString()
- Overrides:
toString
in class Object