com.partnersoft.maps.translator
Interface MapDataMerge

All Superinterfaces:
Coggable
All Known Implementing Classes:
AbstractMapDataMerge, DataRecordSourceMapDataMerge

public interface MapDataMerge
extends Coggable

Configuration and code for data to be imported and merged into map data during translation.

Copyright 2010 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Method Summary
 java.util.List<MapDataMergeField> getMergeFields()
          List of specific dataType/field combinations that this data will be merged with.
 java.lang.String getName()
          Descriptive name for this import, also used as the filename for the configuration stored in translator/merges/
 java.lang.String getTableName()
           
 void importData(TranslationDatabase database)
          Import the data from its source into the translation database.
 void mergeData(TranslationDatabase database, java.lang.String dataType, Naming data)
          Perform the merge into the given data.
 void setMergeFields(java.util.List<MapDataMergeField> newFields)
           
 void setName(java.lang.String newName)
           
 
Methods inherited from interface com.partnersoft.cog.Coggable
toCog
 

Method Detail

getName

java.lang.String getName()
Descriptive name for this import, also used as the filename for the configuration stored in translator/merges/


setName

void setName(java.lang.String newName)

getMergeFields

java.util.List<MapDataMergeField> getMergeFields()
List of specific dataType/field combinations that this data will be merged with.


setMergeFields

void setMergeFields(java.util.List<MapDataMergeField> newFields)

importData

void importData(TranslationDatabase database)
Import the data from its source into the translation database.


mergeData

void mergeData(TranslationDatabase database,
               java.lang.String dataType,
               Naming data)
Perform the merge into the given data.


getTableName

java.lang.String getTableName()