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
  • Field Details

  • 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: BuyerSeller
      Buyer 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:
      getBuyer in interface BuyerSeller
    • getSeller

      @RosettaAttribute(value="seller", isRequired=true) @RuneAttribute(value="seller", isRequired=true) public CounterpartyRoleEnum getSeller()
      Description copied from interface: BuyerSeller
      Seller 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:
      getSeller in interface BuyerSeller
    • setBuyer

      @RosettaAttribute(value="buyer", isRequired=true) @RuneAttribute(value="buyer", isRequired=true) public BuyerSeller.BuyerSellerBuilder setBuyer(CounterpartyRoleEnum _buyer)
      Specified by:
      setBuyer in interface BuyerSeller.BuyerSellerBuilder
    • setSeller

      @RosettaAttribute(value="seller", isRequired=true) @RuneAttribute(value="seller", isRequired=true) public BuyerSeller.BuyerSellerBuilder setSeller(CounterpartyRoleEnum _seller)
      Specified by:
      setSeller in interface BuyerSeller.BuyerSellerBuilder
    • build

      public BuyerSeller build()
      Description copied from interface: BuyerSeller
      Build Methods
      Specified by:
      build in interface BuyerSeller
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public BuyerSeller.BuyerSellerBuilder toBuilder()
      Specified by:
      toBuilder in interface BuyerSeller
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • prune

      Specified by:
      prune in interface BuyerSeller.BuyerSellerBuilder
      Specified by:
      prune in interface com.rosetta.model.lib.RosettaModelObjectBuilder
    • hasData

      public boolean hasData()
      Specified by:
      hasData in interface com.rosetta.model.lib.RosettaModelObjectBuilder
    • merge

      public BuyerSeller.BuyerSellerBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger)
      Specified by:
      merge in interface com.rosetta.model.lib.RosettaModelObjectBuilder
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object