net.finmath.smartcontract.product.xml.EnvironmentalProduct Maven / Gradle / Ivy
Show all versions of finmath-smart-derivative-contract Show documentation
//
// 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.util.ArrayList;
import java.util.List;
import javax.xml.datatype.XMLGregorianCalendar;
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 environmental allowance or
* credit being traded. Settlement of environmental transactions is classified as physical because
* settlement is accomplished through the exchange of one or more certificates (despite the fact that this
* exchange is almost always executed through electronic book entry transfer between the parties allowance
* accounts).
*
*
* Java class for EnvironmentalProduct complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EnvironmentalProduct">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="productType" type="{http://www.fpml.org/FpML-5/confirmation}EnvironmentalProductTypeEnum"/>
* <element name="compliancePeriod" type="{http://www.fpml.org/FpML-5/confirmation}EnvironmentalProductComplaincePeriod" minOccurs="0"/>
* <element name="vintage" type="{http://www.w3.org/2001/XMLSchema}gYear" maxOccurs="unbounded" minOccurs="0"/>
* <element name="applicableLaw" type="{http://www.fpml.org/FpML-5/confirmation}EnvironmentalProductApplicableLaw" minOccurs="0"/>
* <element name="trackingSystem" type="{http://www.fpml.org/FpML-5/confirmation}EnvironmentalTrackingSystem" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EnvironmentalProduct", propOrder = {
"productType",
"compliancePeriod",
"vintage",
"applicableLaw",
"trackingSystem"
})
public class EnvironmentalProduct {
@XmlElement(required = true)
@XmlSchemaType(name = "token")
protected EnvironmentalProductTypeEnum productType;
protected EnvironmentalProductComplaincePeriod compliancePeriod;
@XmlSchemaType(name = "gYear")
protected List vintage;
protected EnvironmentalProductApplicableLaw applicableLaw;
protected EnvironmentalTrackingSystem trackingSystem;
/**
* Gets the value of the productType property.
*
* @return
* possible object is
* {@link EnvironmentalProductTypeEnum }
*
*/
public EnvironmentalProductTypeEnum getProductType() {
return productType;
}
/**
* Sets the value of the productType property.
*
* @param value
* allowed object is
* {@link EnvironmentalProductTypeEnum }
*
*/
public void setProductType(EnvironmentalProductTypeEnum value) {
this.productType = value;
}
/**
* Gets the value of the compliancePeriod property.
*
* @return
* possible object is
* {@link EnvironmentalProductComplaincePeriod }
*
*/
public EnvironmentalProductComplaincePeriod getCompliancePeriod() {
return compliancePeriod;
}
/**
* Sets the value of the compliancePeriod property.
*
* @param value
* allowed object is
* {@link EnvironmentalProductComplaincePeriod }
*
*/
public void setCompliancePeriod(EnvironmentalProductComplaincePeriod value) {
this.compliancePeriod = value;
}
/**
* Gets the value of the vintage property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the vintage property.
*
*
* For example, to add a new item, do as follows:
*
* getVintage().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link XMLGregorianCalendar }
*
*
*/
public List getVintage() {
if (vintage == null) {
vintage = new ArrayList();
}
return this.vintage;
}
/**
* Gets the value of the applicableLaw property.
*
* @return
* possible object is
* {@link EnvironmentalProductApplicableLaw }
*
*/
public EnvironmentalProductApplicableLaw getApplicableLaw() {
return applicableLaw;
}
/**
* Sets the value of the applicableLaw property.
*
* @param value
* allowed object is
* {@link EnvironmentalProductApplicableLaw }
*
*/
public void setApplicableLaw(EnvironmentalProductApplicableLaw value) {
this.applicableLaw = value;
}
/**
* Gets the value of the trackingSystem property.
*
* @return
* possible object is
* {@link EnvironmentalTrackingSystem }
*
*/
public EnvironmentalTrackingSystem getTrackingSystem() {
return trackingSystem;
}
/**
* Sets the value of the trackingSystem property.
*
* @param value
* allowed object is
* {@link EnvironmentalTrackingSystem }
*
*/
public void setTrackingSystem(EnvironmentalTrackingSystem value) {
this.trackingSystem = value;
}
}