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