public abstract class DerivedObject extends FeatureSingleObject
Constructor and Description |
---|
DerivedObject() |
Modifier and Type | Method and Description |
---|---|
protected abstract ChildCacheName |
cacheName() |
double |
calculate(FeatureCalculationInput<FeatureInputSingleObject> input)
Calculates a value for some input.
|
protected abstract CalculationPart<ObjectMask,FeatureInputSingleObject> |
createCachedCalculationForDerived(CalculationPartResolver<FeatureInputSingleObject> session) |
double |
getEmptyValue() |
Feature<FeatureInputSingleObject> |
getItem() |
void |
setEmptyValue(double emptyValue) |
void |
setItem(Feature<FeatureInputSingleObject> item) |
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public double calculate(FeatureCalculationInput<FeatureInputSingleObject> input) throws FeatureCalculationException
Feature
calculate
in class Feature<FeatureInputSingleObject>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.protected abstract CalculationPart<ObjectMask,FeatureInputSingleObject> createCachedCalculationForDerived(CalculationPartResolver<FeatureInputSingleObject> session) throws FeatureCalculationException
FeatureCalculationException
protected abstract ChildCacheName cacheName()
public double getEmptyValue()
public void setEmptyValue(double emptyValue)
public Feature<FeatureInputSingleObject> getItem()
public void setItem(Feature<FeatureInputSingleObject> item)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.