Class MeterReadingType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.MeterReadingType
-
public class MeterReadingType extends Object
Java class for MeterReadingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MeterReadingType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterReadingType" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterReadingTypeCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PreviousMeterReadingDate"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PreviousMeterQuantity"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LatestMeterReadingDate"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LatestMeterQuantity"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PreviousMeterReadingMethod" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PreviousMeterReadingMethodCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LatestMeterReadingMethod" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LatestMeterReadingMethodCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterReadingComments" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DeliveredQuantity"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected DeliveredQuantityTypedeliveredQuantityprotected IDTypeidprotected LatestMeterQuantityTypelatestMeterQuantityprotected LatestMeterReadingDateTypelatestMeterReadingDateprotected LatestMeterReadingMethodTypelatestMeterReadingMethodprotected LatestMeterReadingMethodCodeTypelatestMeterReadingMethodCodeprotected List<MeterReadingCommentsType>meterReadingCommentsprotected MeterReadingTypeTypemeterReadingTypeprotected MeterReadingTypeCodeTypemeterReadingTypeCodeprotected PreviousMeterQuantityTypepreviousMeterQuantityprotected PreviousMeterReadingDateTypepreviousMeterReadingDateprotected PreviousMeterReadingMethodTypepreviousMeterReadingMethodprotected PreviousMeterReadingMethodCodeTypepreviousMeterReadingMethodCode
-
Constructor Summary
Constructors Constructor Description MeterReadingType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeliveredQuantityTypegetDeliveredQuantity()Gets the value of the deliveredQuantity property.IDTypegetID()Gets the value of the id property.LatestMeterQuantityTypegetLatestMeterQuantity()Gets the value of the latestMeterQuantity property.LatestMeterReadingDateTypegetLatestMeterReadingDate()Gets the value of the latestMeterReadingDate property.LatestMeterReadingMethodTypegetLatestMeterReadingMethod()Gets the value of the latestMeterReadingMethod property.LatestMeterReadingMethodCodeTypegetLatestMeterReadingMethodCode()Gets the value of the latestMeterReadingMethodCode property.List<MeterReadingCommentsType>getMeterReadingComments()Gets the value of the meterReadingComments property.MeterReadingTypeTypegetMeterReadingType()Gets the value of the meterReadingType property.MeterReadingTypeCodeTypegetMeterReadingTypeCode()Gets the value of the meterReadingTypeCode property.PreviousMeterQuantityTypegetPreviousMeterQuantity()Gets the value of the previousMeterQuantity property.PreviousMeterReadingDateTypegetPreviousMeterReadingDate()Gets the value of the previousMeterReadingDate property.PreviousMeterReadingMethodTypegetPreviousMeterReadingMethod()Gets the value of the previousMeterReadingMethod property.PreviousMeterReadingMethodCodeTypegetPreviousMeterReadingMethodCode()Gets the value of the previousMeterReadingMethodCode property.voidsetDeliveredQuantity(DeliveredQuantityType value)Sets the value of the deliveredQuantity property.voidsetID(IDType value)Sets the value of the id property.voidsetLatestMeterQuantity(LatestMeterQuantityType value)Sets the value of the latestMeterQuantity property.voidsetLatestMeterReadingDate(LatestMeterReadingDateType value)Sets the value of the latestMeterReadingDate property.voidsetLatestMeterReadingMethod(LatestMeterReadingMethodType value)Sets the value of the latestMeterReadingMethod property.voidsetLatestMeterReadingMethodCode(LatestMeterReadingMethodCodeType value)Sets the value of the latestMeterReadingMethodCode property.voidsetMeterReadingType(MeterReadingTypeType value)Sets the value of the meterReadingType property.voidsetMeterReadingTypeCode(MeterReadingTypeCodeType value)Sets the value of the meterReadingTypeCode property.voidsetPreviousMeterQuantity(PreviousMeterQuantityType value)Sets the value of the previousMeterQuantity property.voidsetPreviousMeterReadingDate(PreviousMeterReadingDateType value)Sets the value of the previousMeterReadingDate property.voidsetPreviousMeterReadingMethod(PreviousMeterReadingMethodType value)Sets the value of the previousMeterReadingMethod property.voidsetPreviousMeterReadingMethodCode(PreviousMeterReadingMethodCodeType value)Sets the value of the previousMeterReadingMethodCode property.
-
-
-
Field Detail
-
id
protected IDType id
-
meterReadingType
protected MeterReadingTypeType meterReadingType
-
meterReadingTypeCode
protected MeterReadingTypeCodeType meterReadingTypeCode
-
previousMeterReadingDate
protected PreviousMeterReadingDateType previousMeterReadingDate
-
previousMeterQuantity
protected PreviousMeterQuantityType previousMeterQuantity
-
latestMeterReadingDate
protected LatestMeterReadingDateType latestMeterReadingDate
-
latestMeterQuantity
protected LatestMeterQuantityType latestMeterQuantity
-
previousMeterReadingMethod
protected PreviousMeterReadingMethodType previousMeterReadingMethod
-
previousMeterReadingMethodCode
protected PreviousMeterReadingMethodCodeType previousMeterReadingMethodCode
-
latestMeterReadingMethod
protected LatestMeterReadingMethodType latestMeterReadingMethod
-
latestMeterReadingMethodCode
protected LatestMeterReadingMethodCodeType latestMeterReadingMethodCode
-
meterReadingComments
protected List<MeterReadingCommentsType> meterReadingComments
-
deliveredQuantity
protected DeliveredQuantityType deliveredQuantity
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getMeterReadingType
public MeterReadingTypeType getMeterReadingType()
Gets the value of the meterReadingType property.- Returns:
- possible object is
MeterReadingTypeType
-
setMeterReadingType
public void setMeterReadingType(MeterReadingTypeType value)
Sets the value of the meterReadingType property.- Parameters:
value- allowed object isMeterReadingTypeType
-
getMeterReadingTypeCode
public MeterReadingTypeCodeType getMeterReadingTypeCode()
Gets the value of the meterReadingTypeCode property.- Returns:
- possible object is
MeterReadingTypeCodeType
-
setMeterReadingTypeCode
public void setMeterReadingTypeCode(MeterReadingTypeCodeType value)
Sets the value of the meterReadingTypeCode property.- Parameters:
value- allowed object isMeterReadingTypeCodeType
-
getPreviousMeterReadingDate
public PreviousMeterReadingDateType getPreviousMeterReadingDate()
Gets the value of the previousMeterReadingDate property.- Returns:
- possible object is
PreviousMeterReadingDateType
-
setPreviousMeterReadingDate
public void setPreviousMeterReadingDate(PreviousMeterReadingDateType value)
Sets the value of the previousMeterReadingDate property.- Parameters:
value- allowed object isPreviousMeterReadingDateType
-
getPreviousMeterQuantity
public PreviousMeterQuantityType getPreviousMeterQuantity()
Gets the value of the previousMeterQuantity property.- Returns:
- possible object is
PreviousMeterQuantityType
-
setPreviousMeterQuantity
public void setPreviousMeterQuantity(PreviousMeterQuantityType value)
Sets the value of the previousMeterQuantity property.- Parameters:
value- allowed object isPreviousMeterQuantityType
-
getLatestMeterReadingDate
public LatestMeterReadingDateType getLatestMeterReadingDate()
Gets the value of the latestMeterReadingDate property.- Returns:
- possible object is
LatestMeterReadingDateType
-
setLatestMeterReadingDate
public void setLatestMeterReadingDate(LatestMeterReadingDateType value)
Sets the value of the latestMeterReadingDate property.- Parameters:
value- allowed object isLatestMeterReadingDateType
-
getLatestMeterQuantity
public LatestMeterQuantityType getLatestMeterQuantity()
Gets the value of the latestMeterQuantity property.- Returns:
- possible object is
LatestMeterQuantityType
-
setLatestMeterQuantity
public void setLatestMeterQuantity(LatestMeterQuantityType value)
Sets the value of the latestMeterQuantity property.- Parameters:
value- allowed object isLatestMeterQuantityType
-
getPreviousMeterReadingMethod
public PreviousMeterReadingMethodType getPreviousMeterReadingMethod()
Gets the value of the previousMeterReadingMethod property.- Returns:
- possible object is
PreviousMeterReadingMethodType
-
setPreviousMeterReadingMethod
public void setPreviousMeterReadingMethod(PreviousMeterReadingMethodType value)
Sets the value of the previousMeterReadingMethod property.- Parameters:
value- allowed object isPreviousMeterReadingMethodType
-
getPreviousMeterReadingMethodCode
public PreviousMeterReadingMethodCodeType getPreviousMeterReadingMethodCode()
Gets the value of the previousMeterReadingMethodCode property.- Returns:
- possible object is
PreviousMeterReadingMethodCodeType
-
setPreviousMeterReadingMethodCode
public void setPreviousMeterReadingMethodCode(PreviousMeterReadingMethodCodeType value)
Sets the value of the previousMeterReadingMethodCode property.- Parameters:
value- allowed object isPreviousMeterReadingMethodCodeType
-
getLatestMeterReadingMethod
public LatestMeterReadingMethodType getLatestMeterReadingMethod()
Gets the value of the latestMeterReadingMethod property.- Returns:
- possible object is
LatestMeterReadingMethodType
-
setLatestMeterReadingMethod
public void setLatestMeterReadingMethod(LatestMeterReadingMethodType value)
Sets the value of the latestMeterReadingMethod property.- Parameters:
value- allowed object isLatestMeterReadingMethodType
-
getLatestMeterReadingMethodCode
public LatestMeterReadingMethodCodeType getLatestMeterReadingMethodCode()
Gets the value of the latestMeterReadingMethodCode property.- Returns:
- possible object is
LatestMeterReadingMethodCodeType
-
setLatestMeterReadingMethodCode
public void setLatestMeterReadingMethodCode(LatestMeterReadingMethodCodeType value)
Sets the value of the latestMeterReadingMethodCode property.- Parameters:
value- allowed object isLatestMeterReadingMethodCodeType
-
getMeterReadingComments
public List<MeterReadingCommentsType> getMeterReadingComments()
Gets the value of the meterReadingComments 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
setmethod for the meterReadingComments property.For example, to add a new item, do as follows:
getMeterReadingComments().add(newItem);Objects of the following type(s) are allowed in the list
MeterReadingCommentsType
-
getDeliveredQuantity
public DeliveredQuantityType getDeliveredQuantity()
Gets the value of the deliveredQuantity property.- Returns:
- possible object is
DeliveredQuantityType
-
setDeliveredQuantity
public void setDeliveredQuantity(DeliveredQuantityType value)
Sets the value of the deliveredQuantity property.- Parameters:
value- allowed object isDeliveredQuantityType
-
-