private abstract static class TableMapper.TempTableMapper extends TableMapper<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Class<?>,TableMapper.LegacyTableInfo> |
j2p
Mapping of DMO implementation classes to
TableMapper.LegacyTableInfo instances |
private java.util.Map<java.lang.Integer,TableMapper.LegacyTableInfo> |
p2j
Mapping of the legacy table IDs to their
TableMapper.LegacyTableInfo instances |
Modifier | Constructor and Description |
---|---|
protected |
TempTableMapper()
Default c'tor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.Integer |
getLegacyKey(TempTable tt)
Get legacy key for the specified temp table.
|
protected java.util.Map<java.lang.Class<?>,TableMapper.LegacyTableInfo> |
j2p()
Get the mapping of DMO implementation classes to
TableMapper.LegacyTableInfo instances. |
private TableMapper.LegacyFieldInfo |
legacyFieldInfo(TempTable tt,
java.lang.String property)
Get the legacy field name for given property defined by the specified temp table.
|
private TableMapper.LegacyIndexInfo |
legacyIndexInfo(TempTable tt,
int indexNum)
Get information about the index associated with the given temporary table.
|
protected java.lang.String |
legacyIndexName(TempTable tt,
java.lang.String idx)
Get the legacy index name of converted index, which is defined by the specified backing
temp table.
|
protected java.lang.String |
legacyName(TempTable tt)
Get the legacy table name associated with the given temp table.
|
protected void |
mapClass(TempTable tt)
Register the mappings for the specified temp table.
|
protected java.util.Map<java.lang.Integer,TableMapper.LegacyTableInfo> |
p2j()
Get the mapping of temp-table IDs to
TableMapper.LegacyTableInfo instances. |
protected void |
removeClass(TempTable tt)
Remove the mappings for the specified temp table.
|
clear, denormalizedProperty, findJoiningIndex, getCommonFields, getDenormalizedProperty, getDMOClass, getDMOClass, getExtent4GLName, getExtentValue, getFieldValue, getIndexFieldNames, getIndexName, getIndexName, getIndexName, getLegacyFieldColumnLabel, getLegacyFieldFormat, getLegacyFieldId, getLegacyFieldInfo, getLegacyFieldInfo, getLegacyFieldInitial, getLegacyFieldLabel, getLegacyFieldLiteralQuestion, getLegacyFieldName, getLegacyFieldName, getLegacyFieldName, getLegacyFieldNameMap, getLegacyFieldValidateExpression, getLegacyFieldValidateMessage, getLegacyIndexInfo, getLegacyIndexInfo, getLegacyIndexInfo, getLegacyIndexInfoString, getLegacyIndexName, getLegacyIndexName, getLegacyIndexName, getLegacyName, getLegacyName, getLegacyName, getLegacyProperties, getNumFields, getNumFields, getNumFields, getPropertyName, getPropertyName, getPropertyName, getPropertyName, getPropertyName, getPropertyName, getPropertyName, getPropertyName, getPropertyName, getPropertyName, getPropertyName, getPropertyName, hasValidation, isLegacyFieldMandatory, legacyFieldInfo, legacyFieldName, legacyIndexInfo, legacyIndexName, legacyName, mapPermanentDMO, mapTemporaryTable, propertyName, removeClass, removeDynamicTempTables, removePermanentSchema, removeTemporaryTable, setLegacyFieldColumnLabel, setLegacyFieldFormat, setLegacyFieldLabel, setLegacyFieldLiteralQuestion, setLegacyFieldValidateExpression, setLegacyFieldValidateMessage, validation
private final java.util.Map<java.lang.Class<?>,TableMapper.LegacyTableInfo> j2p
TableMapper.LegacyTableInfo
instancesprivate final java.util.Map<java.lang.Integer,TableMapper.LegacyTableInfo> p2j
TableMapper.LegacyTableInfo
instancesprotected void mapClass(TempTable tt)
tt
- The temp-table which needs to be mapped.java.lang.NullPointerException
- If the associated DMO class does not have a LegacyTable
annotation.protected void removeClass(TempTable tt)
tt
- Temp table object.protected java.lang.String legacyName(TempTable tt)
tt
- Temp table object.protected java.util.Map<java.lang.Integer,TableMapper.LegacyTableInfo> p2j()
TableMapper.LegacyTableInfo
instances.p2j
in class TableMapper<java.lang.Integer>
protected java.util.Map<java.lang.Class<?>,TableMapper.LegacyTableInfo> j2p()
TableMapper.LegacyTableInfo
instances.j2p
in class TableMapper<java.lang.Integer>
private TableMapper.LegacyFieldInfo legacyFieldInfo(TempTable tt, java.lang.String property)
tt
- Temp table object.property
- The DMO property name.null
if there is no such field.private TableMapper.LegacyIndexInfo legacyIndexInfo(TempTable tt, int indexNum)
tt
- Temp table object.indexNum
- 0-based index number in the index definition order.null
if there is no index
with the given number.protected java.lang.String legacyIndexName(TempTable tt, java.lang.String idx)
tt
- Temp table object.idx
- The converted index name.null
if there is no such index defined.protected abstract java.lang.Integer getLegacyKey(TempTable tt)
tt
- Temp table object.