站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

Formula (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.mapping
Class Formula

java.lang.Object
  extended byorg.hibernate.mapping.Formula
All Implemented Interfaces:
Selectable, Serializable

public class Formula
extends Object
implements Selectable, Serializable

A formula is a derived column value

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
Formula()
           
 
Method Summary
 String getAlias(Dialect dialect)
           
 String getAlias(Dialect dialect, Table table)
           
 String getFormula()
           
 String getTemplate(Dialect dialect, SQLFunctionRegistry functionRegistry)
           
 String getText()
           
 String getText(Dialect dialect)
           
 boolean isFormula()
           
 void setFormula(String string)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Formula

public Formula()
Method Detail

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()