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
FieldsModifier and TypeFieldDescriptionprotected List<SettlementTerms>protected FeeLegprotected GeneralTermsprotected List<ProtectionTerms>Fields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass -
Constructor Summary
Constructors -
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.voidSets the value of the feeLeg property.voidsetGeneralTerms(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
Gets the value of the feeLeg property.- Returns:
- possible object is
FeeLeg
-
setFeeLeg
Sets the value of the feeLeg property.- Parameters:
value- allowed object isFeeLeg
-
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
setmethod 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
setmethod 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
CashSettlementTermsPhysicalSettlementTerms
-