Interface CounterpartyPosition

All Superinterfaces:
ContractBase, com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
CounterpartyPosition.CounterpartyPositionBuilder
All Known Implementing Classes:
CounterpartyPosition.CounterpartyPositionBuilderImpl, CounterpartyPosition.CounterpartyPositionImpl

@RosettaDataType(value="CounterpartyPosition", builder=CounterpartyPositionBuilderImpl.class, version="5.30.0") @RuneDataType(value="CounterpartyPosition", model="cdm", builder=CounterpartyPositionBuilderImpl.class, version="5.30.0") public interface CounterpartyPosition extends ContractBase
A Position describes the accumulated effect of a set of securities or financial transactions.
Version:
5.30.0
  • Field Details

  • Method Details

    • getPositionIdentifier

      List<? extends PositionIdentifier> getPositionIdentifier()
      Represents the identifier(s) that uniquely identify a position for an identity issuer. A position can include multiple identifiers, for example an internal position identifer and a UTI (Unique Trade Identifier).
    • getOpenDateTime

      LocalDateTime getOpenDateTime()
      The date and time when the position was opened.
    • getTradeReference

      List<? extends ReferenceWithMetaTradeState> getTradeReference()
      Reference to all the trades that constitute the position.
    • getParty

      List<? extends Party> getParty()
      The parties involved in the position, including the Clearing Organization.
    • getPartyRole

      List<? extends PartyRole> getPartyRole()
      Represents the role each specified party takes in the position.
    • getPositionBase

      TradableProduct getPositionBase()
      Encapsulates the core constituents that characterize a position.
    • build

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

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

    • metaData

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

      @RuneAttribute("@type") default Class<? extends CounterpartyPosition> getType()
      Specified by:
      getType in interface ContractBase
      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 ContractBase
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject