Class PrincipalExchangeAmount
java.lang.Object
net.finmath.smartcontract.product.xml.PrincipalExchangeAmount
Specifies the principal exchange amount, either by explicitly defining it,
or by point to an amount defined somewhere else in the swap document.
Java class for PrincipalExchangeAmount complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PrincipalExchangeAmount"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="amountRelativeTo" type="{http://www.fpml.org/FpML-5/confirmation}AmountReference"/> <element name="determinationMethod" type="{http://www.fpml.org/FpML-5/confirmation}DeterminationMethod"/> <element name="principalAmount" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeMoney"/> </choice> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AmountReference
protected DeterminationMethod
protected NonNegativeMoney
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the amountRelativeTo property.Gets the value of the determinationMethod property.Gets the value of the principalAmount property.void
Sets the value of the amountRelativeTo property.void
Sets the value of the determinationMethod property.void
Sets the value of the principalAmount property.
-
Field Details
-
amountRelativeTo
-
determinationMethod
-
principalAmount
-
-
Constructor Details
-
PrincipalExchangeAmount
public PrincipalExchangeAmount()
-
-
Method Details
-
getAmountRelativeTo
Gets the value of the amountRelativeTo property.- Returns:
- possible object is
AmountReference
-
setAmountRelativeTo
Sets the value of the amountRelativeTo property.- Parameters:
value
- allowed object isAmountReference
-
getDeterminationMethod
Gets the value of the determinationMethod property.- Returns:
- possible object is
DeterminationMethod
-
setDeterminationMethod
Sets the value of the determinationMethod property.- Parameters:
value
- allowed object isDeterminationMethod
-
getPrincipalAmount
Gets the value of the principalAmount property.- Returns:
- possible object is
NonNegativeMoney
-
setPrincipalAmount
Sets the value of the principalAmount property.- Parameters:
value
- allowed object isNonNegativeMoney
-