public class DefaultEntityConverter extends Object implements PropertyConverter<Object>
EntityRegistration to resolve entities by their unique property.
If an entity has more than one unique property, one should use UniquePropertyEntityConverter instead.
If an entity has no unique property or some other kind of key is used as reference in the CSV files, one can use
MapConverter.| Constructor and Description |
|---|
DefaultEntityConverter(EntityRegistration entityRegistration) |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Class<? extends Object> targetType,
String value)
Converts a value from import file to Java.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof@ConstructorProperties(value="entityRegistration") @Generated(value="lombok") public DefaultEntityConverter(EntityRegistration entityRegistration)
public Object convert(Class<? extends Object> targetType, String value)
PropertyConverterconvert in interface PropertyConverter<Object>targetType - the type of the target propertyvalue - the value in the import fileCopyright © 2020 fastnate.org. All rights reserved.