Class Cash
java.lang.Object
net.finmath.smartcontract.product.xml.Asset
net.finmath.smartcontract.product.xml.Cash
Java class for Cash complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Cash">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}Asset">
<sequence>
<element name="instrumentId" type="{http://www.fpml.org/FpML-5/confirmation}InstrumentId" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://www.fpml.org/FpML-5/confirmation}String" minOccurs="0"/>
<element name="currency" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Currencyprotected Stringprotected List<InstrumentId> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the currency property.Gets the value of the description property.Gets the value of the instrumentId property.voidsetCurrency(Currency value) Sets the value of the currency property.voidsetDescription(String value) Sets the value of the description property.
-
Field Details
-
instrumentId
-
description
-
currency
-
-
Constructor Details
-
Cash
public Cash()
-
-
Method Details
-
getInstrumentId
Gets the value of the instrumentId 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 instrumentId property.For example, to add a new item, do as follows:
getInstrumentId().add(newItem);Objects of the following type(s) are allowed in the list
InstrumentId -
getDescription
-
setDescription
-
getCurrency
-
setCurrency
-