Class MoneyBase
java.lang.Object
net.finmath.smartcontract.product.xml.MoneyBase
- Direct Known Subclasses:
Money,NonNegativeMoney,PositiveMoney
Abstract base class for all money types.
Java class for MoneyBase complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MoneyBase">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="currency" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the currency property.getId()Gets the value of the id property.voidsetCurrency(Currency value)Sets the value of the currency property.voidSets the value of the id property.
-
Field Details
-
currency
-
id
-
-
Constructor Details
-
MoneyBase
public MoneyBase()
-
-
Method Details
-
getCurrency
Gets the value of the currency property.- Returns:
- possible object is
Currency
-
setCurrency
Sets the value of the currency property.- Parameters:
value- allowed object isCurrency
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-