Package cdm.base.staticdata.asset.common
Class ListedDerivative.ListedDerivativeBuilderImpl
java.lang.Object
cdm.base.staticdata.asset.common.AssetBase.AssetBaseBuilderImpl
cdm.base.staticdata.asset.common.InstrumentBase.InstrumentBaseBuilderImpl
cdm.base.staticdata.asset.common.ListedDerivative.ListedDerivativeBuilderImpl
- All Implemented Interfaces:
AssetBase,AssetBase.AssetBaseBuilder,InstrumentBase,InstrumentBase.InstrumentBaseBuilder,ListedDerivative,ListedDerivative.ListedDerivativeBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
ListedDerivative
public static class ListedDerivative.ListedDerivativeBuilderImpl
extends InstrumentBase.InstrumentBaseBuilderImpl
implements ListedDerivative.ListedDerivativeBuilder
Builder Implementation of ListedDerivative
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.AssetBase
AssetBase.AssetBaseBuilder, AssetBase.AssetBaseBuilderImpl, AssetBase.AssetBaseImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.InstrumentBase
InstrumentBase.InstrumentBaseBuilder, InstrumentBase.InstrumentBaseBuilderImpl, InstrumentBase.InstrumentBaseImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.ListedDerivative
ListedDerivative.ListedDerivativeBuilder, ListedDerivative.ListedDerivativeBuilderImpl, ListedDerivative.ListedDerivativeImpl -
Field Summary
FieldsFields inherited from class cdm.base.staticdata.asset.common.InstrumentBase.InstrumentBaseBuilderImpl
instrumentTypeFields inherited from class cdm.base.staticdata.asset.common.AssetBase.AssetBaseBuilderImpl
exchange, identifier, isExchangeListed, relatedExchange, taxonomyFields inherited from interface cdm.base.staticdata.asset.common.InstrumentBase
metaDataFields inherited from interface cdm.base.staticdata.asset.common.ListedDerivative
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIdentifier(AssetIdentifier _identifier) addIdentifier(AssetIdentifier _identifier, int idx) addIdentifier(List<? extends AssetIdentifier> identifiers) addRelatedExchange(LegalEntity _relatedExchange) addRelatedExchange(LegalEntity _relatedExchange, int idx) addRelatedExchange(List<? extends LegalEntity> relatedExchanges) addTaxonomy(Taxonomy _taxonomy) addTaxonomy(Taxonomy _taxonomy, int idx) addTaxonomy(List<? extends Taxonomy> taxonomys) build()Build MethodsbooleanAlso called contract month or delivery month.The type of option, ie Put or Call.Specifies the strike of the option.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setDeliveryTerm(String _deliveryTerm) setExchange(LegalEntity _exchange) setIdentifier(List<? extends AssetIdentifier> identifiers) setInstrumentType(InstrumentTypeEnum _instrumentType) setIsExchangeListed(Boolean _isExchangeListed) setOptionType(PutCallEnum _optionType) setRelatedExchange(List<? extends LegalEntity> relatedExchanges) setStrike(BigDecimal _strike) setTaxonomy(List<? extends Taxonomy> taxonomys) toString()Methods inherited from class cdm.base.staticdata.asset.common.InstrumentBase.InstrumentBaseBuilderImpl
getInstrumentTypeMethods inherited from class cdm.base.staticdata.asset.common.AssetBase.AssetBaseBuilderImpl
getExchange, getIdentifier, getIsExchangeListed, getOrCreateExchange, getOrCreateIdentifier, getOrCreateRelatedExchange, getOrCreateTaxonomy, getRelatedExchange, getTaxonomyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.asset.common.AssetBase
getIsExchangeListedMethods inherited from interface cdm.base.staticdata.asset.common.AssetBase.AssetBaseBuilder
getExchange, getIdentifier, getOrCreateExchange, getOrCreateIdentifier, getOrCreateRelatedExchange, getOrCreateTaxonomy, getRelatedExchange, getTaxonomyMethods inherited from interface cdm.base.staticdata.asset.common.InstrumentBase
getInstrumentTypeMethods inherited from interface cdm.base.staticdata.asset.common.ListedDerivative
getType, metaData, processMethods inherited from interface cdm.base.staticdata.asset.common.ListedDerivative.ListedDerivativeBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
deliveryTerm
-
optionType
-
strike
-
-
Constructor Details
-
ListedDerivativeBuilderImpl
public ListedDerivativeBuilderImpl()
-
-
Method Details
-
getDeliveryTerm
@RosettaAttribute("deliveryTerm") @Accessor(GETTER) @RuneAttribute("deliveryTerm") public String getDeliveryTerm()Description copied from interface:ListedDerivativeAlso called contract month or delivery month. However, it's not always a month. It is usually expressed using a code, e.g. Z23 would be the Dec 2023 contract, (Z = December). For crude oil, the corresponding contract might be called CLZ23. Optional as this can be uniquely identified in the identifier.- Specified by:
getDeliveryTermin interfaceListedDerivative
-
getOptionType
@RosettaAttribute("optionType") @Accessor(GETTER) @RuneAttribute("optionType") public PutCallEnum getOptionType()Description copied from interface:ListedDerivativeThe type of option, ie Put or Call. Left empty if it is a Future.- Specified by:
getOptionTypein interfaceListedDerivative
-
getStrike
@RosettaAttribute("strike") @Accessor(GETTER) @RuneAttribute("strike") public BigDecimal getStrike()Description copied from interface:ListedDerivativeSpecifies the strike of the option.- Specified by:
getStrikein interfaceListedDerivative
-
addIdentifier
@RosettaAttribute("identifier") @Accessor(ADDER) @Required @Multi @RuneAttribute("identifier") public ListedDerivative.ListedDerivativeBuilder addIdentifier(AssetIdentifier _identifier) - Specified by:
addIdentifierin interfaceAssetBase.AssetBaseBuilder- Specified by:
addIdentifierin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addIdentifierin interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
addIdentifierin classInstrumentBase.InstrumentBaseBuilderImpl
-
addIdentifier
- Specified by:
addIdentifierin interfaceAssetBase.AssetBaseBuilder- Specified by:
addIdentifierin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addIdentifierin interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
addIdentifierin classInstrumentBase.InstrumentBaseBuilderImpl
-
addIdentifier
public ListedDerivative.ListedDerivativeBuilder addIdentifier(List<? extends AssetIdentifier> identifiers) - Specified by:
addIdentifierin interfaceAssetBase.AssetBaseBuilder- Specified by:
addIdentifierin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addIdentifierin interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
addIdentifierin classInstrumentBase.InstrumentBaseBuilderImpl
-
setIdentifier
@RosettaAttribute("identifier") @Accessor(SETTER) @Required @Multi @RuneAttribute("identifier") public ListedDerivative.ListedDerivativeBuilder setIdentifier(List<? extends AssetIdentifier> identifiers) - Specified by:
setIdentifierin interfaceAssetBase.AssetBaseBuilder- Specified by:
setIdentifierin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setIdentifierin interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
setIdentifierin classInstrumentBase.InstrumentBaseBuilderImpl
-
addTaxonomy
@RosettaAttribute("taxonomy") @Accessor(ADDER) @Multi @RuneAttribute("taxonomy") public ListedDerivative.ListedDerivativeBuilder addTaxonomy(Taxonomy _taxonomy) - Specified by:
addTaxonomyin interfaceAssetBase.AssetBaseBuilder- Specified by:
addTaxonomyin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addTaxonomyin interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
addTaxonomyin classInstrumentBase.InstrumentBaseBuilderImpl
-
addTaxonomy
- Specified by:
addTaxonomyin interfaceAssetBase.AssetBaseBuilder- Specified by:
addTaxonomyin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addTaxonomyin interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
addTaxonomyin classInstrumentBase.InstrumentBaseBuilderImpl
-
addTaxonomy
- Specified by:
addTaxonomyin interfaceAssetBase.AssetBaseBuilder- Specified by:
addTaxonomyin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addTaxonomyin interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
addTaxonomyin classInstrumentBase.InstrumentBaseBuilderImpl
-
setTaxonomy
@RosettaAttribute("taxonomy") @Accessor(SETTER) @Multi @RuneAttribute("taxonomy") public ListedDerivative.ListedDerivativeBuilder setTaxonomy(List<? extends Taxonomy> taxonomys) - Specified by:
setTaxonomyin interfaceAssetBase.AssetBaseBuilder- Specified by:
setTaxonomyin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setTaxonomyin interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
setTaxonomyin classInstrumentBase.InstrumentBaseBuilderImpl
-
setIsExchangeListed
@RosettaAttribute("isExchangeListed") @Accessor(SETTER) @RuneAttribute("isExchangeListed") public ListedDerivative.ListedDerivativeBuilder setIsExchangeListed(Boolean _isExchangeListed) - Specified by:
setIsExchangeListedin interfaceAssetBase.AssetBaseBuilder- Specified by:
setIsExchangeListedin interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setIsExchangeListedin interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
setIsExchangeListedin classInstrumentBase.InstrumentBaseBuilderImpl
-
setExchange
@RosettaAttribute("exchange") @Accessor(SETTER) @RuneAttribute("exchange") public ListedDerivative.ListedDerivativeBuilder setExchange(LegalEntity _exchange) - Specified by:
setExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
setExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setExchangein interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
setExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
addRelatedExchange
@RosettaAttribute("relatedExchange") @Accessor(ADDER) @Multi @RuneAttribute("relatedExchange") public ListedDerivative.ListedDerivativeBuilder addRelatedExchange(LegalEntity _relatedExchange) - Specified by:
addRelatedExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
addRelatedExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addRelatedExchangein interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
addRelatedExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
addRelatedExchange
public ListedDerivative.ListedDerivativeBuilder addRelatedExchange(LegalEntity _relatedExchange, int idx) - Specified by:
addRelatedExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
addRelatedExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addRelatedExchangein interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
addRelatedExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
addRelatedExchange
public ListedDerivative.ListedDerivativeBuilder addRelatedExchange(List<? extends LegalEntity> relatedExchanges) - Specified by:
addRelatedExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
addRelatedExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
addRelatedExchangein interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
addRelatedExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
setRelatedExchange
@RosettaAttribute("relatedExchange") @Accessor(SETTER) @Multi @RuneAttribute("relatedExchange") public ListedDerivative.ListedDerivativeBuilder setRelatedExchange(List<? extends LegalEntity> relatedExchanges) - Specified by:
setRelatedExchangein interfaceAssetBase.AssetBaseBuilder- Specified by:
setRelatedExchangein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setRelatedExchangein interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
setRelatedExchangein classInstrumentBase.InstrumentBaseBuilderImpl
-
setInstrumentType
@RosettaAttribute("instrumentType") @Accessor(SETTER) @Required @RuneAttribute("instrumentType") public ListedDerivative.ListedDerivativeBuilder setInstrumentType(InstrumentTypeEnum _instrumentType) - Specified by:
setInstrumentTypein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
setInstrumentTypein interfaceListedDerivative.ListedDerivativeBuilder- Overrides:
setInstrumentTypein classInstrumentBase.InstrumentBaseBuilderImpl
-
setDeliveryTerm
@RosettaAttribute("deliveryTerm") @Accessor(SETTER) @RuneAttribute("deliveryTerm") public ListedDerivative.ListedDerivativeBuilder setDeliveryTerm(String _deliveryTerm) - Specified by:
setDeliveryTermin interfaceListedDerivative.ListedDerivativeBuilder
-
setOptionType
@RosettaAttribute("optionType") @Accessor(SETTER) @RuneAttribute("optionType") public ListedDerivative.ListedDerivativeBuilder setOptionType(PutCallEnum _optionType) - Specified by:
setOptionTypein interfaceListedDerivative.ListedDerivativeBuilder
-
setStrike
@RosettaAttribute("strike") @Accessor(SETTER) @RuneAttribute("strike") public ListedDerivative.ListedDerivativeBuilder setStrike(BigDecimal _strike) - Specified by:
setStrikein interfaceListedDerivative.ListedDerivativeBuilder
-
build
Description copied from interface:AssetBaseBuild Methods- Specified by:
buildin interfaceAssetBase- Specified by:
buildin interfaceInstrumentBase- Specified by:
buildin interfaceListedDerivative- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classInstrumentBase.InstrumentBaseBuilderImpl
-
toBuilder
- Specified by:
toBuilderin interfaceAssetBase- Specified by:
toBuilderin interfaceInstrumentBase- Specified by:
toBuilderin interfaceListedDerivative- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classInstrumentBase.InstrumentBaseBuilderImpl
-
prune
- Specified by:
prunein interfaceAssetBase.AssetBaseBuilder- Specified by:
prunein interfaceInstrumentBase.InstrumentBaseBuilder- Specified by:
prunein interfaceListedDerivative.ListedDerivativeBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
prunein classInstrumentBase.InstrumentBaseBuilderImpl
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
hasDatain classInstrumentBase.InstrumentBaseBuilderImpl
-
merge
public ListedDerivative.ListedDerivativeBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
mergein classInstrumentBase.InstrumentBaseBuilderImpl
-
equals
- Overrides:
equalsin classInstrumentBase.InstrumentBaseBuilderImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classInstrumentBase.InstrumentBaseBuilderImpl
-
toString
- Overrides:
toStringin classInstrumentBase.InstrumentBaseBuilderImpl
-