public class DbImportImageCreationMapper extends DbImportDescriptionElementCreationMapperBase<TextData,DbImportStateBase<?,?>>
dbCitationAttribute, dbMicroCitationAttribute, dbTaxonFkAttribute, isImageGallery, sourceNamespace, taxonNamespace
dbIdAttribute, objectToCreateNamespace
importMapperHelper
singleMappers
Modifier | Constructor and Description |
---|---|
protected |
DbImportImageCreationMapper(java.lang.String dbIdAttribute,
java.lang.String objectToCreateNamespace,
java.lang.String dbTaxonFkAttribute,
java.lang.String taxonNamespace,
boolean isOneTextData) |
Modifier and Type | Method and Description |
---|---|
protected TextData |
addDescriptionElement(Taxon taxon,
TextData element)
Adds a description element to the taxon's first description which is not an image gallery.
|
protected TextData |
createObject(java.sql.ResultSet rs)
This method creates the object to be created.
|
static DbImportImageCreationMapper |
NewInstance(java.lang.String dbIdAttribute,
java.lang.String objectToCreateNamespace,
java.lang.String dbTaxonFkAttribute,
java.lang.String taxonNamespace,
boolean isOneTextData) |
doInvoke, getAcceptedTaxon, getTaxonDescription, setSource
addOriginalSource, getTransformer, invoke
getForeignKey, getRelatedObject, getRelatedObject, getState, initialize
getDestinationAttributeList, getDestinationAttributes, getSourceAttributeList, getSourceAttributes, getStringDbValue
toString
protected DbImportImageCreationMapper(java.lang.String dbIdAttribute, java.lang.String objectToCreateNamespace, java.lang.String dbTaxonFkAttribute, java.lang.String taxonNamespace, boolean isOneTextData)
public static DbImportImageCreationMapper NewInstance(java.lang.String dbIdAttribute, java.lang.String objectToCreateNamespace, java.lang.String dbTaxonFkAttribute, java.lang.String taxonNamespace, boolean isOneTextData)
protected TextData createObject(java.sql.ResultSet rs) throws java.sql.SQLException
DbImportObjectCreationMapperBase
createObject
in class DbImportObjectCreationMapperBase<TextData,DbImportStateBase<?,?>>
rs
- The result setjava.sql.SQLException
protected TextData addDescriptionElement(Taxon taxon, TextData element)
DbImportDescriptionElementCreationMapperBase
addDescriptionElement
in class DbImportDescriptionElementCreationMapperBase<TextData,DbImportStateBase<?,?>>
Copyright © 2007-2020 EDIT. All Rights Reserved.