Class TermDepositTemplate.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TermDepositTemplate>
-
- com.opengamma.strata.product.deposit.type.TermDepositTemplate.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<TermDepositTemplate>
- Enclosing class:
- TermDepositTemplate
public static final class TermDepositTemplate.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TermDepositTemplate>
The bean-builder forTermDepositTemplate
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TermDepositTemplate
build()
TermDepositTemplate.Builder
convention(TermDepositConvention convention)
Sets the underlying term deposit convention.TermDepositTemplate.Builder
depositPeriod(Period depositPeriod)
Sets the period between the start date and the end date.Object
get(String propertyName)
TermDepositTemplate.Builder
set(String propertyName, Object newValue)
TermDepositTemplate.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<TermDepositTemplate>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<TermDepositTemplate>
-
set
public TermDepositTemplate.Builder set(String propertyName, Object newValue)
-
set
public TermDepositTemplate.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<TermDepositTemplate>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<TermDepositTemplate>
-
build
public TermDepositTemplate build()
-
depositPeriod
public TermDepositTemplate.Builder depositPeriod(Period depositPeriod)
Sets the period between the start date and the end date.- Parameters:
depositPeriod
- the new value, not null- Returns:
- this, for chaining, not null
-
convention
public TermDepositTemplate.Builder convention(TermDepositConvention convention)
Sets the underlying term deposit convention.This specifies the standard convention of the term deposit to be created.
- Parameters:
convention
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<TermDepositTemplate>
-
-