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
FieldsModifier and TypeFieldDescriptionprotected XMLGregorianCalendarprotected Stringprotected XMLGregorianCalendarprotected BigIntegerFields inherited from class net.finmath.smartcontract.product.xml.ExchangeTraded
optionsExchangeId, relatedExchangeId, specifiedExchangeIdFields inherited from class net.finmath.smartcontract.product.xml.UnderlyingAsset
clearanceSystem, currency, definition, exchangeIdFields inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
description, instrumentId -
Constructor Summary
Constructors -
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.voidSets the value of the contractYearMonth property.voidsetFutureContractReference(String value) Sets the value of the futureContractReference property.voidsetMaturity(XMLGregorianCalendar value) Sets the value of the maturity property.voidsetMultiplier(BigInteger value) Sets the value of the multiplier property.Methods inherited from class net.finmath.smartcontract.product.xml.ExchangeTraded
getOptionsExchangeId, getRelatedExchangeId, getSpecifiedExchangeIdMethods inherited from class net.finmath.smartcontract.product.xml.UnderlyingAsset
getClearanceSystem, getCurrency, getDefinition, getExchangeId, setClearanceSystem, setCurrency, setDefinition, setExchangeIdMethods 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
-