Package io.atlasmap.core
Class ConstantModule
java.lang.Object
io.atlasmap.core.ConstantModule
- All Implemented Interfaces:
AtlasModule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncloneField
(Field field) void
destroy()
getDocId()
getMode()
getUri()
void
init()
isSupportedField
(Field field) void
populateTargetField
(AtlasInternalSession session) Populate target field value, usually by just copy from source field value.void
void
void
void
void
void
processPreValidation
(AtlasInternalSession session) void
readSourceValue
(AtlasInternalSession session) Read source field value from source document and store into source field object.void
setClassLoader
(ClassLoader classLoader) void
setConversionService
(AtlasConversionService atlasConversionService) void
void
void
setDocName
(String docName) void
setFieldActionService
(AtlasFieldActionService atlasFieldActionService) void
setMode
(AtlasModuleMode atlasModuleMode) void
void
writeTargetValue
(AtlasInternalSession session) Write target field value into target document.
-
Constructor Details
-
ConstantModule
public ConstantModule()
-
-
Method Details
-
init
public void init()- Specified by:
init
in interfaceAtlasModule
-
destroy
public void destroy()- Specified by:
destroy
in interfaceAtlasModule
-
setClassLoader
- Specified by:
setClassLoader
in interfaceAtlasModule
-
getClassLoader
- Specified by:
getClassLoader
in interfaceAtlasModule
-
processPreValidation
- Specified by:
processPreValidation
in interfaceAtlasModule
- Throws:
AtlasException
-
processPreSourceExecution
- Specified by:
processPreSourceExecution
in interfaceAtlasModule
- Throws:
AtlasException
-
readSourceValue
Description copied from interface:AtlasModule
Read source field value from source document and store into source field object.- Specified by:
readSourceValue
in interfaceAtlasModule
- Parameters:
session
- current session- Throws:
AtlasException
- failed to read source value
-
processPostSourceExecution
- Specified by:
processPostSourceExecution
in interfaceAtlasModule
- Throws:
AtlasException
-
processPreTargetExecution
- Specified by:
processPreTargetExecution
in interfaceAtlasModule
- Throws:
AtlasException
-
populateTargetField
Description copied from interface:AtlasModule
Populate target field value, usually by just copy from source field value. Also apply type converters where it's needed.- Specified by:
populateTargetField
in interfaceAtlasModule
- Parameters:
session
- current session- Throws:
AtlasException
- failed to populate target field value
-
writeTargetValue
Description copied from interface:AtlasModule
Write target field value into target document.- Specified by:
writeTargetValue
in interfaceAtlasModule
- Parameters:
session
- current session- Throws:
AtlasException
- faield to write target field value
-
processPostTargetExecution
- Specified by:
processPostTargetExecution
in interfaceAtlasModule
- Throws:
AtlasException
-
processPostValidation
- Specified by:
processPostValidation
in interfaceAtlasModule
- Throws:
AtlasException
-
getMode
- Specified by:
getMode
in interfaceAtlasModule
-
setMode
- Specified by:
setMode
in interfaceAtlasModule
-
getConversionService
- Specified by:
getConversionService
in interfaceAtlasModule
-
setConversionService
- Specified by:
setConversionService
in interfaceAtlasModule
-
listSupportedModes
- Specified by:
listSupportedModes
in interfaceAtlasModule
-
getDocId
- Specified by:
getDocId
in interfaceAtlasModule
-
setDocId
- Specified by:
setDocId
in interfaceAtlasModule
-
getUri
- Specified by:
getUri
in interfaceAtlasModule
-
setUri
- Specified by:
setUri
in interfaceAtlasModule
-
isStatisticsSupported
- Specified by:
isStatisticsSupported
in interfaceAtlasModule
-
isStatisticsEnabled
- Specified by:
isStatisticsEnabled
in interfaceAtlasModule
-
isSupportedField
- Specified by:
isSupportedField
in interfaceAtlasModule
-
cloneField
- Specified by:
cloneField
in interfaceAtlasModule
- Throws:
AtlasException
-
getFieldActionService
- Specified by:
getFieldActionService
in interfaceAtlasModule
-
setFieldActionService
- Specified by:
setFieldActionService
in interfaceAtlasModule
-
getCollectionHelper
- Specified by:
getCollectionHelper
in interfaceAtlasModule
-
getUriDataType
- Specified by:
getUriDataType
in interfaceAtlasModule
-
getUriParameters
- Specified by:
getUriParameters
in interfaceAtlasModule
-
setDataSourceMetadata
- Specified by:
setDataSourceMetadata
in interfaceAtlasModule
-
getDataSourceMetadata
- Specified by:
getDataSourceMetadata
in interfaceAtlasModule
-
setDocName
- Specified by:
setDocName
in interfaceAtlasModule
-
getDocName
- Specified by:
getDocName
in interfaceAtlasModule
-
createField
- Specified by:
createField
in interfaceAtlasModule
-