org.molgenis.oneclickimporter.service.EntityService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of molgenis-one-click-importer Show documentation
Show all versions of molgenis-one-click-importer Show documentation
Plugin module for importing data with automatic metadata determination (not part of
the importer
framework).
package org.molgenis.oneclickimporter.service;
import org.molgenis.data.meta.model.EntityType;
import org.molgenis.oneclickimporter.model.DataCollection;
public interface EntityService {
/**
* Create one {@link EntityType} from a {@link DataCollection} Uses file name to find a package.
* If the package does not exist, it is created
*
* @param dataCollection
* @param packageName
* @return a newly created {@link EntityType}
*/
EntityType createEntityType(DataCollection dataCollection, String packageName);
}