public static final class ImmutableCreditRatesProvider.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableCreditRatesProvider>
ImmutableCreditRatesProvider.| Modifier and Type | Method and Description |
|---|---|
ImmutableCreditRatesProvider |
build() |
ImmutableCreditRatesProvider.Builder |
creditCurves(Map<Pair<StandardId,Currency>,LegalEntitySurvivalProbabilities> creditCurves)
Sets the credit curves.
|
ImmutableCreditRatesProvider.Builder |
discountCurves(Map<Currency,CreditDiscountFactors> discountCurves)
Sets the discounting curves.
|
Object |
get(String propertyName) |
ImmutableCreditRatesProvider.Builder |
recoveryRateCurves(Map<StandardId,RecoveryRates> recoveryRateCurves)
Sets the credit rate curves.
|
ImmutableCreditRatesProvider.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ImmutableCreditRatesProvider.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
ImmutableCreditRatesProvider.Builder |
valuationDate(LocalDate valuationDate)
Sets the valuation date.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ImmutableCreditRatesProvider>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableCreditRatesProvider>public ImmutableCreditRatesProvider.Builder set(String propertyName, Object newValue)
public ImmutableCreditRatesProvider.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ImmutableCreditRatesProvider>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableCreditRatesProvider>public ImmutableCreditRatesProvider build()
public ImmutableCreditRatesProvider.Builder valuationDate(LocalDate valuationDate)
All curves and other data items in this provider are calibrated for this date.
valuationDate - the new value, not nullpublic ImmutableCreditRatesProvider.Builder creditCurves(Map<Pair<StandardId,Currency>,LegalEntitySurvivalProbabilities> creditCurves)
The curve data, predicting the survival probability, associated with each legal entity and currency.
creditCurves - the new value, not nullpublic ImmutableCreditRatesProvider.Builder discountCurves(Map<Currency,CreditDiscountFactors> discountCurves)
The curve data, predicting the discount factor, associated with each currency.
discountCurves - the new value, not emptypublic ImmutableCreditRatesProvider.Builder recoveryRateCurves(Map<StandardId,RecoveryRates> recoveryRateCurves)
The curve date, predicting the recovery rate, associated with each legal entity.
recoveryRateCurves - the new value, not emptypublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableCreditRatesProvider>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.