Package com.opengamma.strata.product.fx
Class FxNdfTrade.Builder
- java.lang.Object
- 
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxNdfTrade>
- 
- com.opengamma.strata.product.fx.FxNdfTrade.Builder
 
 
- 
- All Implemented Interfaces:
- org.joda.beans.BeanBuilder<FxNdfTrade>
 - Enclosing class:
- FxNdfTrade
 
 public static final class FxNdfTrade.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxNdfTrade> The bean-builder forFxNdfTrade.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FxNdfTradebuild()Objectget(String propertyName)FxNdfTrade.Builderinfo(TradeInfo info)Sets the additional trade information, defaulted to an empty instance.FxNdfTrade.Builderproduct(FxNdf product)Sets the product that was agreed when the trade occurred.FxNdfTrade.Builderset(String propertyName, Object newValue)FxNdfTrade.Builderset(org.joda.beans.MetaProperty<?> property, Object value)StringtoString()
 
- 
- 
- 
Method Detail- 
getpublic Object get(String propertyName) - Specified by:
- getin interface- org.joda.beans.BeanBuilder<FxNdfTrade>
- Overrides:
- getin class- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxNdfTrade>
 
 - 
setpublic FxNdfTrade.Builder set(String propertyName, Object newValue) 
 - 
setpublic FxNdfTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value) - Specified by:
- setin interface- org.joda.beans.BeanBuilder<FxNdfTrade>
- Overrides:
- setin class- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxNdfTrade>
 
 - 
buildpublic FxNdfTrade build() 
 - 
infopublic FxNdfTrade.Builder info(TradeInfo info) Sets the additional trade information, defaulted to an empty instance.This allows additional information to be attached to the trade. - Parameters:
- info- the new value, not null
- Returns:
- this, for chaining, not null
 
 - 
productpublic FxNdfTrade.Builder product(FxNdf product) Sets the product that was agreed when the trade occurred.The product captures the contracted financial details of the trade. - Parameters:
- product- the new value, not null
- Returns:
- this, for chaining, not null
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxNdfTrade>
 
 
- 
 
-