public class TypeConverterResolver extends com.appiancorp.type.TypeMappingResolver<TypeConverter>
TypeConverter
's
classes used for conversions between frontend and backend data representation.Modifier and Type | Field and Description |
---|---|
protected static TypeConverterResolver |
INSTANCE |
Modifier | Constructor and Description |
---|---|
protected |
TypeConverterResolver() |
Modifier and Type | Method and Description |
---|---|
static void |
createTypeConverterMappings(java.util.Map<java.lang.Long,TypeConverter> m) |
protected TypeConverter |
getSystemTypeMapping(java.lang.Long datatypeId,
com.appiancorp.type.ExtendedDataTypeProvider dtProvider) |
static TypeConverter |
getTypeConverter(java.lang.Long datatypeId)
BEFORE calling this, check if the Parameter/ReturnConversionMap has a better version
to return.
|
static boolean |
hasTypeConverter(java.lang.Long datatypeId) |
protected static final TypeConverterResolver INSTANCE
public static TypeConverter getTypeConverter(java.lang.Long datatypeId) throws InvalidTypeException
TypeConverter
instance that is able to handle the frontend to/from
backend data conversions of a datatype's value of type datatypeId.InvalidTypeException
- if datatypeId is not a valid typejava.lang.NullPointerException
- if datatypeId is nullpublic static boolean hasTypeConverter(java.lang.Long datatypeId)
protected final TypeConverter getSystemTypeMapping(java.lang.Long datatypeId, com.appiancorp.type.ExtendedDataTypeProvider dtProvider) throws InvalidTypeException
getSystemTypeMapping
in class com.appiancorp.type.TypeMappingResolver<TypeConverter>
InvalidTypeException
public static void createTypeConverterMappings(java.util.Map<java.lang.Long,TypeConverter> m)
Copyright © 2003-2023 Appian Corporation. All Rights Reserved.