Class EarlyTerminationProvision
Java class for EarlyTerminationProvision complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EarlyTerminationProvision">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<sequence>
<group ref="{http://www.fpml.org/FpML-5/confirmation}MandatoryEarlyTermination.model"/>
<group ref="{http://www.fpml.org/FpML-5/confirmation}OptionalEarlyTermination.model" minOccurs="0"/>
</sequence>
<group ref="{http://www.fpml.org/FpML-5/confirmation}OptionalEarlyTermination.model"/>
</choice>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
-
id
-
-
Constructor Details
-
EarlyTerminationProvision
public EarlyTerminationProvision()
-
-
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 "MandatoryEarlyTermination" is used by two different parts of a schema. See: line 2456 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-ird-5-9.xsd line 2441 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-ird-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
setmethod 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<MandatoryEarlyTermination>JAXBElement<Period>JAXBElement<OptionalEarlyTermination>JAXBElement<ExercisePeriod> -
getId
-
setId
-