Class AbstractImportModel<E>
java.lang.Object
org.nuiton.csv.ext.AbstractImportModel<E>
org.nuiton.topia.persistence.csv.in.AbstractImportModel<E>
- Type Parameters:
E- type of entity to import
- All Implemented Interfaces:
org.nuiton.csv.ImportModel<E>
- Direct Known Subclasses:
EntityAssociationImportModel
public abstract class AbstractImportModel<E>
extends org.nuiton.csv.ext.AbstractImportModel<E>
Abstract import model which add the useful methdo about importing foreign keys.
- Since:
- 2.6.12
- Author:
- tchemit <chemit@codelutin.com>
-
Field Summary
Fields inherited from class org.nuiton.csv.ext.AbstractImportModel
modelBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E extends TopiaEntity>
voidnewForeignKeyColumn(String propertyName, Class<E> entityType, String foreignKeyName, Map<String, E> universe) <E extends TopiaEntity>
voidnewForeignKeyColumn(String headerName, String propertyName, Class<E> entityType, String foreignKeyName, Map<String, E> universe) voidpushCsvHeaderNames(List<String> headerNames) Methods inherited from class org.nuiton.csv.ext.AbstractImportModel
getColumnsForImport, getSeparator, newIgnoredColumn, newMandatoryColumn, newMandatoryColumn, newMandatoryColumn, newMandatoryColumn, newMandatoryColumn, newMandatoryColumn, newOptionalColumn, newOptionalColumn, newOptionalColumn, newOptionalColumn, newOptionalColumn, newOptionalColumnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuiton.csv.ImportModel
newEmptyInstance
-
Constructor Details
-
AbstractImportModel
public AbstractImportModel(char separator)
-
-
Method Details