Package cdm.base.staticdata.party
Class BuyerSeller.BuyerSellerBuilderImpl
java.lang.Object
cdm.base.staticdata.party.BuyerSeller.BuyerSellerBuilderImpl
- All Implemented Interfaces:
BuyerSeller,BuyerSeller.BuyerSellerBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Direct Known Subclasses:
CancelableProvision.CancelableProvisionBuilderImpl,ExtendibleProvision.ExtendibleProvisionBuilderImpl
- Enclosing interface:
BuyerSeller
public static class BuyerSeller.BuyerSellerBuilderImpl
extends Object
implements BuyerSeller.BuyerSellerBuilder
Builder Implementation of BuyerSeller
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.party.BuyerSeller
BuyerSeller.BuyerSellerBuilder, BuyerSeller.BuyerSellerBuilderImpl, BuyerSeller.BuyerSellerImpl -
Field Summary
FieldsFields inherited from interface cdm.base.staticdata.party.BuyerSeller
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleangetBuyer()Buyer party that can be resolved as one of the two principal parties to the transaction.Seller party that can be resolved as one of the two principal parties to the transaction.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setBuyer(CounterpartyRoleEnum _buyer) setSeller(CounterpartyRoleEnum _seller) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.party.BuyerSeller
getType, metaData, processMethods inherited from interface cdm.base.staticdata.party.BuyerSeller.BuyerSellerBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
buyer
-
seller
-
-
Constructor Details
-
BuyerSellerBuilderImpl
public BuyerSellerBuilderImpl()
-
-
Method Details
-
getBuyer
@RosettaAttribute(value="buyer", isRequired=true) @RuneAttribute(value="buyer", isRequired=true) public CounterpartyRoleEnum getBuyer()Description copied from interface:BuyerSellerBuyer party that can be resolved as one of the two principal parties to the transaction. The party that buys this instrument, i.e. pays for this instrument and receives the rights defined by it. ISDA 2002 Equity Definitions section 1.18: `Buyer` means the party specified as such in the related Confirmation. | ISDA 2006 Definitions article 12.1 (b)(i) relating to a Swaption: 'Buyer' means the party that will, on each Premium Payment Date, pay to Seller the Premium | ISDA 2006 Definitions article 12.1 (b)(ii) relating to Swap Transactions with applicable Early Termination: the party specified as such in the related Confirmation, or the Exercising Party if neither party is specified | ISDA 2006 Definitions article 12.1 (b)(iii) relating to any other Option Transaction: the party specified as such in the related Confirmation. | ISDA 2014 Credit Definition article 1.4: `Buyer` means the Fixed Rate Payer.- Specified by:
getBuyerin interfaceBuyerSeller
-
getSeller
@RosettaAttribute(value="seller", isRequired=true) @RuneAttribute(value="seller", isRequired=true) public CounterpartyRoleEnum getSeller()Description copied from interface:BuyerSellerSeller party that can be resolved as one of the two principal parties to the transaction. The party that sells ('writes') this instrument, i.e. that grants the rights defined by this instrument and in return receives a payment for it. ISDA 2002 Equity Definitions section 1.19: `Seller` means the party specified as such in the related Confirmation. | ISDA 2006 Definitions article 12.1 (a)(i) relating to a Swaption: 'Seller' means the party the party specified as such or as writer in the related Confirmation | ISDA 2006 Definitions article 12.1 (a)(ii) relating to Swap Transactions with applicable Early Termination: the party specified as such or as writer in the related Confirmation or, if neither party is specified as such, the Non-exercising Party | ISDA 2006 Definitions article 12.1 (a)(iii) relating to any other Option Transaction: the party specified as such in the related Confirmation. | ISDA 2014 Credit Definition article 1.4: `Seller` means the Floating Rate Payer.- Specified by:
getSellerin interfaceBuyerSeller
-
setBuyer
@RosettaAttribute(value="buyer", isRequired=true) @RuneAttribute(value="buyer", isRequired=true) public BuyerSeller.BuyerSellerBuilder setBuyer(CounterpartyRoleEnum _buyer) - Specified by:
setBuyerin interfaceBuyerSeller.BuyerSellerBuilder
-
setSeller
@RosettaAttribute(value="seller", isRequired=true) @RuneAttribute(value="seller", isRequired=true) public BuyerSeller.BuyerSellerBuilder setSeller(CounterpartyRoleEnum _seller) - Specified by:
setSellerin interfaceBuyerSeller.BuyerSellerBuilder
-
build
Description copied from interface:BuyerSellerBuild Methods- Specified by:
buildin interfaceBuyerSeller- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceBuyerSeller- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceBuyerSeller.BuyerSellerBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public BuyerSeller.BuyerSellerBuilder 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
-