Interface RFSSubmissionLegServerFieldSet
public interface RFSSubmissionLegServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to this eventdefault void
setAccount
(Object value) The settlement account to usedefault void
setEntityId
(Object value) The entity to allocate this leg to.default void
setFixingDate
(Object value) Example value: 20160515default void
setIsTimeOption
(Object value) true if the leg is a time option.default void
setStartDate
(Object value) The start date for time options.default void
setStartTenor
(Object value) The start tenor for time options.
-
Method Details
-
addField
Adds a field to this event- Parameters:
fieldName
- The name of the field to add.value
- The value of the field to add. If the value is a BigDecimal then it will be converted to aString
usingBigDecimal.toPlainString()
-
setIsTimeOption
true if the leg is a time option. Must contain a StartTenor And/Or StartDate if the leg is a time-option- Parameters:
value
- The value to be set passed by i18n
-
setFixingDate
Example value: 20160515- Parameters:
value
- The value to be set passed by i18n
-
setStartTenor
The start tenor for time options. Example value: SPOT- Parameters:
value
- The value to be set passed by i18n
-
setStartDate
The start date for time options. Example value 20170123- Parameters:
value
- The value to be set passed by i18n
-
setAccount
The settlement account to use- Parameters:
value
- The value to be set passed by i18n
-
setEntityId
The entity to allocate this leg to.- Parameters:
value
- The value to be set passed by i18n
-