public static final class ResolvedSwapTrade.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedSwapTrade>
ResolvedSwapTrade.| Modifier and Type | Method and Description |
|---|---|
ResolvedSwapTrade |
build() |
Object |
get(String propertyName) |
ResolvedSwapTrade.Builder |
info(TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.
|
ResolvedSwapTrade.Builder |
product(ResolvedSwap product)
Sets the resolved Swap product.
|
ResolvedSwapTrade.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ResolvedSwapTrade.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResolvedSwapTrade>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedSwapTrade>public ResolvedSwapTrade.Builder set(String propertyName, Object newValue)
public ResolvedSwapTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResolvedSwapTrade>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedSwapTrade>public ResolvedSwapTrade build()
public ResolvedSwapTrade.Builder info(TradeInfo info)
This allows additional information to be attached to the trade.
info - the new value, not nullpublic ResolvedSwapTrade.Builder product(ResolvedSwap product)
The product captures the contracted financial details of the trade.
product - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedSwapTrade>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.