Package cdm.product.template
Class PartialExercise.PartialExerciseBuilderImpl
java.lang.Object
cdm.product.template.PartialExercise.PartialExerciseBuilderImpl
- All Implemented Interfaces:
PartialExercise,PartialExercise.PartialExerciseBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Direct Known Subclasses:
MultipleExercise.MultipleExerciseBuilderImpl
- Enclosing interface:
PartialExercise
public static class PartialExercise.PartialExerciseBuilderImpl
extends Object
implements PartialExercise.PartialExerciseBuilder
Builder Implementation of PartialExercise
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.PartialExercise
PartialExercise.PartialExerciseBuilder, PartialExercise.PartialExerciseBuilderImpl, PartialExercise.PartialExerciseImpl -
Field Summary
FieldsFields inherited from interface cdm.product.template.PartialExercise
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanA notional amount which restricts the amount of notional that can be exercised when partial exercise or multiple exercise is applicable.The minimum notional amount that can be exercised on a given exercise date.The minimum number of options that can be exercised on a given exercise date.A pointer style reference to the associated notional schedule defined elsewhere in the document.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setIntegralMultipleAmount(BigDecimal _integralMultipleAmount) setMinimumNotionalAmount(BigDecimal _minimumNotionalAmount) setMinimumNumberOfOptions(Integer _minimumNumberOfOptions) setNotionaReference(ReferenceWithMetaMoney _notionaReference) setNotionaReferenceValue(Money _notionaReference) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.template.PartialExercise
getType, metaData, processMethods inherited from interface cdm.product.template.PartialExercise.PartialExerciseBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
notionaReference
-
integralMultipleAmount
-
minimumNotionalAmount
-
minimumNumberOfOptions
-
-
Constructor Details
-
PartialExerciseBuilderImpl
public PartialExerciseBuilderImpl()
-
-
Method Details
-
getNotionaReference
@RosettaAttribute(value="notionaReference", isRequired=true) @RuneAttribute(value="notionaReference", isRequired=true) public ReferenceWithMetaMoney.ReferenceWithMetaMoneyBuilder getNotionaReference()Description copied from interface:PartialExerciseA pointer style reference to the associated notional schedule defined elsewhere in the document. This element has been made optional as part of its integration in the OptionBaseExtended, because not required for the options on securities.- Specified by:
getNotionaReferencein interfacePartialExercise- Specified by:
getNotionaReferencein interfacePartialExercise.PartialExerciseBuilder
-
getOrCreateNotionaReference
- Specified by:
getOrCreateNotionaReferencein interfacePartialExercise.PartialExerciseBuilder
-
getIntegralMultipleAmount
@RosettaAttribute("integralMultipleAmount") @RuneAttribute("integralMultipleAmount") public BigDecimal getIntegralMultipleAmount()Description copied from interface:PartialExerciseA notional amount which restricts the amount of notional that can be exercised when partial exercise or multiple exercise is applicable. The integral multiple amount defines a lower limit of notional that can be exercised and also defines a unit multiple of notional that can be exercised, i.e. only integer multiples of this amount can be exercised.- Specified by:
getIntegralMultipleAmountin interfacePartialExercise
-
getMinimumNotionalAmount
@RosettaAttribute("minimumNotionalAmount") @RuneAttribute("minimumNotionalAmount") public BigDecimal getMinimumNotionalAmount()Description copied from interface:PartialExerciseThe minimum notional amount that can be exercised on a given exercise date. See multipleExercise.- Specified by:
getMinimumNotionalAmountin interfacePartialExercise
-
getMinimumNumberOfOptions
@RosettaAttribute("minimumNumberOfOptions") @RuneAttribute("minimumNumberOfOptions") public Integer getMinimumNumberOfOptions()Description copied from interface:PartialExerciseThe minimum number of options that can be exercised on a given exercise date.- Specified by:
getMinimumNumberOfOptionsin interfacePartialExercise
-
setNotionaReference
@RosettaAttribute(value="notionaReference", isRequired=true) @RuneAttribute(value="notionaReference", isRequired=true) public PartialExercise.PartialExerciseBuilder setNotionaReference(ReferenceWithMetaMoney _notionaReference) - Specified by:
setNotionaReferencein interfacePartialExercise.PartialExerciseBuilder
-
setNotionaReferenceValue
- Specified by:
setNotionaReferenceValuein interfacePartialExercise.PartialExerciseBuilder
-
setIntegralMultipleAmount
@RosettaAttribute("integralMultipleAmount") @RuneAttribute("integralMultipleAmount") public PartialExercise.PartialExerciseBuilder setIntegralMultipleAmount(BigDecimal _integralMultipleAmount) - Specified by:
setIntegralMultipleAmountin interfacePartialExercise.PartialExerciseBuilder
-
setMinimumNotionalAmount
@RosettaAttribute("minimumNotionalAmount") @RuneAttribute("minimumNotionalAmount") public PartialExercise.PartialExerciseBuilder setMinimumNotionalAmount(BigDecimal _minimumNotionalAmount) - Specified by:
setMinimumNotionalAmountin interfacePartialExercise.PartialExerciseBuilder
-
setMinimumNumberOfOptions
@RosettaAttribute("minimumNumberOfOptions") @RuneAttribute("minimumNumberOfOptions") public PartialExercise.PartialExerciseBuilder setMinimumNumberOfOptions(Integer _minimumNumberOfOptions) - Specified by:
setMinimumNumberOfOptionsin interfacePartialExercise.PartialExerciseBuilder
-
build
Description copied from interface:PartialExerciseBuild Methods- Specified by:
buildin interfacePartialExercise- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePartialExercise- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfacePartialExercise.PartialExerciseBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public PartialExercise.PartialExerciseBuilder 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
-