Package cdm.legaldocumentation.common
Class AgreementName.AgreementNameBuilderImpl
java.lang.Object
cdm.legaldocumentation.common.AgreementName.AgreementNameBuilderImpl
- All Implemented Interfaces:
AgreementName,AgreementName.AgreementNameBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
AgreementName
public static class AgreementName.AgreementNameBuilderImpl
extends Object
implements AgreementName.AgreementNameBuilder
Builder Implementation of AgreementName
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.common.AgreementName
AgreementName.AgreementNameBuilder, AgreementName.AgreementNameBuilderImpl, AgreementName.AgreementNameImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LegalAgreementTypeEnumprotected List<FieldWithMetaContractualDefinitionsEnum.FieldWithMetaContractualDefinitionsEnumBuilder> protected List<ContractualMatrix.ContractualMatrixBuilder> protected CollateralMarginTypeEnumprotected FieldWithMetaCreditSupportAgreementTypeEnum.FieldWithMetaCreditSupportAgreementTypeEnumBuilderprotected FieldWithMetaMasterConfirmationAnnexTypeEnum.FieldWithMetaMasterConfirmationAnnexTypeEnumBuilderprotected StringFields inherited from interface cdm.legaldocumentation.common.AgreementName
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContractualDefinitionsType(FieldWithMetaContractualDefinitionsEnum _contractualDefinitionsType) addContractualDefinitionsType(FieldWithMetaContractualDefinitionsEnum _contractualDefinitionsType, int idx) addContractualDefinitionsType(List<? extends FieldWithMetaContractualDefinitionsEnum> contractualDefinitionsTypes) addContractualDefinitionsTypeValue(ContractualDefinitionsEnum _contractualDefinitionsType) addContractualDefinitionsTypeValue(ContractualDefinitionsEnum _contractualDefinitionsType, int idx) addContractualDefinitionsTypeValue(List<? extends ContractualDefinitionsEnum> contractualDefinitionsTypes) addContractualMatrix(ContractualMatrix _contractualMatrix) addContractualMatrix(ContractualMatrix _contractualMatrix, int idx) addContractualMatrix(List<? extends ContractualMatrix> contractualMatrixs) addContractualTermsSupplement(ContractualTermsSupplement _contractualTermsSupplement) addContractualTermsSupplement(ContractualTermsSupplement _contractualTermsSupplement, int idx) addContractualTermsSupplement(List<? extends ContractualTermsSupplement> contractualTermsSupplements) build()Build MethodsbooleanSpecification of the legal agreement type.List<? extends FieldWithMetaContractualDefinitionsEnum.FieldWithMetaContractualDefinitionsEnumBuilder> The definitions such as those published by ISDA that will define the terms of the trade.List<? extends ContractualMatrix.ContractualMatrixBuilder> A reference to a contractual matrix of elected terms/values (such as those published by ISDA) that shall be deemed to apply to the trade.A contractual supplement (such as those published by ISDA) that will apply to the trade.specifies the type of margin for which a legal agreement is named.Specification of the credit support agreement type.Specification of the master agreement type.The type of master confirmation annex executed between the parties.The type of master confirmation executed between the parties.getOrCreateContractualDefinitionsType(int index) getOrCreateContractualMatrix(int index) getOrCreateContractualTermsSupplement(int index) Definition of an agreement that is not enumerated in the CDM.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAgreementType(LegalAgreementTypeEnum _agreementType) setContractualDefinitionsType(List<? extends FieldWithMetaContractualDefinitionsEnum> contractualDefinitionsTypes) setContractualDefinitionsTypeValue(List<? extends ContractualDefinitionsEnum> contractualDefinitionsTypes) setContractualMatrix(List<? extends ContractualMatrix> contractualMatrixs) setContractualTermsSupplement(List<? extends ContractualTermsSupplement> contractualTermsSupplements) setCreditSupportAgreementMarginType(CollateralMarginTypeEnum _creditSupportAgreementMarginType) setCreditSupportAgreementType(FieldWithMetaCreditSupportAgreementTypeEnum _creditSupportAgreementType) setCreditSupportAgreementTypeValue(CreditSupportAgreementTypeEnum _creditSupportAgreementType) setMasterAgreementType(FieldWithMetaMasterAgreementTypeEnum _masterAgreementType) setMasterAgreementTypeValue(MasterAgreementTypeEnum _masterAgreementType) setMasterConfirmationAnnexType(FieldWithMetaMasterConfirmationAnnexTypeEnum _masterConfirmationAnnexType) setMasterConfirmationAnnexTypeValue(MasterConfirmationAnnexTypeEnum _masterConfirmationAnnexType) setMasterConfirmationType(FieldWithMetaMasterConfirmationTypeEnum _masterConfirmationType) setMasterConfirmationTypeValue(MasterConfirmationTypeEnum _masterConfirmationType) setOtherAgreement(String _otherAgreement) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.legaldocumentation.common.AgreementName
getType, metaData, processMethods inherited from interface cdm.legaldocumentation.common.AgreementName.AgreementNameBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
agreementType
-
creditSupportAgreementType
protected FieldWithMetaCreditSupportAgreementTypeEnum.FieldWithMetaCreditSupportAgreementTypeEnumBuilder creditSupportAgreementType -
creditSupportAgreementMarginType
-
contractualDefinitionsType
protected List<FieldWithMetaContractualDefinitionsEnum.FieldWithMetaContractualDefinitionsEnumBuilder> contractualDefinitionsType -
contractualTermsSupplement
protected List<ContractualTermsSupplement.ContractualTermsSupplementBuilder> contractualTermsSupplement -
contractualMatrix
-
masterAgreementType
protected FieldWithMetaMasterAgreementTypeEnum.FieldWithMetaMasterAgreementTypeEnumBuilder masterAgreementType -
masterConfirmationType
protected FieldWithMetaMasterConfirmationTypeEnum.FieldWithMetaMasterConfirmationTypeEnumBuilder masterConfirmationType -
masterConfirmationAnnexType
protected FieldWithMetaMasterConfirmationAnnexTypeEnum.FieldWithMetaMasterConfirmationAnnexTypeEnumBuilder masterConfirmationAnnexType -
otherAgreement
-
-
Constructor Details
-
AgreementNameBuilderImpl
public AgreementNameBuilderImpl()
-
-
Method Details
-
getAgreementType
@RosettaAttribute(value="agreementType", isRequired=true) @RuneAttribute(value="agreementType", isRequired=true) public LegalAgreementTypeEnum getAgreementType()Description copied from interface:AgreementNameSpecification of the legal agreement type.- Specified by:
getAgreementTypein interfaceAgreementName
-
getCreditSupportAgreementType
@RosettaAttribute("creditSupportAgreementType") @RuneAttribute("creditSupportAgreementType") public FieldWithMetaCreditSupportAgreementTypeEnum.FieldWithMetaCreditSupportAgreementTypeEnumBuilder getCreditSupportAgreementType()Description copied from interface:AgreementNameSpecification of the credit support agreement type.- Specified by:
getCreditSupportAgreementTypein interfaceAgreementName- Specified by:
getCreditSupportAgreementTypein interfaceAgreementName.AgreementNameBuilder
-
getOrCreateCreditSupportAgreementType
public FieldWithMetaCreditSupportAgreementTypeEnum.FieldWithMetaCreditSupportAgreementTypeEnumBuilder getOrCreateCreditSupportAgreementType()- Specified by:
getOrCreateCreditSupportAgreementTypein interfaceAgreementName.AgreementNameBuilder
-
getCreditSupportAgreementMarginType
@RosettaAttribute("creditSupportAgreementMarginType") @RuneAttribute("creditSupportAgreementMarginType") public CollateralMarginTypeEnum getCreditSupportAgreementMarginType()Description copied from interface:AgreementNamespecifies the type of margin for which a legal agreement is named.- Specified by:
getCreditSupportAgreementMarginTypein interfaceAgreementName
-
getContractualDefinitionsType
@RosettaAttribute("contractualDefinitionsType") @RuneAttribute("contractualDefinitionsType") public List<? extends FieldWithMetaContractualDefinitionsEnum.FieldWithMetaContractualDefinitionsEnumBuilder> getContractualDefinitionsType()Description copied from interface:AgreementNameThe definitions such as those published by ISDA that will define the terms of the trade.- Specified by:
getContractualDefinitionsTypein interfaceAgreementName- Specified by:
getContractualDefinitionsTypein interfaceAgreementName.AgreementNameBuilder
-
getOrCreateContractualDefinitionsType
public FieldWithMetaContractualDefinitionsEnum.FieldWithMetaContractualDefinitionsEnumBuilder getOrCreateContractualDefinitionsType(int index) - Specified by:
getOrCreateContractualDefinitionsTypein interfaceAgreementName.AgreementNameBuilder
-
getContractualTermsSupplement
@RosettaAttribute("contractualTermsSupplement") @RuneAttribute("contractualTermsSupplement") public List<? extends ContractualTermsSupplement.ContractualTermsSupplementBuilder> getContractualTermsSupplement()Description copied from interface:AgreementNameA contractual supplement (such as those published by ISDA) that will apply to the trade.- Specified by:
getContractualTermsSupplementin interfaceAgreementName- Specified by:
getContractualTermsSupplementin interfaceAgreementName.AgreementNameBuilder
-
getOrCreateContractualTermsSupplement
public ContractualTermsSupplement.ContractualTermsSupplementBuilder getOrCreateContractualTermsSupplement(int index) - Specified by:
getOrCreateContractualTermsSupplementin interfaceAgreementName.AgreementNameBuilder
-
getContractualMatrix
@RosettaAttribute("contractualMatrix") @RuneAttribute("contractualMatrix") public List<? extends ContractualMatrix.ContractualMatrixBuilder> getContractualMatrix()Description copied from interface:AgreementNameA reference to a contractual matrix of elected terms/values (such as those published by ISDA) that shall be deemed to apply to the trade. The applicable matrix is identified by reference to a name and optionally a publication date. Depending on the structure of the matrix, an additional term (specified in the matrixTerm element) may be required to further identify a subset of applicable terms/values within the matrix.- Specified by:
getContractualMatrixin interfaceAgreementName- Specified by:
getContractualMatrixin interfaceAgreementName.AgreementNameBuilder
-
getOrCreateContractualMatrix
- Specified by:
getOrCreateContractualMatrixin interfaceAgreementName.AgreementNameBuilder
-
getMasterAgreementType
@RosettaAttribute("masterAgreementType") @RuneAttribute("masterAgreementType") public FieldWithMetaMasterAgreementTypeEnum.FieldWithMetaMasterAgreementTypeEnumBuilder getMasterAgreementType()Description copied from interface:AgreementNameSpecification of the master agreement type.- Specified by:
getMasterAgreementTypein interfaceAgreementName- Specified by:
getMasterAgreementTypein interfaceAgreementName.AgreementNameBuilder
-
getOrCreateMasterAgreementType
public FieldWithMetaMasterAgreementTypeEnum.FieldWithMetaMasterAgreementTypeEnumBuilder getOrCreateMasterAgreementType()- Specified by:
getOrCreateMasterAgreementTypein interfaceAgreementName.AgreementNameBuilder
-
getMasterConfirmationType
@RosettaAttribute("masterConfirmationType") @RuneAttribute("masterConfirmationType") public FieldWithMetaMasterConfirmationTypeEnum.FieldWithMetaMasterConfirmationTypeEnumBuilder getMasterConfirmationType()Description copied from interface:AgreementNameThe type of master confirmation executed between the parties.- Specified by:
getMasterConfirmationTypein interfaceAgreementName- Specified by:
getMasterConfirmationTypein interfaceAgreementName.AgreementNameBuilder
-
getOrCreateMasterConfirmationType
public FieldWithMetaMasterConfirmationTypeEnum.FieldWithMetaMasterConfirmationTypeEnumBuilder getOrCreateMasterConfirmationType()- Specified by:
getOrCreateMasterConfirmationTypein interfaceAgreementName.AgreementNameBuilder
-
getMasterConfirmationAnnexType
@RosettaAttribute("masterConfirmationAnnexType") @RuneAttribute("masterConfirmationAnnexType") public FieldWithMetaMasterConfirmationAnnexTypeEnum.FieldWithMetaMasterConfirmationAnnexTypeEnumBuilder getMasterConfirmationAnnexType()Description copied from interface:AgreementNameThe type of master confirmation annex executed between the parties.- Specified by:
getMasterConfirmationAnnexTypein interfaceAgreementName- Specified by:
getMasterConfirmationAnnexTypein interfaceAgreementName.AgreementNameBuilder
-
getOrCreateMasterConfirmationAnnexType
public FieldWithMetaMasterConfirmationAnnexTypeEnum.FieldWithMetaMasterConfirmationAnnexTypeEnumBuilder getOrCreateMasterConfirmationAnnexType()- Specified by:
getOrCreateMasterConfirmationAnnexTypein interfaceAgreementName.AgreementNameBuilder
-
getOtherAgreement
@RosettaAttribute("otherAgreement") @RuneAttribute("otherAgreement") public String getOtherAgreement()Description copied from interface:AgreementNameDefinition of an agreement that is not enumerated in the CDM.- Specified by:
getOtherAgreementin interfaceAgreementName
-
setAgreementType
@RosettaAttribute(value="agreementType", isRequired=true) @RuneAttribute(value="agreementType", isRequired=true) public AgreementName.AgreementNameBuilder setAgreementType(LegalAgreementTypeEnum _agreementType) - Specified by:
setAgreementTypein interfaceAgreementName.AgreementNameBuilder
-
setCreditSupportAgreementType
@RosettaAttribute("creditSupportAgreementType") @RuneAttribute("creditSupportAgreementType") public AgreementName.AgreementNameBuilder setCreditSupportAgreementType(FieldWithMetaCreditSupportAgreementTypeEnum _creditSupportAgreementType) - Specified by:
setCreditSupportAgreementTypein interfaceAgreementName.AgreementNameBuilder
-
setCreditSupportAgreementTypeValue
public AgreementName.AgreementNameBuilder setCreditSupportAgreementTypeValue(CreditSupportAgreementTypeEnum _creditSupportAgreementType) - Specified by:
setCreditSupportAgreementTypeValuein interfaceAgreementName.AgreementNameBuilder
-
setCreditSupportAgreementMarginType
@RosettaAttribute("creditSupportAgreementMarginType") @RuneAttribute("creditSupportAgreementMarginType") public AgreementName.AgreementNameBuilder setCreditSupportAgreementMarginType(CollateralMarginTypeEnum _creditSupportAgreementMarginType) - Specified by:
setCreditSupportAgreementMarginTypein interfaceAgreementName.AgreementNameBuilder
-
addContractualDefinitionsType
@RosettaAttribute("contractualDefinitionsType") @RuneAttribute("contractualDefinitionsType") public AgreementName.AgreementNameBuilder addContractualDefinitionsType(FieldWithMetaContractualDefinitionsEnum _contractualDefinitionsType) - Specified by:
addContractualDefinitionsTypein interfaceAgreementName.AgreementNameBuilder
-
addContractualDefinitionsType
public AgreementName.AgreementNameBuilder addContractualDefinitionsType(FieldWithMetaContractualDefinitionsEnum _contractualDefinitionsType, int idx) - Specified by:
addContractualDefinitionsTypein interfaceAgreementName.AgreementNameBuilder
-
addContractualDefinitionsTypeValue
public AgreementName.AgreementNameBuilder addContractualDefinitionsTypeValue(ContractualDefinitionsEnum _contractualDefinitionsType) - Specified by:
addContractualDefinitionsTypeValuein interfaceAgreementName.AgreementNameBuilder
-
addContractualDefinitionsTypeValue
public AgreementName.AgreementNameBuilder addContractualDefinitionsTypeValue(ContractualDefinitionsEnum _contractualDefinitionsType, int idx) - Specified by:
addContractualDefinitionsTypeValuein interfaceAgreementName.AgreementNameBuilder
-
addContractualDefinitionsType
public AgreementName.AgreementNameBuilder addContractualDefinitionsType(List<? extends FieldWithMetaContractualDefinitionsEnum> contractualDefinitionsTypes) - Specified by:
addContractualDefinitionsTypein interfaceAgreementName.AgreementNameBuilder
-
setContractualDefinitionsType
@RuneAttribute("contractualDefinitionsType") public AgreementName.AgreementNameBuilder setContractualDefinitionsType(List<? extends FieldWithMetaContractualDefinitionsEnum> contractualDefinitionsTypes) - Specified by:
setContractualDefinitionsTypein interfaceAgreementName.AgreementNameBuilder
-
addContractualDefinitionsTypeValue
public AgreementName.AgreementNameBuilder addContractualDefinitionsTypeValue(List<? extends ContractualDefinitionsEnum> contractualDefinitionsTypes) - Specified by:
addContractualDefinitionsTypeValuein interfaceAgreementName.AgreementNameBuilder
-
setContractualDefinitionsTypeValue
public AgreementName.AgreementNameBuilder setContractualDefinitionsTypeValue(List<? extends ContractualDefinitionsEnum> contractualDefinitionsTypes) - Specified by:
setContractualDefinitionsTypeValuein interfaceAgreementName.AgreementNameBuilder
-
addContractualTermsSupplement
@RosettaAttribute("contractualTermsSupplement") @RuneAttribute("contractualTermsSupplement") public AgreementName.AgreementNameBuilder addContractualTermsSupplement(ContractualTermsSupplement _contractualTermsSupplement) - Specified by:
addContractualTermsSupplementin interfaceAgreementName.AgreementNameBuilder
-
addContractualTermsSupplement
public AgreementName.AgreementNameBuilder addContractualTermsSupplement(ContractualTermsSupplement _contractualTermsSupplement, int idx) - Specified by:
addContractualTermsSupplementin interfaceAgreementName.AgreementNameBuilder
-
addContractualTermsSupplement
public AgreementName.AgreementNameBuilder addContractualTermsSupplement(List<? extends ContractualTermsSupplement> contractualTermsSupplements) - Specified by:
addContractualTermsSupplementin interfaceAgreementName.AgreementNameBuilder
-
setContractualTermsSupplement
@RuneAttribute("contractualTermsSupplement") public AgreementName.AgreementNameBuilder setContractualTermsSupplement(List<? extends ContractualTermsSupplement> contractualTermsSupplements) - Specified by:
setContractualTermsSupplementin interfaceAgreementName.AgreementNameBuilder
-
addContractualMatrix
@RosettaAttribute("contractualMatrix") @RuneAttribute("contractualMatrix") public AgreementName.AgreementNameBuilder addContractualMatrix(ContractualMatrix _contractualMatrix) - Specified by:
addContractualMatrixin interfaceAgreementName.AgreementNameBuilder
-
addContractualMatrix
public AgreementName.AgreementNameBuilder addContractualMatrix(ContractualMatrix _contractualMatrix, int idx) - Specified by:
addContractualMatrixin interfaceAgreementName.AgreementNameBuilder
-
addContractualMatrix
public AgreementName.AgreementNameBuilder addContractualMatrix(List<? extends ContractualMatrix> contractualMatrixs) - Specified by:
addContractualMatrixin interfaceAgreementName.AgreementNameBuilder
-
setContractualMatrix
@RuneAttribute("contractualMatrix") public AgreementName.AgreementNameBuilder setContractualMatrix(List<? extends ContractualMatrix> contractualMatrixs) - Specified by:
setContractualMatrixin interfaceAgreementName.AgreementNameBuilder
-
setMasterAgreementType
@RosettaAttribute("masterAgreementType") @RuneAttribute("masterAgreementType") public AgreementName.AgreementNameBuilder setMasterAgreementType(FieldWithMetaMasterAgreementTypeEnum _masterAgreementType) - Specified by:
setMasterAgreementTypein interfaceAgreementName.AgreementNameBuilder
-
setMasterAgreementTypeValue
public AgreementName.AgreementNameBuilder setMasterAgreementTypeValue(MasterAgreementTypeEnum _masterAgreementType) - Specified by:
setMasterAgreementTypeValuein interfaceAgreementName.AgreementNameBuilder
-
setMasterConfirmationType
@RosettaAttribute("masterConfirmationType") @RuneAttribute("masterConfirmationType") public AgreementName.AgreementNameBuilder setMasterConfirmationType(FieldWithMetaMasterConfirmationTypeEnum _masterConfirmationType) - Specified by:
setMasterConfirmationTypein interfaceAgreementName.AgreementNameBuilder
-
setMasterConfirmationTypeValue
public AgreementName.AgreementNameBuilder setMasterConfirmationTypeValue(MasterConfirmationTypeEnum _masterConfirmationType) - Specified by:
setMasterConfirmationTypeValuein interfaceAgreementName.AgreementNameBuilder
-
setMasterConfirmationAnnexType
@RosettaAttribute("masterConfirmationAnnexType") @RuneAttribute("masterConfirmationAnnexType") public AgreementName.AgreementNameBuilder setMasterConfirmationAnnexType(FieldWithMetaMasterConfirmationAnnexTypeEnum _masterConfirmationAnnexType) - Specified by:
setMasterConfirmationAnnexTypein interfaceAgreementName.AgreementNameBuilder
-
setMasterConfirmationAnnexTypeValue
public AgreementName.AgreementNameBuilder setMasterConfirmationAnnexTypeValue(MasterConfirmationAnnexTypeEnum _masterConfirmationAnnexType) - Specified by:
setMasterConfirmationAnnexTypeValuein interfaceAgreementName.AgreementNameBuilder
-
setOtherAgreement
@RosettaAttribute("otherAgreement") @RuneAttribute("otherAgreement") public AgreementName.AgreementNameBuilder setOtherAgreement(String _otherAgreement) - Specified by:
setOtherAgreementin interfaceAgreementName.AgreementNameBuilder
-
build
Description copied from interface:AgreementNameBuild Methods- Specified by:
buildin interfaceAgreementName- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceAgreementName- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceAgreementName.AgreementNameBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public AgreementName.AgreementNameBuilder 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
-