public static final class ResolvedDsf.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedDsf>
ResolvedDsf.| Modifier and Type | Method and Description |
|---|---|
ResolvedDsf |
build() |
ResolvedDsf.Builder |
deliveryDate(LocalDate deliveryDate)
Sets the delivery date.
|
Object |
get(String propertyName) |
ResolvedDsf.Builder |
lastTradeDate(LocalDate lastTradeDate)
Sets the last date of trading.
|
ResolvedDsf.Builder |
notional(double notional)
Sets the notional of the futures.
|
ResolvedDsf.Builder |
securityId(SecurityId securityId)
Sets the security identifier.
|
ResolvedDsf.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ResolvedDsf.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
ResolvedDsf.Builder |
underlyingSwap(ResolvedSwap underlyingSwap)
Sets the underlying swap.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResolvedDsf>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedDsf>public ResolvedDsf.Builder set(String propertyName, Object newValue)
public ResolvedDsf.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResolvedDsf>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedDsf>public ResolvedDsf build()
public ResolvedDsf.Builder securityId(SecurityId securityId)
This identifier uniquely identifies the security within the system.
securityId - the new value, not nullpublic ResolvedDsf.Builder notional(double notional)
This is also called face value or contract value.
notional - the new valuepublic ResolvedDsf.Builder deliveryDate(LocalDate deliveryDate)
The underlying swap is delivered on this date.
deliveryDate - the new value, not nullpublic ResolvedDsf.Builder lastTradeDate(LocalDate lastTradeDate)
This date must be before the delivery date of the underlying swap.
lastTradeDate - the new value, not nullpublic ResolvedDsf.Builder underlyingSwap(ResolvedSwap underlyingSwap)
The delivery date of the future is typically the first accrual date of the underlying swap. The swap should be a receiver swap of notional 1.
underlyingSwap - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedDsf>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.