com.hubject.datex.energyinfrastructure.generated.infrastructure.ElectricEnergyMix Maven / Gradle / Ivy
Show all versions of convert Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.06 at 11:44:34 AM CEST
//
package com.hubject.datex.energyinfrastructure.generated.infrastructure;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
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.XmlType;
import com.hubject.datex.energyinfrastructure.generated.common.ExtensionType;
import com.hubject.datex.energyinfrastructure.generated.facilities.Organisation;
import com.hubject.datex.energyinfrastructure.generated.facilities.Rates;
/**
* Java class for ElectricEnergyMix complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ElectricEnergyMix">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="isGreenEnergy" type="{http://datex2.eu/schema/3/common}Boolean" minOccurs="0"/>
* <element name="electricEnergySourceRatio" type="{http://datex2.eu/schema/3/energyInfrastructure}ElectricEnergySourceRatio" maxOccurs="unbounded" minOccurs="0"/>
* <element name="energyProvider" type="{http://datex2.eu/schema/3/facilities}Organisation" minOccurs="0"/>
* <element name="rates" type="{http://datex2.eu/schema/3/facilities}Rates" minOccurs="0"/>
* <element name="_electricEnergyMixExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
* </sequence>
* <attribute name="energyMixIndex" use="required" type="{http://datex2.eu/schema/3/common}Integer" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ElectricEnergyMix", propOrder = {
"isGreenEnergy",
"electricEnergySourceRatio",
"energyProvider",
"rates",
"electricEnergyMixExtension"
})
public class ElectricEnergyMix {
protected Boolean isGreenEnergy;
protected List electricEnergySourceRatio;
protected Organisation energyProvider;
protected Rates rates;
@XmlElement(name = "_electricEnergyMixExtension")
protected ExtensionType electricEnergyMixExtension;
@XmlAttribute(name = "energyMixIndex", required = true)
protected BigInteger energyMixIndex;
/**
* Gets the value of the isGreenEnergy property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsGreenEnergy() {
return isGreenEnergy;
}
/**
* Sets the value of the isGreenEnergy property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsGreenEnergy(Boolean value) {
this.isGreenEnergy = value;
}
/**
* Gets the value of the electricEnergySourceRatio 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 JAXB object.
* This is why there is not a set
method for the electricEnergySourceRatio property.
*
*
* For example, to add a new item, do as follows:
*
* getElectricEnergySourceRatio().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElectricEnergySourceRatio }
*
*
*/
public List getElectricEnergySourceRatio() {
if (electricEnergySourceRatio == null) {
electricEnergySourceRatio = new ArrayList();
}
return this.electricEnergySourceRatio;
}
/**
* Gets the value of the energyProvider property.
*
* @return
* possible object is
* {@link Organisation }
*
*/
public Organisation getEnergyProvider() {
return energyProvider;
}
/**
* Sets the value of the energyProvider property.
*
* @param value
* allowed object is
* {@link Organisation }
*
*/
public void setEnergyProvider(Organisation value) {
this.energyProvider = value;
}
/**
* Gets the value of the rates property.
*
* @return
* possible object is
* {@link Rates }
*
*/
public Rates getRates() {
return rates;
}
/**
* Sets the value of the rates property.
*
* @param value
* allowed object is
* {@link Rates }
*
*/
public void setRates(Rates value) {
this.rates = value;
}
/**
* Gets the value of the electricEnergyMixExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getElectricEnergyMixExtension() {
return electricEnergyMixExtension;
}
/**
* Sets the value of the electricEnergyMixExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setElectricEnergyMixExtension(ExtensionType value) {
this.electricEnergyMixExtension = value;
}
/**
* Gets the value of the energyMixIndex property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getEnergyMixIndex() {
return energyMixIndex;
}
/**
* Sets the value of the energyMixIndex property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setEnergyMixIndex(BigInteger value) {
this.energyMixIndex = value;
}
}