network.oxalis.peppol.ubl2.jaxb.cac.MeterType Maven / Gradle / Ivy
Show all versions of peppol-ubl21 Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.08.26 at 01:27:09 PM UTC
//
package network.oxalis.peppol.ubl2.jaxb.cac;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import network.oxalis.peppol.ubl2.jaxb.cbc.MeterConstantCodeType;
import network.oxalis.peppol.ubl2.jaxb.cbc.MeterConstantType;
import network.oxalis.peppol.ubl2.jaxb.cbc.MeterNameType;
import network.oxalis.peppol.ubl2.jaxb.cbc.MeterNumberType;
import network.oxalis.peppol.ubl2.jaxb.cbc.TotalDeliveredQuantityType;
/**
* Java class for MeterType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MeterType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterNumber" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterName" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterConstant" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterConstantCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TotalDeliveredQuantity" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MeterReading" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MeterProperty" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MeterType", propOrder = {
"meterNumber",
"meterName",
"meterConstant",
"meterConstantCode",
"totalDeliveredQuantity",
"meterReading",
"meterProperty"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MeterType {
@XmlElement(name = "MeterNumber", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MeterNumberType meterNumber;
@XmlElement(name = "MeterName", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MeterNameType meterName;
@XmlElement(name = "MeterConstant", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MeterConstantType meterConstant;
@XmlElement(name = "MeterConstantCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MeterConstantCodeType meterConstantCode;
@XmlElement(name = "TotalDeliveredQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TotalDeliveredQuantityType totalDeliveredQuantity;
@XmlElement(name = "MeterReading")
protected List meterReading;
@XmlElement(name = "MeterProperty")
protected List meterProperty;
/**
* Gets the value of the meterNumber property.
*
* @return
* possible object is
* {@link MeterNumberType }
*
*/
public MeterNumberType getMeterNumber() {
return meterNumber;
}
/**
* Sets the value of the meterNumber property.
*
* @param value
* allowed object is
* {@link MeterNumberType }
*
*/
public void setMeterNumber(MeterNumberType value) {
this.meterNumber = value;
}
/**
* Gets the value of the meterName property.
*
* @return
* possible object is
* {@link MeterNameType }
*
*/
public MeterNameType getMeterName() {
return meterName;
}
/**
* Sets the value of the meterName property.
*
* @param value
* allowed object is
* {@link MeterNameType }
*
*/
public void setMeterName(MeterNameType value) {
this.meterName = value;
}
/**
* Gets the value of the meterConstant property.
*
* @return
* possible object is
* {@link MeterConstantType }
*
*/
public MeterConstantType getMeterConstant() {
return meterConstant;
}
/**
* Sets the value of the meterConstant property.
*
* @param value
* allowed object is
* {@link MeterConstantType }
*
*/
public void setMeterConstant(MeterConstantType value) {
this.meterConstant = value;
}
/**
* Gets the value of the meterConstantCode property.
*
* @return
* possible object is
* {@link MeterConstantCodeType }
*
*/
public MeterConstantCodeType getMeterConstantCode() {
return meterConstantCode;
}
/**
* Sets the value of the meterConstantCode property.
*
* @param value
* allowed object is
* {@link MeterConstantCodeType }
*
*/
public void setMeterConstantCode(MeterConstantCodeType value) {
this.meterConstantCode = value;
}
/**
* Gets the value of the totalDeliveredQuantity property.
*
* @return
* possible object is
* {@link TotalDeliveredQuantityType }
*
*/
public TotalDeliveredQuantityType getTotalDeliveredQuantity() {
return totalDeliveredQuantity;
}
/**
* Sets the value of the totalDeliveredQuantity property.
*
* @param value
* allowed object is
* {@link TotalDeliveredQuantityType }
*
*/
public void setTotalDeliveredQuantity(TotalDeliveredQuantityType value) {
this.totalDeliveredQuantity = value;
}
/**
* Gets the value of the meterReading 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 meterReading property.
*
*
* For example, to add a new item, do as follows:
*
* getMeterReading().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MeterReadingType }
*
*
*/
public List getMeterReading() {
if (meterReading == null) {
meterReading = new ArrayList();
}
return this.meterReading;
}
/**
* Gets the value of the meterProperty 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 meterProperty property.
*
*
* For example, to add a new item, do as follows:
*
* getMeterProperty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MeterPropertyType }
*
*
*/
public List getMeterProperty() {
if (meterProperty == null) {
meterProperty = new ArrayList();
}
return this.meterProperty;
}
}