public class StructuredDescriptionAggregation extends DescriptionAggregationBase<StructuredDescriptionAggregation,StructuredDescriptionAggregationConfiguration>
DescriptiveDataSet
.SpecimenDescription
s belonging to this data set a new
aggregated TaxonDescription
s are created for every taxon the
specimens are directly associated with.DescriptionAggregationBase.ResultHolder
logger
Constructor and Description |
---|
StructuredDescriptionAggregation() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAggregationResultToDescription(TaxonDescription targetDescription,
DescriptionAggregationBase.ResultHolder resultHolder) |
protected void |
aggregateToParentTaxon(TaxonNode taxonNode,
DescriptionAggregationBase.ResultHolder resultHolder,
java.util.Set<TaxonDescription> excludedDescriptions) |
protected void |
aggregateWithinSingleTaxon(Taxon taxon,
DescriptionAggregationBase.ResultHolder resultHolder,
java.util.Set<TaxonDescription> excludedDescriptions) |
protected TaxonDescription |
createNewDescription(Taxon taxon) |
protected eu.etaxonomy.cdm.api.service.description.StructuredDescriptionAggregation.StructuredDescriptionResultHolder |
createResultHolder() |
protected java.util.List<java.lang.String> |
descriptionInitStrategy() |
static QuantitativeData |
handleMissingMinOrMax(QuantitativeData aggQD,
MissingMinimumMode missingMinMode,
MissingMaximumMode missingMaxMode) |
protected boolean |
hasDescriptionType(TaxonDescription description) |
protected void |
initTransaction()
hook for initializing object when a new transaction starts
|
protected java.lang.String |
pluralDataType() |
protected void |
preAggregate() |
protected void |
removeDescriptionIfEmpty(TaxonDescription description) |
protected void |
setDescriptionTitle(TaxonDescription description,
Taxon taxon) |
accumulateSingleTaxon, addSourcesDeduplicated, aggregate, beginTask, commitTransaction, doInvoke, done, getClassificationService, getConfig, getDescriptionService, getDescriptiveDatasetService, getMonitor, getRepository, getResult, getSession, getTaxonNodeService, getTaxonService, getTermService, getTransactionManager, invoke, setBatchMinFreeHeap, startTransaction, subTask, taxonToString, worked, workedAndNewTask
protected java.lang.String pluralDataType()
protected void preAggregate()
protected void setDescriptionTitle(TaxonDescription description, Taxon taxon)
protected TaxonDescription createNewDescription(Taxon taxon)
protected boolean hasDescriptionType(TaxonDescription description)
protected java.util.List<java.lang.String> descriptionInitStrategy()
protected void addAggregationResultToDescription(TaxonDescription targetDescription, DescriptionAggregationBase.ResultHolder resultHolder)
protected void initTransaction()
DescriptionAggregationBase
protected void removeDescriptionIfEmpty(TaxonDescription description)
protected void aggregateToParentTaxon(TaxonNode taxonNode, DescriptionAggregationBase.ResultHolder resultHolder, java.util.Set<TaxonDescription> excludedDescriptions)
protected void aggregateWithinSingleTaxon(Taxon taxon, DescriptionAggregationBase.ResultHolder resultHolder, java.util.Set<TaxonDescription> excludedDescriptions)
protected eu.etaxonomy.cdm.api.service.description.StructuredDescriptionAggregation.StructuredDescriptionResultHolder createResultHolder()
public static QuantitativeData handleMissingMinOrMax(QuantitativeData aggQD, MissingMinimumMode missingMinMode, MissingMaximumMode missingMaxMode)
Copyright © 2007-2020 EDIT. All Rights Reserved.