public static final class CdsIsdaCreditCurveNode.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CdsIsdaCreditCurveNode>
CdsIsdaCreditCurveNode.| Modifier and Type | Method and Description |
|---|---|
CdsIsdaCreditCurveNode |
build() |
CdsIsdaCreditCurveNode.Builder |
fixedRate(Double fixedRate)
Sets the fixed coupon rate.
|
Object |
get(String propertyName) |
CdsIsdaCreditCurveNode.Builder |
label(String label)
Sets the label to use for the node.
|
CdsIsdaCreditCurveNode.Builder |
legalEntityId(StandardId legalEntityId)
Sets the legal entity identifier.
|
CdsIsdaCreditCurveNode.Builder |
observableId(ObservableId observableId)
Sets the identifier of the market data value that provides the quoted value.
|
CdsIsdaCreditCurveNode.Builder |
quoteConvention(CdsQuoteConvention quoteConvention)
Sets the market quote convention.
|
CdsIsdaCreditCurveNode.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
CdsIsdaCreditCurveNode.Builder |
set(String propertyName,
Object newValue) |
CdsIsdaCreditCurveNode.Builder |
template(CdsTemplate template)
Sets the template for the CDS associated with this node.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<CdsIsdaCreditCurveNode>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CdsIsdaCreditCurveNode>public CdsIsdaCreditCurveNode.Builder set(String propertyName, Object newValue)
public CdsIsdaCreditCurveNode.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<CdsIsdaCreditCurveNode>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CdsIsdaCreditCurveNode>public CdsIsdaCreditCurveNode build()
public CdsIsdaCreditCurveNode.Builder template(CdsTemplate template)
template - the new value, not nullpublic CdsIsdaCreditCurveNode.Builder label(String label)
When building, this will default based on template if not specified.
label - the new value, not emptypublic CdsIsdaCreditCurveNode.Builder observableId(ObservableId observableId)
observableId - the new value, not nullpublic CdsIsdaCreditCurveNode.Builder legalEntityId(StandardId legalEntityId)
This identifier is used for the reference legal entity of the CDS.
legalEntityId - the new value, not nullpublic CdsIsdaCreditCurveNode.Builder quoteConvention(CdsQuoteConvention quoteConvention)
The CDS is quoted in par spread, points upfront or quoted spread.
See CdsQuoteConvention for detail.
quoteConvention - the new value, not nullpublic CdsIsdaCreditCurveNode.Builder fixedRate(Double fixedRate)
This must be represented in decimal form.
fixedRate - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CdsIsdaCreditCurveNode>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.