Class IborFixingDepositTrade.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFixingDepositTrade>
-
- com.opengamma.strata.product.deposit.IborFixingDepositTrade.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<IborFixingDepositTrade>
- Enclosing class:
- IborFixingDepositTrade
public static final class IborFixingDepositTrade.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFixingDepositTrade>
The bean-builder forIborFixingDepositTrade
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IborFixingDepositTrade
build()
Object
get(String propertyName)
IborFixingDepositTrade.Builder
info(TradeInfo info)
Sets the additional trade information, defaulted to an empty instance.IborFixingDepositTrade.Builder
product(IborFixingDeposit product)
Sets the Ibor fixing deposit product that was agreed when the trade occurred.IborFixingDepositTrade.Builder
set(String propertyName, Object newValue)
IborFixingDepositTrade.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<IborFixingDepositTrade>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFixingDepositTrade>
-
set
public IborFixingDepositTrade.Builder set(String propertyName, Object newValue)
-
set
public IborFixingDepositTrade.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<IborFixingDepositTrade>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFixingDepositTrade>
-
build
public IborFixingDepositTrade build()
-
info
public IborFixingDepositTrade.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
-
product
public IborFixingDepositTrade.Builder product(IborFixingDeposit product)
Sets the Ibor fixing deposit 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
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFixingDepositTrade>
-
-