Class CommodityFx
Java class for CommodityFx complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityFx"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="primaryRateSource" type="{http://www.fpml.org/FpML-5/confirmation}InformationSource"/> <element name="secondaryRateSource" type="{http://www.fpml.org/FpML-5/confirmation}InformationSource" minOccurs="0"/> <element name="fxType" type="{http://www.fpml.org/FpML-5/confirmation}CommodityFxType" minOccurs="0"/> <element name="averagingMethod" type="{http://www.fpml.org/FpML-5/confirmation}AveragingMethodEnum" minOccurs="0"/> <choice minOccurs="0"> <element name="fixingTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime"/> <sequence> <choice> <element name="fxObservationDates" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDates" maxOccurs="unbounded"/> <sequence> <sequence minOccurs="0"> <group ref="{http://www.fpml.org/FpML-5/confirmation}Days.model"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}LagOrReference.model" minOccurs="0"/> </sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityCalculationPeriodsPointer.model"/> </sequence> </choice> <element name="fixingTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime" minOccurs="0"/> </sequence> </choice> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList
<jakarta.xml.bind.JAXBElement<?>> Gets the rest of the content model.
-
Field Details
-
-
Constructor Details
-
CommodityFx
public CommodityFx()
-
-
Method Details
-
getContent
Gets the rest of the content model.You are getting this "catch-all" property because of the following reason: The field name "FixingTime" is used by two different parts of a schema. See: line 1348 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-com-5-9.xsd line 1310 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-com-5-9.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
InformationSource
>
JAXBElement
<
InformationSource
>
JAXBElement
<
CommodityFxType
>
JAXBElement
<
AveragingMethodEnum
>
JAXBElement
<
BusinessCenterTime
>
JAXBElement
<
AdjustableDates
>
JAXBElement
<
String
>
JAXBElement
<
CommodityFrequencyType
>
JAXBElement
<
BigInteger
>
JAXBElement
<
DayOfWeekEnum
>
JAXBElement
<
BigInteger
>
JAXBElement
<
BusinessDayConventionEnum
>
JAXBElement
<
Lag
>
JAXBElement
<
LagReference
>
JAXBElement
<
CalculationPeriodsReference
>
JAXBElement
<
CalculationPeriodsScheduleReference
>
JAXBElement
<
CalculationPeriodsDatesReference
>
-