Class LegalEntityCurveGroup.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<LegalEntityCurveGroup>
-
- com.opengamma.strata.market.curve.LegalEntityCurveGroup.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<LegalEntityCurveGroup>
- Enclosing class:
- LegalEntityCurveGroup
public static final class LegalEntityCurveGroup.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<LegalEntityCurveGroup>
The bean-builder forLegalEntityCurveGroup
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LegalEntityCurveGroup
build()
Object
get(String propertyName)
LegalEntityCurveGroup.Builder
issuerCurves(Map<Pair<LegalEntityGroup,Currency>,Curve> issuerCurves)
Sets the issuer curves in the curve group, keyed by legal entity group and currency.LegalEntityCurveGroup.Builder
name(CurveGroupName name)
Sets the name of the curve group.LegalEntityCurveGroup.Builder
repoCurves(Map<Pair<RepoGroup,Currency>,Curve> repoCurves)
Sets the repo curves in the curve group, keyed by repo group and currency.LegalEntityCurveGroup.Builder
set(String propertyName, Object newValue)
LegalEntityCurveGroup.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<LegalEntityCurveGroup>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<LegalEntityCurveGroup>
-
set
public LegalEntityCurveGroup.Builder set(String propertyName, Object newValue)
-
set
public LegalEntityCurveGroup.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<LegalEntityCurveGroup>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<LegalEntityCurveGroup>
-
build
public LegalEntityCurveGroup build()
-
name
public LegalEntityCurveGroup.Builder name(CurveGroupName name)
Sets the name of the curve group.- Parameters:
name
- the new value, not null- Returns:
- this, for chaining, not null
-
repoCurves
public LegalEntityCurveGroup.Builder repoCurves(Map<Pair<RepoGroup,Currency>,Curve> repoCurves)
Sets the repo curves in the curve group, keyed by repo group and currency.- Parameters:
repoCurves
- the new value, not null- Returns:
- this, for chaining, not null
-
issuerCurves
public LegalEntityCurveGroup.Builder issuerCurves(Map<Pair<LegalEntityGroup,Currency>,Curve> issuerCurves)
Sets the issuer curves in the curve group, keyed by legal entity group and currency.- Parameters:
issuerCurves
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<LegalEntityCurveGroup>
-
-