Package cdm.event.common
Class Exposure.ExposureImpl
java.lang.Object
cdm.event.common.Exposure.ExposureImpl
- All Implemented Interfaces:
Exposure,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
Exposure
Immutable Implementation of Exposure
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.Exposure
Exposure.ExposureBuilder, Exposure.ExposureBuilderImpl, Exposure.ExposureImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanRepresents the aggregate value of the portfolio in base currency.Indicates the date when the exposure is calculated if different from valuation date.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.Indicates the valuation date of the exposure underlying the calculation.inthashCode()protected voidsetBuilderFields(Exposure.ExposureBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ExposureImpl
-
-
Method Details
-
getTradePortfolio
@RosettaAttribute(value="tradePortfolio", isRequired=true) @RuneAttribute(value="tradePortfolio", isRequired=true) public ReferenceWithMetaPortfolioState getTradePortfolio()Description copied from interface:ExposureRepresents 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:
getTradePortfolioin interfaceExposure
-
getAggregateValue
@RosettaAttribute(value="aggregateValue", isRequired=true) @RuneAttribute(value="aggregateValue", isRequired=true) public Money getAggregateValue()Description copied from interface:ExposureRepresents the aggregate value of the portfolio in base currency.- Specified by:
getAggregateValuein interfaceExposure
-
getCalculationDateTime
@RosettaAttribute("calculationDateTime") @RuneAttribute("calculationDateTime") public ZonedDateTime getCalculationDateTime()Description copied from interface:ExposureIndicates the date when the exposure is calculated if different from valuation date.- Specified by:
getCalculationDateTimein interfaceExposure
-
getValuationDateTime
@RosettaAttribute(value="valuationDateTime", isRequired=true) @RuneAttribute(value="valuationDateTime", isRequired=true) public ZonedDateTime getValuationDateTime()Description copied from interface:ExposureIndicates the valuation date of the exposure underlying the calculation.- Specified by:
getValuationDateTimein interfaceExposure
-
build
Description copied from interface:ExposureBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-