Class Swap
Java class for Swap complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Swap"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Product"> <sequence> <element name="swapStream" type="{http://www.fpml.org/FpML-5/confirmation}InterestRateStream" maxOccurs="unbounded"/> <element name="earlyTerminationProvision" type="{http://www.fpml.org/FpML-5/confirmation}EarlyTerminationProvision" minOccurs="0"/> <element name="cancelableProvision" type="{http://www.fpml.org/FpML-5/confirmation}CancelableProvision" minOccurs="0"/> <element name="extendibleProvision" type="{http://www.fpml.org/FpML-5/confirmation}ExtendibleProvision" minOccurs="0"/> <element name="additionalPayment" type="{http://www.fpml.org/FpML-5/confirmation}Payment" maxOccurs="unbounded" minOccurs="0"/> <element name="additionalTerms" type="{http://www.fpml.org/FpML-5/confirmation}SwapAdditionalTerms" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected SwapAdditionalTerms
protected CancelableProvision
protected EarlyTerminationProvision
protected ExtendibleProvision
protected List
<InterestRateStream> Fields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the additionalPayment property.Gets the value of the additionalTerms property.Gets the value of the cancelableProvision property.Gets the value of the earlyTerminationProvision property.Gets the value of the extendibleProvision property.Gets the value of the swapStream property.void
Sets the value of the additionalTerms property.void
Sets the value of the cancelableProvision property.void
Sets the value of the earlyTerminationProvision property.void
Sets the value of the extendibleProvision property.Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
swapStream
-
earlyTerminationProvision
-
cancelableProvision
-
extendibleProvision
-
additionalPayment
-
additionalTerms
-
-
Constructor Details
-
Swap
public Swap()
-
-
Method Details
-
getSwapStream
Gets the value of the swapStream 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 swapStream property.For example, to add a new item, do as follows:
getSwapStream().add(newItem);
Objects of the following type(s) are allowed in the list
InterestRateStream
-
getEarlyTerminationProvision
Gets the value of the earlyTerminationProvision property.- Returns:
- possible object is
EarlyTerminationProvision
-
setEarlyTerminationProvision
Sets the value of the earlyTerminationProvision property.- Parameters:
value
- allowed object isEarlyTerminationProvision
-
getCancelableProvision
Gets the value of the cancelableProvision property.- Returns:
- possible object is
CancelableProvision
-
setCancelableProvision
Sets the value of the cancelableProvision property.- Parameters:
value
- allowed object isCancelableProvision
-
getExtendibleProvision
Gets the value of the extendibleProvision property.- Returns:
- possible object is
ExtendibleProvision
-
setExtendibleProvision
Sets the value of the extendibleProvision property.- Parameters:
value
- allowed object isExtendibleProvision
-
getAdditionalPayment
Gets the value of the additionalPayment 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 additionalPayment property.For example, to add a new item, do as follows:
getAdditionalPayment().add(newItem);
Objects of the following type(s) are allowed in the list
Payment
-
getAdditionalTerms
Gets the value of the additionalTerms property.- Returns:
- possible object is
SwapAdditionalTerms
-
setAdditionalTerms
Sets the value of the additionalTerms property.- Parameters:
value
- allowed object isSwapAdditionalTerms
-