Package io.atlasmap.spi
Interface AtlasPropertyStrategy
- All Known Implementing Classes:
CamelAtlasPropertyStrategy
,DefaultAtlasPropertyStrategy
public interface AtlasPropertyStrategy
A plug-in interface for property strategy which read a source property and write a target property.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
readProperty
(AtlasSession session, PropertyField propertyField) Read a source property value and set into source Field.void
writeProperty
(AtlasSession session, PropertyField propertyField) Write a target property value from target Field.
-
Method Details
-
readProperty
void readProperty(AtlasSession session, PropertyField propertyField) throws AtlasUnsupportedException, AtlasConversionException Read a source property value and set into source Field.- Parameters:
session
-AtlasSession
propertyField
- sourcePropertyField
to set a property value- Throws:
AtlasUnsupportedException
- if reading property is not supportedAtlasConversionException
- if type conversion fails
-
writeProperty
void writeProperty(AtlasSession session, PropertyField propertyField) throws AtlasUnsupportedException, AtlasConversionException Write a target property value from target Field.- Parameters:
session
-AtlasSession
propertyField
- targetPropertyField
to read a property value from- Throws:
AtlasUnsupportedException
- if reading property is not supportedAtlasConversionException
- if type conversion fails
-