Class Basket
Java class for Basket complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Basket"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Asset"> <sequence> <element name="openUnits" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="basketConstituent" type="{http://www.fpml.org/FpML-5/confirmation}BasketConstituent" maxOccurs="unbounded"/> <element name="basketDivisor" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="basketVersion" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}BasketIdentifier.model" minOccurs="0"/> <element name="basketCurrency" type="{http://www.fpml.org/FpML-5/confirmation}Currency" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
rest
-
-
Constructor Details
-
Basket
public Basket()
-
-
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 "BasketId" is used by two different parts of a schema. See: line 1562 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-asset-5-9.xsd line 1556 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-asset-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
<
BigDecimal
>
JAXBElement
<
BasketConstituent
>
JAXBElement
<
BigDecimal
>
JAXBElement
<
BigInteger
>
JAXBElement
<
BasketName
>
JAXBElement
<
BasketId
>
JAXBElement
<
Currency
>
-