Class ConsumptionHistoryType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.ConsumptionHistoryType
-
public class ConsumptionHistoryType extends Object
Java class for ConsumptionHistoryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConsumptionHistoryType"> <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}Quantity"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Amount" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ConsumptionLevelCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ConsumptionLevel" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Period"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AmountTypeamountprotected ConsumptionLevelTypeconsumptionLevelprotected ConsumptionLevelCodeTypeconsumptionLevelCodeprotected List<DescriptionType>descriptionprotected MeterNumberTypemeterNumberprotected PeriodTypeperiodprotected QuantityTypequantity
-
Constructor Summary
Constructors Constructor Description ConsumptionHistoryType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmountTypegetAmount()Gets the value of the amount property.ConsumptionLevelTypegetConsumptionLevel()Gets the value of the consumptionLevel property.ConsumptionLevelCodeTypegetConsumptionLevelCode()Gets the value of the consumptionLevelCode property.List<DescriptionType>getDescription()Gets the value of the description property.MeterNumberTypegetMeterNumber()Gets the value of the meterNumber property.PeriodTypegetPeriod()Gets the value of the period property.QuantityTypegetQuantity()Gets the value of the quantity property.voidsetAmount(AmountType value)Sets the value of the amount property.voidsetConsumptionLevel(ConsumptionLevelType value)Sets the value of the consumptionLevel property.voidsetConsumptionLevelCode(ConsumptionLevelCodeType value)Sets the value of the consumptionLevelCode property.voidsetMeterNumber(MeterNumberType value)Sets the value of the meterNumber property.voidsetPeriod(PeriodType value)Sets the value of the period property.voidsetQuantity(QuantityType value)Sets the value of the quantity property.
-
-
-
Field Detail
-
meterNumber
protected MeterNumberType meterNumber
-
quantity
protected QuantityType quantity
-
amount
protected AmountType amount
-
consumptionLevelCode
protected ConsumptionLevelCodeType consumptionLevelCode
-
consumptionLevel
protected ConsumptionLevelType consumptionLevel
-
description
protected List<DescriptionType> description
-
period
protected PeriodType period
-
-
Method Detail
-
getMeterNumber
public MeterNumberType getMeterNumber()
Gets the value of the meterNumber property.- Returns:
- possible object is
MeterNumberType
-
setMeterNumber
public void setMeterNumber(MeterNumberType value)
Sets the value of the meterNumber property.- Parameters:
value- allowed object isMeterNumberType
-
getQuantity
public QuantityType getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
QuantityType
-
setQuantity
public void setQuantity(QuantityType value)
Sets the value of the quantity property.- Parameters:
value- allowed object isQuantityType
-
getAmount
public AmountType getAmount()
Gets the value of the amount property.- Returns:
- possible object is
AmountType
-
setAmount
public void setAmount(AmountType value)
Sets the value of the amount property.- Parameters:
value- allowed object isAmountType
-
getConsumptionLevelCode
public ConsumptionLevelCodeType getConsumptionLevelCode()
Gets the value of the consumptionLevelCode property.- Returns:
- possible object is
ConsumptionLevelCodeType
-
setConsumptionLevelCode
public void setConsumptionLevelCode(ConsumptionLevelCodeType value)
Sets the value of the consumptionLevelCode property.- Parameters:
value- allowed object isConsumptionLevelCodeType
-
getConsumptionLevel
public ConsumptionLevelType getConsumptionLevel()
Gets the value of the consumptionLevel property.- Returns:
- possible object is
ConsumptionLevelType
-
setConsumptionLevel
public void setConsumptionLevel(ConsumptionLevelType value)
Sets the value of the consumptionLevel property.- Parameters:
value- allowed object isConsumptionLevelType
-
getDescription
public List<DescriptionType> getDescription()
Gets the value of the description 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 description property.For example, to add a new item, do as follows:
getDescription().add(newItem);Objects of the following type(s) are allowed in the list
DescriptionType
-
getPeriod
public PeriodType getPeriod()
Gets the value of the period property.- Returns:
- possible object is
PeriodType
-
setPeriod
public void setPeriod(PeriodType value)
Sets the value of the period property.- Parameters:
value- allowed object isPeriodType
-
-