Class Exposure.ExposureImpl

java.lang.Object
cdm.event.common.Exposure.ExposureImpl
All Implemented Interfaces:
Exposure, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Exposure

public static class Exposure.ExposureImpl extends Object implements Exposure
Immutable Implementation of Exposure
  • Constructor Details

  • Method Details

    • getTradePortfolio

      @RosettaAttribute(value="tradePortfolio", isRequired=true) @RuneAttribute(value="tradePortfolio", isRequired=true) public ReferenceWithMetaPortfolioState getTradePortfolio()
      Description copied from interface: Exposure
      Represents a Portfolio that describes all the positions held at a given time, in various states which can be either traded, settled, etc., with lineage information to the previous state.
      Specified by:
      getTradePortfolio in interface Exposure
    • getAggregateValue

      @RosettaAttribute(value="aggregateValue", isRequired=true) @RuneAttribute(value="aggregateValue", isRequired=true) public Money getAggregateValue()
      Description copied from interface: Exposure
      Represents the aggregate value of the portfolio in base currency.
      Specified by:
      getAggregateValue in interface Exposure
    • getCalculationDateTime

      @RosettaAttribute("calculationDateTime") @RuneAttribute("calculationDateTime") public ZonedDateTime getCalculationDateTime()
      Description copied from interface: Exposure
      Indicates the date when the exposure is calculated if different from valuation date.
      Specified by:
      getCalculationDateTime in interface Exposure
    • getValuationDateTime

      @RosettaAttribute(value="valuationDateTime", isRequired=true) @RuneAttribute(value="valuationDateTime", isRequired=true) public ZonedDateTime getValuationDateTime()
      Description copied from interface: Exposure
      Indicates the valuation date of the exposure underlying the calculation.
      Specified by:
      getValuationDateTime in interface Exposure
    • build

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

      public Exposure.ExposureBuilder toBuilder()
      Specified by:
      toBuilder in interface Exposure
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(Exposure.ExposureBuilder builder)
    • 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