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