Class CreditDefaultSwap
Java class for CreditDefaultSwap complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CreditDefaultSwap"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Product"> <sequence> <element name="generalTerms" type="{http://www.fpml.org/FpML-5/confirmation}GeneralTerms"/> <element name="feeLeg" type="{http://www.fpml.org/FpML-5/confirmation}FeeLeg"/> <element name="protectionTerms" type="{http://www.fpml.org/FpML-5/confirmation}ProtectionTerms" maxOccurs="unbounded"/> <choice maxOccurs="unbounded" minOccurs="0"> <element name="cashSettlementTerms" type="{http://www.fpml.org/FpML-5/confirmation}CashSettlementTerms"/> <element name="physicalSettlementTerms" type="{http://www.fpml.org/FpML-5/confirmation}PhysicalSettlementTerms"/> </choice> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<SettlementTerms> protected FeeLeg
protected GeneralTerms
protected List
<ProtectionTerms> 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 cashSettlementTermsOrPhysicalSettlementTerms property.Gets the value of the feeLeg property.Gets the value of the generalTerms property.Gets the value of the protectionTerms property.void
Sets the value of the feeLeg property.void
setGeneralTerms
(GeneralTerms value) Sets the value of the generalTerms property.Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
generalTerms
-
feeLeg
-
protectionTerms
-
cashSettlementTermsOrPhysicalSettlementTerms
-
-
Constructor Details
-
CreditDefaultSwap
public CreditDefaultSwap()
-
-
Method Details
-
getGeneralTerms
Gets the value of the generalTerms property.- Returns:
- possible object is
GeneralTerms
-
setGeneralTerms
Sets the value of the generalTerms property.- Parameters:
value
- allowed object isGeneralTerms
-
getFeeLeg
-
setFeeLeg
-
getProtectionTerms
Gets the value of the protectionTerms 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 protectionTerms property.For example, to add a new item, do as follows:
getProtectionTerms().add(newItem);
Objects of the following type(s) are allowed in the list
ProtectionTerms
-
getCashSettlementTermsOrPhysicalSettlementTerms
Gets the value of the cashSettlementTermsOrPhysicalSettlementTerms 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 cashSettlementTermsOrPhysicalSettlementTerms property.For example, to add a new item, do as follows:
getCashSettlementTermsOrPhysicalSettlementTerms().add(newItem);
Objects of the following type(s) are allowed in the list
CashSettlementTerms
PhysicalSettlementTerms
-