Package cdm.product.asset
Class BoundedVariance.BoundedVarianceBuilderImpl
java.lang.Object
cdm.product.asset.BoundedVariance.BoundedVarianceBuilderImpl
- All Implemented Interfaces:
BoundedVariance,BoundedVariance.BoundedVarianceBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
BoundedVariance
public static class BoundedVariance.BoundedVarianceBuilderImpl
extends Object
implements BoundedVariance.BoundedVarianceBuilder
Builder Implementation of BoundedVariance
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.BoundedVariance
BoundedVariance.BoundedVarianceBuilder, BoundedVariance.BoundedVarianceBuilderImpl, BoundedVariance.BoundedVarianceImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected BigDecimalprotected RealisedVarianceMethodEnumprotected BigDecimalFields inherited from interface cdm.product.asset.BoundedVariance
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe contract specifies whether the notional should be scaled by the Number of Days in Range divided by the Expected N.All observations below this price level will be excluded from the variance calculation.The contract specifies which price must satisfy the boundary condition.All observations above this price level will be excluded from the variance calculation.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setDaysInRangeAdjustment(Boolean _daysInRangeAdjustment) setLowerBarrier(BigDecimal _lowerBarrier) setRealisedVarianceMethod(RealisedVarianceMethodEnum _realisedVarianceMethod) setUpperBarrier(BigDecimal _upperBarrier) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.BoundedVariance
getType, metaData, processMethods inherited from interface cdm.product.asset.BoundedVariance.BoundedVarianceBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
realisedVarianceMethod
-
daysInRangeAdjustment
-
upperBarrier
-
lowerBarrier
-
-
Constructor Details
-
BoundedVarianceBuilderImpl
public BoundedVarianceBuilderImpl()
-
-
Method Details
-
getRealisedVarianceMethod
@RosettaAttribute(value="realisedVarianceMethod", isRequired=true) @RuneAttribute(value="realisedVarianceMethod", isRequired=true) public RealisedVarianceMethodEnum getRealisedVarianceMethod()Description copied from interface:BoundedVarianceThe contract specifies which price must satisfy the boundary condition.- Specified by:
getRealisedVarianceMethodin interfaceBoundedVariance
-
getDaysInRangeAdjustment
@RosettaAttribute(value="daysInRangeAdjustment", isRequired=true) @RuneAttribute(value="daysInRangeAdjustment", isRequired=true) public Boolean getDaysInRangeAdjustment()Description copied from interface:BoundedVarianceThe contract specifies whether the notional should be scaled by the Number of Days in Range divided by the Expected N. The number of Days in Ranges refers to the number of returns that contribute to the realized volatility.- Specified by:
getDaysInRangeAdjustmentin interfaceBoundedVariance
-
getUpperBarrier
@RosettaAttribute("upperBarrier") @RuneAttribute("upperBarrier") public BigDecimal getUpperBarrier()Description copied from interface:BoundedVarianceAll observations above this price level will be excluded from the variance calculation.- Specified by:
getUpperBarrierin interfaceBoundedVariance
-
getLowerBarrier
@RosettaAttribute("lowerBarrier") @RuneAttribute("lowerBarrier") public BigDecimal getLowerBarrier()Description copied from interface:BoundedVarianceAll observations below this price level will be excluded from the variance calculation.- Specified by:
getLowerBarrierin interfaceBoundedVariance
-
setRealisedVarianceMethod
@RosettaAttribute(value="realisedVarianceMethod", isRequired=true) @RuneAttribute(value="realisedVarianceMethod", isRequired=true) public BoundedVariance.BoundedVarianceBuilder setRealisedVarianceMethod(RealisedVarianceMethodEnum _realisedVarianceMethod) - Specified by:
setRealisedVarianceMethodin interfaceBoundedVariance.BoundedVarianceBuilder
-
setDaysInRangeAdjustment
@RosettaAttribute(value="daysInRangeAdjustment", isRequired=true) @RuneAttribute(value="daysInRangeAdjustment", isRequired=true) public BoundedVariance.BoundedVarianceBuilder setDaysInRangeAdjustment(Boolean _daysInRangeAdjustment) - Specified by:
setDaysInRangeAdjustmentin interfaceBoundedVariance.BoundedVarianceBuilder
-
setUpperBarrier
@RosettaAttribute("upperBarrier") @RuneAttribute("upperBarrier") public BoundedVariance.BoundedVarianceBuilder setUpperBarrier(BigDecimal _upperBarrier) - Specified by:
setUpperBarrierin interfaceBoundedVariance.BoundedVarianceBuilder
-
setLowerBarrier
@RosettaAttribute("lowerBarrier") @RuneAttribute("lowerBarrier") public BoundedVariance.BoundedVarianceBuilder setLowerBarrier(BigDecimal _lowerBarrier) - Specified by:
setLowerBarrierin interfaceBoundedVariance.BoundedVarianceBuilder
-
build
Description copied from interface:BoundedVarianceBuild Methods- Specified by:
buildin interfaceBoundedVariance- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceBoundedVariance- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceBoundedVariance.BoundedVarianceBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public BoundedVariance.BoundedVarianceBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-