public class DefaultAtlasConversionService extends Object implements io.atlasmap.spi.AtlasConversionService
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
boxOrUnboxPrimitive(Class<?> clazz) |
Class<?> |
boxOrUnboxPrimitive(String clazzName) |
Class<?> |
classFromFieldType(io.atlasmap.v2.FieldType fieldType) |
Object |
convertType(Object sourceValue,
io.atlasmap.v2.FieldType origSourceType,
io.atlasmap.v2.FieldType targetType) |
Object |
convertType(Object sourceValue,
String sourceFormat,
Class<?> targetType,
String targetFormat) |
Object |
convertType(Object sourceValue,
String sourceFormat,
io.atlasmap.v2.FieldType targetType,
String targetFormat) |
Object |
copyPrimitive(Object sourceValue) |
io.atlasmap.v2.FieldType |
fieldTypeFromClass(Class<?> clazz) |
io.atlasmap.v2.FieldType |
fieldTypeFromClass(String className) |
Optional<io.atlasmap.spi.AtlasConverter<?>> |
findMatchingConverter(io.atlasmap.v2.FieldType source,
io.atlasmap.v2.FieldType target) |
Optional<io.atlasmap.spi.AtlasConverter<?>> |
findMatchingConverter(String sourceClassName,
String targetClassName) |
static DefaultAtlasConversionService |
getInstance() |
Boolean |
isAssignableFieldType(io.atlasmap.v2.FieldType source,
io.atlasmap.v2.FieldType target) |
Boolean |
isBoxedPrimitive(Class<?> clazz) |
boolean |
isConvertionAvailableFor(Object sourceValue,
Class<?> targetType) |
Boolean |
isPrimitive(Class<?> clazz) |
Boolean |
isPrimitive(io.atlasmap.v2.FieldType fieldType) |
Boolean |
isPrimitive(String className) |
static Set<String> |
listPrimitiveClassNames() |
public static DefaultAtlasConversionService getInstance()
public Optional<io.atlasmap.spi.AtlasConverter<?>> findMatchingConverter(io.atlasmap.v2.FieldType source, io.atlasmap.v2.FieldType target)
findMatchingConverter in interface io.atlasmap.spi.AtlasConversionServicepublic Optional<io.atlasmap.spi.AtlasConverter<?>> findMatchingConverter(String sourceClassName, String targetClassName)
findMatchingConverter in interface io.atlasmap.spi.AtlasConversionServicepublic Object copyPrimitive(Object sourceValue)
copyPrimitive in interface io.atlasmap.spi.AtlasConversionServicepublic Object convertType(Object sourceValue, io.atlasmap.v2.FieldType origSourceType, io.atlasmap.v2.FieldType targetType) throws io.atlasmap.api.AtlasConversionException
convertType in interface io.atlasmap.spi.AtlasConversionServiceio.atlasmap.api.AtlasConversionExceptionpublic Object convertType(Object sourceValue, String sourceFormat, io.atlasmap.v2.FieldType targetType, String targetFormat) throws io.atlasmap.api.AtlasConversionException
convertType in interface io.atlasmap.spi.AtlasConversionServiceio.atlasmap.api.AtlasConversionExceptionpublic Object convertType(Object sourceValue, String sourceFormat, Class<?> targetType, String targetFormat) throws io.atlasmap.api.AtlasConversionException
convertType in interface io.atlasmap.spi.AtlasConversionServiceio.atlasmap.api.AtlasConversionExceptionpublic boolean isConvertionAvailableFor(Object sourceValue, Class<?> targetType)
isConvertionAvailableFor in interface io.atlasmap.spi.AtlasConversionServicepublic Boolean isPrimitive(String className)
isPrimitive in interface io.atlasmap.spi.AtlasConversionServicepublic Boolean isPrimitive(Class<?> clazz)
isPrimitive in interface io.atlasmap.spi.AtlasConversionServicepublic Boolean isPrimitive(io.atlasmap.v2.FieldType fieldType)
isPrimitive in interface io.atlasmap.spi.AtlasConversionServicepublic Boolean isBoxedPrimitive(Class<?> clazz)
isBoxedPrimitive in interface io.atlasmap.spi.AtlasConversionServicepublic Class<?> boxOrUnboxPrimitive(String clazzName)
boxOrUnboxPrimitive in interface io.atlasmap.spi.AtlasConversionServicepublic Class<?> boxOrUnboxPrimitive(Class<?> clazz)
boxOrUnboxPrimitive in interface io.atlasmap.spi.AtlasConversionServicepublic io.atlasmap.v2.FieldType fieldTypeFromClass(Class<?> clazz)
fieldTypeFromClass in interface io.atlasmap.spi.AtlasConversionServicepublic io.atlasmap.v2.FieldType fieldTypeFromClass(String className)
fieldTypeFromClass in interface io.atlasmap.spi.AtlasConversionServicepublic Class<?> classFromFieldType(io.atlasmap.v2.FieldType fieldType)
classFromFieldType in interface io.atlasmap.spi.AtlasConversionServicepublic Boolean isAssignableFieldType(io.atlasmap.v2.FieldType source, io.atlasmap.v2.FieldType target)
isAssignableFieldType in interface io.atlasmap.spi.AtlasConversionServiceCopyright © 2021 JBoss by Red Hat. All rights reserved.