org.fpml.fpml_5.confirmation.CommodityNotionalQuantity Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.05.10 at 03:58:40 PM UTC
//
package org.fpml.fpml_5.confirmation;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Commodity Notional.
*
* Java class for CommodityNotionalQuantity complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CommodityNotionalQuantity">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="quantityUnit" type="{http://www.fpml.org/FpML-5/confirmation}QuantityUnit"/>
* <element name="quantityFrequency" type="{http://www.fpml.org/FpML-5/confirmation}CommodityQuantityFrequency"/>
* <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CommodityNotionalQuantity", propOrder = {
"quantityUnit",
"quantityFrequency",
"quantity"
})
@XmlSeeAlso({
CommoditySettlementPeriodsNotionalQuantity.class,
ElectricityPhysicalDeliveryQuantity.class
})
public class CommodityNotionalQuantity {
@XmlElement(required = true)
protected QuantityUnit quantityUnit;
@XmlElement(required = true)
protected CommodityQuantityFrequency quantityFrequency;
@XmlElement(required = true)
protected BigDecimal quantity;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the quantityUnit property.
*
* @return
* possible object is
* {@link QuantityUnit }
*
*/
public QuantityUnit getQuantityUnit() {
return quantityUnit;
}
/**
* Sets the value of the quantityUnit property.
*
* @param value
* allowed object is
* {@link QuantityUnit }
*
*/
public void setQuantityUnit(QuantityUnit value) {
this.quantityUnit = value;
}
/**
* Gets the value of the quantityFrequency property.
*
* @return
* possible object is
* {@link CommodityQuantityFrequency }
*
*/
public CommodityQuantityFrequency getQuantityFrequency() {
return quantityFrequency;
}
/**
* Sets the value of the quantityFrequency property.
*
* @param value
* allowed object is
* {@link CommodityQuantityFrequency }
*
*/
public void setQuantityFrequency(CommodityQuantityFrequency value) {
this.quantityFrequency = value;
}
/**
* Gets the value of the quantity property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setQuantity(BigDecimal value) {
this.quantity = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy