Package cdm.product.asset
Class GeneralTerms.GeneralTermsBuilderImpl
java.lang.Object
cdm.product.asset.GeneralTerms.GeneralTermsBuilderImpl
- All Implemented Interfaces:
GeneralTerms,GeneralTerms.GeneralTermsBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
GeneralTerms
public static class GeneralTerms.GeneralTermsBuilderImpl
extends Object
implements GeneralTerms.GeneralTermsBuilder
Builder Implementation of GeneralTerms
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.GeneralTerms
GeneralTerms.GeneralTermsBuilder, GeneralTerms.GeneralTermsBuilderImpl, GeneralTerms.GeneralTermsImpl -
Field Summary
FieldsFields inherited from interface cdm.product.asset.GeneralTerms
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalTerm(FieldWithMetaString _additionalTerm) addAdditionalTerm(FieldWithMetaString _additionalTerm, int idx) addAdditionalTerm(List<? extends FieldWithMetaString> additionalTerms) addAdditionalTermValue(String _additionalTerm) addAdditionalTermValue(String _additionalTerm, int idx) addAdditionalTermValue(List<? extends String> additionalTerms) build()Build MethodsbooleanThis attribute is used for representing information contained in the Additional Terms field of the 2003 Master Credit Derivatives confirm.This attribute contains all the terms relevant to defining the Credit Default Swap Basket.This attribute contains all the terms relevant to the underlying Index.Value of this attribute set to 'true' indicates that modified equity delivery is applicable.getOrCreateAdditionalTerm(int index) This attribute contains all the terms relevant to defining the reference entity and reference obligation(s).Value of this attribute set to 'true' indicates that substitution is applicable.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAdditionalTerm(List<? extends FieldWithMetaString> additionalTerms) setAdditionalTermValue(List<? extends String> additionalTerms) setBasketReferenceInformation(BasketReferenceInformation _basketReferenceInformation) setIndexReferenceInformation(CreditIndexReferenceInformation _indexReferenceInformation) setModifiedEquityDelivery(Boolean _modifiedEquityDelivery) setReferenceInformation(ReferenceInformation _referenceInformation) setSubstitution(Boolean _substitution) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.GeneralTerms
getType, metaData, processMethods inherited from interface cdm.product.asset.GeneralTerms.GeneralTermsBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
referenceInformation
-
indexReferenceInformation
protected CreditIndexReferenceInformation.CreditIndexReferenceInformationBuilder indexReferenceInformation -
basketReferenceInformation
-
additionalTerm
-
substitution
-
modifiedEquityDelivery
-
-
Constructor Details
-
GeneralTermsBuilderImpl
public GeneralTermsBuilderImpl()
-
-
Method Details
-
getReferenceInformation
@RosettaAttribute("referenceInformation") @RuneAttribute("referenceInformation") public ReferenceInformation.ReferenceInformationBuilder getReferenceInformation()Description copied from interface:GeneralTermsThis attribute contains all the terms relevant to defining the reference entity and reference obligation(s).- Specified by:
getReferenceInformationin interfaceGeneralTerms- Specified by:
getReferenceInformationin interfaceGeneralTerms.GeneralTermsBuilder
-
getOrCreateReferenceInformation
- Specified by:
getOrCreateReferenceInformationin interfaceGeneralTerms.GeneralTermsBuilder
-
getIndexReferenceInformation
@RosettaAttribute("indexReferenceInformation") @RuneAttribute("indexReferenceInformation") public CreditIndexReferenceInformation.CreditIndexReferenceInformationBuilder getIndexReferenceInformation()Description copied from interface:GeneralTermsThis attribute contains all the terms relevant to the underlying Index.- Specified by:
getIndexReferenceInformationin interfaceGeneralTerms- Specified by:
getIndexReferenceInformationin interfaceGeneralTerms.GeneralTermsBuilder
-
getOrCreateIndexReferenceInformation
public CreditIndexReferenceInformation.CreditIndexReferenceInformationBuilder getOrCreateIndexReferenceInformation()- Specified by:
getOrCreateIndexReferenceInformationin interfaceGeneralTerms.GeneralTermsBuilder
-
getBasketReferenceInformation
@RosettaAttribute("basketReferenceInformation") @RuneAttribute("basketReferenceInformation") public BasketReferenceInformation.BasketReferenceInformationBuilder getBasketReferenceInformation()Description copied from interface:GeneralTermsThis attribute contains all the terms relevant to defining the Credit Default Swap Basket.- Specified by:
getBasketReferenceInformationin interfaceGeneralTerms- Specified by:
getBasketReferenceInformationin interfaceGeneralTerms.GeneralTermsBuilder
-
getOrCreateBasketReferenceInformation
public BasketReferenceInformation.BasketReferenceInformationBuilder getOrCreateBasketReferenceInformation()- Specified by:
getOrCreateBasketReferenceInformationin interfaceGeneralTerms.GeneralTermsBuilder
-
getAdditionalTerm
@RosettaAttribute("additionalTerm") @RuneAttribute("additionalTerm") public List<? extends FieldWithMetaString.FieldWithMetaStringBuilder> getAdditionalTerm()Description copied from interface:GeneralTermsThis attribute is used for representing information contained in the Additional Terms field of the 2003 Master Credit Derivatives confirm.- Specified by:
getAdditionalTermin interfaceGeneralTerms- Specified by:
getAdditionalTermin interfaceGeneralTerms.GeneralTermsBuilder
-
getOrCreateAdditionalTerm
- Specified by:
getOrCreateAdditionalTermin interfaceGeneralTerms.GeneralTermsBuilder
-
getSubstitution
Description copied from interface:GeneralTermsValue of this attribute set to 'true' indicates that substitution is applicable.- Specified by:
getSubstitutionin interfaceGeneralTerms
-
getModifiedEquityDelivery
@RosettaAttribute("modifiedEquityDelivery") @RuneAttribute("modifiedEquityDelivery") public Boolean getModifiedEquityDelivery()Description copied from interface:GeneralTermsValue of this attribute set to 'true' indicates that modified equity delivery is applicable.- Specified by:
getModifiedEquityDeliveryin interfaceGeneralTerms
-
setReferenceInformation
@RosettaAttribute("referenceInformation") @RuneAttribute("referenceInformation") public GeneralTerms.GeneralTermsBuilder setReferenceInformation(ReferenceInformation _referenceInformation) - Specified by:
setReferenceInformationin interfaceGeneralTerms.GeneralTermsBuilder
-
setIndexReferenceInformation
@RosettaAttribute("indexReferenceInformation") @RuneAttribute("indexReferenceInformation") public GeneralTerms.GeneralTermsBuilder setIndexReferenceInformation(CreditIndexReferenceInformation _indexReferenceInformation) - Specified by:
setIndexReferenceInformationin interfaceGeneralTerms.GeneralTermsBuilder
-
setBasketReferenceInformation
@RosettaAttribute("basketReferenceInformation") @RuneAttribute("basketReferenceInformation") public GeneralTerms.GeneralTermsBuilder setBasketReferenceInformation(BasketReferenceInformation _basketReferenceInformation) - Specified by:
setBasketReferenceInformationin interfaceGeneralTerms.GeneralTermsBuilder
-
addAdditionalTerm
@RosettaAttribute("additionalTerm") @RuneAttribute("additionalTerm") public GeneralTerms.GeneralTermsBuilder addAdditionalTerm(FieldWithMetaString _additionalTerm) - Specified by:
addAdditionalTermin interfaceGeneralTerms.GeneralTermsBuilder
-
addAdditionalTerm
public GeneralTerms.GeneralTermsBuilder addAdditionalTerm(FieldWithMetaString _additionalTerm, int idx) - Specified by:
addAdditionalTermin interfaceGeneralTerms.GeneralTermsBuilder
-
addAdditionalTermValue
- Specified by:
addAdditionalTermValuein interfaceGeneralTerms.GeneralTermsBuilder
-
addAdditionalTermValue
- Specified by:
addAdditionalTermValuein interfaceGeneralTerms.GeneralTermsBuilder
-
addAdditionalTerm
public GeneralTerms.GeneralTermsBuilder addAdditionalTerm(List<? extends FieldWithMetaString> additionalTerms) - Specified by:
addAdditionalTermin interfaceGeneralTerms.GeneralTermsBuilder
-
setAdditionalTerm
@RuneAttribute("additionalTerm") public GeneralTerms.GeneralTermsBuilder setAdditionalTerm(List<? extends FieldWithMetaString> additionalTerms) - Specified by:
setAdditionalTermin interfaceGeneralTerms.GeneralTermsBuilder
-
addAdditionalTermValue
public GeneralTerms.GeneralTermsBuilder addAdditionalTermValue(List<? extends String> additionalTerms) - Specified by:
addAdditionalTermValuein interfaceGeneralTerms.GeneralTermsBuilder
-
setAdditionalTermValue
public GeneralTerms.GeneralTermsBuilder setAdditionalTermValue(List<? extends String> additionalTerms) - Specified by:
setAdditionalTermValuein interfaceGeneralTerms.GeneralTermsBuilder
-
setSubstitution
@RosettaAttribute("substitution") @RuneAttribute("substitution") public GeneralTerms.GeneralTermsBuilder setSubstitution(Boolean _substitution) - Specified by:
setSubstitutionin interfaceGeneralTerms.GeneralTermsBuilder
-
setModifiedEquityDelivery
@RosettaAttribute("modifiedEquityDelivery") @RuneAttribute("modifiedEquityDelivery") public GeneralTerms.GeneralTermsBuilder setModifiedEquityDelivery(Boolean _modifiedEquityDelivery) - Specified by:
setModifiedEquityDeliveryin interfaceGeneralTerms.GeneralTermsBuilder
-
build
Description copied from interface:GeneralTermsBuild Methods- Specified by:
buildin interfaceGeneralTerms- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceGeneralTerms- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceGeneralTerms.GeneralTermsBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public GeneralTerms.GeneralTermsBuilder 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
-