Class CommodityAmericanExercise
Java class for CommodityAmericanExercise complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityAmericanExercise"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Exercise"> <sequence> <element name="exercisePeriod" type="{http://www.fpml.org/FpML-5/confirmation}CommodityExercisePeriods"/> <sequence minOccurs="0"> <element name="exercisePeriod" type="{http://www.fpml.org/FpML-5/confirmation}CommodityExercisePeriods" maxOccurs="unbounded"/> <element name="exerciseFrequency" type="{http://www.fpml.org/FpML-5/confirmation}Frequency" minOccurs="0"/> </sequence> <choice minOccurs="0"> <element name="latestExerciseTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime"/> <element name="latestExerciseTimeDetermination" type="{http://www.fpml.org/FpML-5/confirmation}DeterminationMethod"/> </choice> <element name="expirationTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime" minOccurs="0"/> <element name="multipleExercise" type="{http://www.fpml.org/FpML-5/confirmation}CommodityMultipleExercise" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
rest
-
-
Constructor Details
-
CommodityAmericanExercise
public CommodityAmericanExercise()
-
-
Method Details
-
getRest
Gets the rest of the content model.You are getting this "catch-all" property because of the following reason: The field name "ExercisePeriod" is used by two different parts of a schema. See: line 474 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-com-5-9.xsd line 464 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 rest 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 rest property.For example, to add a new item, do as follows:
getRest().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
CommodityExercisePeriods
>
JAXBElement
<
Frequency
>
JAXBElement
<
BusinessCenterTime
>
JAXBElement
<
DeterminationMethod
>
JAXBElement
<
BusinessCenterTime
>
JAXBElement
<
CommodityMultipleExercise
>
-