类 RelationalValueSourceHelper
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.RelationalValueSourceHelper
-
public class RelationalValueSourceHelper extends Object
- 作者:
- Steve Ebersole
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classRelationalValueSourceHelper.AbstractColumnsAndFormulasSourcestatic interfaceRelationalValueSourceHelper.ColumnsAndFormulasSource
-
构造器概要
构造器 构造器 说明 RelationalValueSourceHelper()
-
方法概要
-
-
-
方法详细资料
-
buildValueSource
public static RelationalValueSource buildValueSource(MappingDocument mappingDocument, String containingTableName, RelationalValueSourceHelper.ColumnsAndFormulasSource columnsAndFormulasSource)
Given aRelationalValueSourceHelper.ColumnsAndFormulasSource, build a singleRelationalValueSource. More than oneRelationalValueSourcewill result in an exception.- 参数:
mappingDocument- the mapping documentcontainingTableName- The logical name of the table containing the relational valuescolumnsAndFormulasSource- the adapter describing the value sources.- 返回:
- The single RelationalValueSource.
-
buildColumnSource
public static ColumnSource buildColumnSource(MappingDocument mappingDocument, String containingTableName, RelationalValueSourceHelper.ColumnsAndFormulasSource columnsAndFormulasSource)
Given aRelationalValueSourceHelper.ColumnsAndFormulasSource, build a singleRelationalValueSourcewhich is required to be a column. More than oneRelationalValueSourcewill result in an exception. A formula, rather than a column, will result in an exception.- 参数:
mappingDocument- the mapping documentcontainingTableName- The logical name of the table containing the relational valuescolumnsAndFormulasSource- the adapter describing the value sources.- 返回:
- The single ColumnSource.
-
buildColumnSources
public static List<ColumnSource> buildColumnSources(MappingDocument mappingDocument, String containingTableName, RelationalValueSourceHelper.ColumnsAndFormulasSource columnsAndFormulasSource)
Given aRelationalValueSourceHelper.ColumnsAndFormulasSource, build the corresponding list ofColumnSource. Any formula, rather than a column, will result in an exception.- 参数:
mappingDocument- the mapping documentcontainingTableName- The logical name of the table containing the relational valuescolumnsAndFormulasSource- the adapter describing the value sources.- 返回:
- The corresponding list.
-
buildValueSources
public static List<RelationalValueSource> buildValueSources(MappingDocument mappingDocument, String containingTableName, RelationalValueSourceHelper.ColumnsAndFormulasSource columnsAndFormulasSource)
Given aRelationalValueSourceHelper.ColumnsAndFormulasSource, build the corresponding list ofRelationalValueSource- 参数:
mappingDocument- the mapping documentcontainingTableName- The logical name of the table containing the relational valuescolumnsAndFormulasSource- the adapter describing the value sources.- 返回:
- The corresponding list.
-
-