Package cdm.base.staticdata.party
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of Counterpartystatic classImmutable Implementation of Counterparty -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()Specifies the party that is associated to the counterparty.getRole()Specifies the CounterpartyEnum, e.g. either Party1 or Party2, that is associated to the partyReference.default Class<? extends Counterparty> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends Counterparty> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getRole
CounterpartyRoleEnum 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:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
Counterparty.CounterpartyBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-