| Modifier and Type | Method and Description |
|---|---|
ValueStep |
build() |
ValueStep.Builder |
date(LocalDate date)
Sets the date of the schedule period boundary at which the change occurs.
|
Object |
get(String propertyName) |
ValueStep.Builder |
periodIndex(Integer periodIndex)
Sets the index of the schedule period boundary at which the change occurs.
|
ValueStep.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ValueStep.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
ValueStep.Builder |
value(ValueAdjustment value)
Sets the value representing the change that occurs.
|
public ValueStep.Builder set(String propertyName, Object newValue)
public ValueStep.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
public ValueStep build()
public ValueStep.Builder periodIndex(Integer periodIndex)
This property is used to define the date that the step occurs in relative terms. The date is identified by specifying the zero-based index of the schedule period boundary. The change will occur at the start of the specified period. Thus an index of zero is the start of the first period or initial stub. The index must be one or greater, as a change is not permitted at the start of the first period.
For example, consider a 5 year swap from 2012-02-01 to 2017-02-01 with 6 month frequency. A zero-based index of '2' would refer to start of the 3rd period, which would be 2013-02-01.
periodIndex - the new valuepublic ValueStep.Builder date(LocalDate date)
This property is used to define the date that the step occurs in absolute terms. This must be one of the unadjusted dates in the schedule period schedule. This is an unadjusted date and calculation period business day adjustments will apply.
For example, consider a 5 year swap from 2012-02-01 to 2017-02-01 with 6 month frequency. The date '2013-02-01' is an unadjusted schedule period boundary, and so may be specified here.
date - the new valuepublic ValueStep.Builder value(ValueAdjustment value)
The adjustment can be an absolute value, or various kinds of relative values.
value - the new value, not nullCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.