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