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 LegalEntityCurveGroupbuild()Objectget(String propertyName)LegalEntityCurveGroup.BuilderissuerCurves(Map<Pair<LegalEntityGroup,Currency>,Curve> issuerCurves)Sets the issuer curves in the curve group, keyed by legal entity group and currency.LegalEntityCurveGroup.Buildername(CurveGroupName name)Sets the name of the curve group.LegalEntityCurveGroup.BuilderrepoCurves(Map<Pair<RepoGroup,Currency>,Curve> repoCurves)Sets the repo curves in the curve group, keyed by repo group and currency.LegalEntityCurveGroup.Builderset(String propertyName, Object newValue)LegalEntityCurveGroup.Builderset(org.joda.beans.MetaProperty<?> property, Object value)StringtoString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
getin interfaceorg.joda.beans.BeanBuilder<LegalEntityCurveGroup>- Overrides:
getin 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:
setin interfaceorg.joda.beans.BeanBuilder<LegalEntityCurveGroup>- Overrides:
setin 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:
toStringin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<LegalEntityCurveGroup>
-
-