public class RelationalValueSourceHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RelationalValueSourceHelper.AbstractColumnsAndFormulasSource |
static interface |
RelationalValueSourceHelper.ColumnsAndFormulasSource
|
Constructor and Description |
---|
RelationalValueSourceHelper() |
public static RelationalValueSource buildValueSource(MappingDocument mappingDocument, String containingTableName, RelationalValueSourceHelper.ColumnsAndFormulasSource columnsAndFormulasSource)
RelationalValueSourceHelper.ColumnsAndFormulasSource
, build a single RelationalValueSource
.
More than one RelationalValueSource
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.public static ColumnSource buildColumnSource(MappingDocument mappingDocument, String containingTableName, RelationalValueSourceHelper.ColumnsAndFormulasSource columnsAndFormulasSource)
RelationalValueSourceHelper.ColumnsAndFormulasSource
, build a single RelationalValueSource
which is required to be a column. More than one RelationalValueSource
will 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.public static List<ColumnSource> buildColumnSources(MappingDocument mappingDocument, String containingTableName, RelationalValueSourceHelper.ColumnsAndFormulasSource columnsAndFormulasSource)
RelationalValueSourceHelper.ColumnsAndFormulasSource
, build the corresponding list of
ColumnSource
. 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.public static List<RelationalValueSource> buildValueSources(MappingDocument mappingDocument, String containingTableName, RelationalValueSourceHelper.ColumnsAndFormulasSource columnsAndFormulasSource)
RelationalValueSourceHelper.ColumnsAndFormulasSource
, build the corresponding list of
RelationalValueSource
mappingDocument
- the mapping documentcontainingTableName
- The logical name of the table containing the relational valuescolumnsAndFormulasSource
- the adapter describing the value sources.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.