Interface Counterparty

All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
Counterparty.CounterpartyBuilder
All Known Implementing Classes:
Counterparty.CounterpartyBuilderImpl, Counterparty.CounterpartyImpl

@RosettaDataType(value="Counterparty", builder=CounterpartyBuilderImpl.class, version="5.30.0") @RuneDataType(value="Counterparty", model="cdm", builder=CounterpartyBuilderImpl.class, version="5.30.0") public interface Counterparty extends com.rosetta.model.lib.RosettaModelObject
Defines a counterparty enumerated value, e.g. Party1 or Party2, with an associated party reference. The product is agnostic to the actual parties to the transaction, with the party references abstracted away from the product definition and replaced by the CounterpartyEnum (e.g. values Party1 or Party2). The CounterpartyEnum can then be positioned in the product (e.g. to specify which counterparty is the payer, receiver etc) and this Counterparty type, which is positioned outside of the product definition, allows the CounterpartyEnum to be associated with an actual party reference.
Version:
5.30.0
  • Field Details

  • Method Details

    • getRole

      Specifies the CounterpartyEnum, e.g. either Party1 or Party2, that is associated to the partyReference.
    • getPartyReference

      ReferenceWithMetaParty getPartyReference()
      Specifies the party that is associated to the counterparty.
    • build

      Counterparty build()
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends Counterparty> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends Counterparty> getType()
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject