net.finmath.smartcontract.product.xml.GasProduct Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* A type defining the characteristics of the gas being traded in a physically
* settled gas transaction.
*
*
* Java class for GasProduct complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GasProduct">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="type" type="{http://www.fpml.org/FpML-5/confirmation}GasProductTypeEnum"/>
* <choice minOccurs="0">
* <element name="calorificValue" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal"/>
* <element name="quality" type="{http://www.fpml.org/FpML-5/confirmation}GasQuality"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GasProduct", propOrder = {
"type",
"calorificValue",
"quality"
})
public class GasProduct {
@XmlElement(required = true)
@XmlSchemaType(name = "token")
protected GasProductTypeEnum type;
protected BigDecimal calorificValue;
protected GasQuality quality;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link GasProductTypeEnum }
*
*/
public GasProductTypeEnum getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link GasProductTypeEnum }
*
*/
public void setType(GasProductTypeEnum value) {
this.type = value;
}
/**
* Gets the value of the calorificValue property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCalorificValue() {
return calorificValue;
}
/**
* Sets the value of the calorificValue property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCalorificValue(BigDecimal value) {
this.calorificValue = value;
}
/**
* Gets the value of the quality property.
*
* @return
* possible object is
* {@link GasQuality }
*
*/
public GasQuality getQuality() {
return quality;
}
/**
* Sets the value of the quality property.
*
* @param value
* allowed object is
* {@link GasQuality }
*
*/
public void setQuality(GasQuality value) {
this.quality = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy