Class Future
An exchange traded future contract.
Java class for Future complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Future"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}ExchangeTraded"> <sequence> <element name="multiplier" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> <element name="futureContractReference" type="{http://www.fpml.org/FpML-5/confirmation}String" minOccurs="0"/> <choice minOccurs="0"> <element name="maturity" type="{http://www.w3.org/2001/XMLSchema}date"/> <element name="contractYearMonth" type="{http://www.w3.org/2001/XMLSchema}gYearMonth"/> </choice> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected XMLGregorianCalendar
protected String
protected XMLGregorianCalendar
protected BigInteger
Fields inherited from class net.finmath.smartcontract.product.xml.ExchangeTraded
optionsExchangeId, relatedExchangeId, specifiedExchangeId
Fields inherited from class net.finmath.smartcontract.product.xml.UnderlyingAsset
clearanceSystem, currency, definition, exchangeId
Fields inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
description, instrumentId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the contractYearMonth property.Gets the value of the futureContractReference property.Gets the value of the maturity property.Gets the value of the multiplier property.void
Sets the value of the contractYearMonth property.void
setFutureContractReference
(String value) Sets the value of the futureContractReference property.void
setMaturity
(XMLGregorianCalendar value) Sets the value of the maturity property.void
setMultiplier
(BigInteger value) Sets the value of the multiplier property.Methods inherited from class net.finmath.smartcontract.product.xml.ExchangeTraded
getOptionsExchangeId, getRelatedExchangeId, getSpecifiedExchangeId
Methods inherited from class net.finmath.smartcontract.product.xml.UnderlyingAsset
getClearanceSystem, getCurrency, getDefinition, getExchangeId, setClearanceSystem, setCurrency, setDefinition, setExchangeId
Methods inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
getDescription, getInstrumentId, setDescription
-
Field Details
-
multiplier
-
futureContractReference
-
maturity
-
contractYearMonth
-
-
Constructor Details
-
Future
public Future()
-
-
Method Details
-
getMultiplier
Gets the value of the multiplier property.- Returns:
- possible object is
BigInteger
-
setMultiplier
Sets the value of the multiplier property.- Parameters:
value
- allowed object isBigInteger
-
getFutureContractReference
-
setFutureContractReference
-
getMaturity
Gets the value of the maturity property.- Returns:
- possible object is
XMLGregorianCalendar
-
setMaturity
Sets the value of the maturity property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getContractYearMonth
Gets the value of the contractYearMonth property.- Returns:
- possible object is
XMLGregorianCalendar
-
setContractYearMonth
Sets the value of the contractYearMonth property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-