Class LegAmount
java.lang.Object
net.finmath.smartcontract.product.xml.LegAmount
- Direct Known Subclasses:
ReturnSwapAmount
A type describing the amount that will paid or received on each of the
payment dates. This type is used to define both the Equity Amount and the Interest Amount.
Java class for LegAmount complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LegAmount"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}CurrencyAndDeterminationMethod.model" minOccurs="0"/> <choice> <element name="referenceAmount" type="{http://www.fpml.org/FpML-5/confirmation}ReferenceAmount"/> <element name="formula" type="{http://www.fpml.org/FpML-5/confirmation}Formula"/> <element name="encodedDescription" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> </choice> <element name="calculationDates" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableRelativeOrPeriodicDates" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AdjustableRelativeOrPeriodicDates
protected IdentifiedCurrency
protected IdentifiedCurrencyReference
protected DeterminationMethod
protected byte[]
protected Formula
protected ReferenceAmount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the calculationDates property.Gets the value of the currency property.Gets the value of the currencyReference property.Gets the value of the determinationMethod property.byte[]
Gets the value of the encodedDescription property.Gets the value of the formula property.Gets the value of the referenceAmount property.void
Sets the value of the calculationDates property.void
setCurrency
(IdentifiedCurrency value) Sets the value of the currency property.void
Sets the value of the currencyReference property.void
Sets the value of the determinationMethod property.void
setEncodedDescription
(byte[] value) Sets the value of the encodedDescription property.void
setFormula
(Formula value) Sets the value of the formula property.void
Sets the value of the referenceAmount property.
-
Field Details
-
currency
-
determinationMethod
-
currencyReference
-
referenceAmount
-
formula
-
encodedDescription
protected byte[] encodedDescription -
calculationDates
-
-
Constructor Details
-
LegAmount
public LegAmount()
-
-
Method Details
-
getCurrency
Gets the value of the currency property.- Returns:
- possible object is
IdentifiedCurrency
-
setCurrency
Sets the value of the currency property.- Parameters:
value
- allowed object isIdentifiedCurrency
-
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
-
getCurrencyReference
Gets the value of the currencyReference property.- Returns:
- possible object is
IdentifiedCurrencyReference
-
setCurrencyReference
Sets the value of the currencyReference property.- Parameters:
value
- allowed object isIdentifiedCurrencyReference
-
getReferenceAmount
Gets the value of the referenceAmount property.- Returns:
- possible object is
ReferenceAmount
-
setReferenceAmount
Sets the value of the referenceAmount property.- Parameters:
value
- allowed object isReferenceAmount
-
getFormula
-
setFormula
-
getEncodedDescription
public byte[] getEncodedDescription()Gets the value of the encodedDescription property.- Returns:
- possible object is byte[]
-
setEncodedDescription
public void setEncodedDescription(byte[] value) Sets the value of the encodedDescription property.- Parameters:
value
- allowed object is byte[]
-
getCalculationDates
Gets the value of the calculationDates property.- Returns:
- possible object is
AdjustableRelativeOrPeriodicDates
-
setCalculationDates
Sets the value of the calculationDates property.- Parameters:
value
- allowed object isAdjustableRelativeOrPeriodicDates
-