public class DbImportDistributionCreationMapper<STATE extends DbImportStateBase<?,?>> extends DbImportDescriptionElementCreationMapperBase<Distribution,DbImportStateBase<?,?>>
Modifier and Type | Field and Description |
---|---|
protected PresenceAbsenceTerm |
status |
dbCitationAttribute, dbMicroCitationAttribute, dbTaxonFkAttribute, isImageGallery, sourceNamespace, taxonNamespace
dbIdAttribute, objectToCreateNamespace
importMapperHelper
singleMappers
Modifier | Constructor and Description |
---|---|
protected |
DbImportDistributionCreationMapper(java.lang.String dbIdAttribute,
java.lang.String objectToCreateNamespace,
java.lang.String dbTaxonFkAttribute,
java.lang.String taxonNamespace,
PresenceAbsenceTerm status) |
Modifier and Type | Method and Description |
---|---|
protected Distribution |
createObject(java.sql.ResultSet rs)
This method creates the object to be created.
|
static DbImportDistributionCreationMapper<?> |
NewFixedStatusInstance(java.lang.String dbIdAttribute,
java.lang.String objectToCreateNamespace,
java.lang.String dbTaxonFkAttribute,
java.lang.String taxonNamespace,
PresenceAbsenceTerm status)
Creates a Distribution with status
status and adds it to the description of a taxon. |
static DbImportDistributionCreationMapper<?> |
NewInstance(java.lang.String dbIdAttribute,
java.lang.String objectToCreateNamespace,
java.lang.String dbTaxonFkAttribute,
java.lang.String taxonNamespace)
Creates a Distribution and adds it to the description of a taxon.
|
addDescriptionElement, doInvoke, getAcceptedTaxon, getTaxonDescription, setSource
addOriginalSource, getTransformer, invoke
getForeignKey, getRelatedObject, getRelatedObject, getState, initialize
getDestinationAttributeList, getDestinationAttributes, getSourceAttributeList, getSourceAttributes, getStringDbValue
toString
protected PresenceAbsenceTerm status
protected DbImportDistributionCreationMapper(java.lang.String dbIdAttribute, java.lang.String objectToCreateNamespace, java.lang.String dbTaxonFkAttribute, java.lang.String taxonNamespace, PresenceAbsenceTerm status)
public static DbImportDistributionCreationMapper<?> NewInstance(java.lang.String dbIdAttribute, java.lang.String objectToCreateNamespace, java.lang.String dbTaxonFkAttribute, java.lang.String taxonNamespace)
dbIdAttribute
- objectToCreateNamespace
- dbTaxonFkAttribute
- taxonNamespace
- public static DbImportDistributionCreationMapper<?> NewFixedStatusInstance(java.lang.String dbIdAttribute, java.lang.String objectToCreateNamespace, java.lang.String dbTaxonFkAttribute, java.lang.String taxonNamespace, PresenceAbsenceTerm status)
status
and adds it to the description of a taxon.protected Distribution createObject(java.sql.ResultSet rs) throws java.sql.SQLException
DbImportObjectCreationMapperBase
createObject
in class DbImportObjectCreationMapperBase<Distribution,DbImportStateBase<?,?>>
rs
- The result setjava.sql.SQLException
Copyright © 2007-2020 EDIT. All Rights Reserved.