public abstract class AbstractCSVImporter extends Object implements ICsvImporter
| Modifier and Type | Field and Description |
|---|---|
protected Long |
FIRST_LINE_NUMBER |
protected static org.apache.commons.collections4.map.MultiKeyMap<Object,String> |
pz0CodeToAgrosystCode |
protected static org.apache.commons.collections4.map.MultiKeyMap<Object,Object> |
pz0IdToObject |
protected static org.apache.commons.collections4.map.MultiKeyMap<Object,Object> |
pz0IdToRelatedObjectId |
protected ServiceContext |
serviceContext |
protected ServiceFactory |
serviceFactory |
| Constructor and Description |
|---|
AbstractCSVImporter() |
| Modifier and Type | Method and Description |
|---|---|
String |
csvCodeToAgrosystCode(Class _class,
String csvCode)
Convert csv code to Agrosyst code format.
|
AgrosystTopiaPersistenceContext |
getPersistenceContext() |
ServiceFactory |
getServiceFactory() |
void |
init(ServiceContext serviceContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitimportFromStreamprotected ServiceContext serviceContext
protected ServiceFactory serviceFactory
protected static org.apache.commons.collections4.map.MultiKeyMap<Object,String> pz0CodeToAgrosystCode
protected static org.apache.commons.collections4.map.MultiKeyMap<Object,Object> pz0IdToObject
protected static org.apache.commons.collections4.map.MultiKeyMap<Object,Object> pz0IdToRelatedObjectId
protected final Long FIRST_LINE_NUMBER
public AgrosystTopiaPersistenceContext getPersistenceContext()
public ServiceFactory getServiceFactory()
public void init(ServiceContext serviceContext)
init in interface ICsvImporterpublic String csvCodeToAgrosystCode(Class _class, String csvCode)
_class - the class of the targeted codecsvCode - the csv codeCopyright © 2013–2015 Inra. All rights reserved.