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>
| Modifier and Type | Field and Description |
|---|---|
protected AmountType |
amount |
protected ConsumptionLevelType |
consumptionLevel |
protected ConsumptionLevelCodeType |
consumptionLevelCode |
protected List<DescriptionType> |
description |
protected MeterNumberType |
meterNumber |
protected PeriodType |
period |
protected QuantityType |
quantity |
| Constructor and Description |
|---|
ConsumptionHistoryType() |
| Modifier and Type | Method and Description |
|---|---|
AmountType |
getAmount()
Gets the value of the amount property.
|
ConsumptionLevelType |
getConsumptionLevel()
Gets the value of the consumptionLevel property.
|
ConsumptionLevelCodeType |
getConsumptionLevelCode()
Gets the value of the consumptionLevelCode property.
|
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
MeterNumberType |
getMeterNumber()
Gets the value of the meterNumber property.
|
PeriodType |
getPeriod()
Gets the value of the period property.
|
QuantityType |
getQuantity()
Gets the value of the quantity property.
|
void |
setAmount(AmountType value)
Sets the value of the amount property.
|
void |
setConsumptionLevel(ConsumptionLevelType value)
Sets the value of the consumptionLevel property.
|
void |
setConsumptionLevelCode(ConsumptionLevelCodeType value)
Sets the value of the consumptionLevelCode property.
|
void |
setMeterNumber(MeterNumberType value)
Sets the value of the meterNumber property.
|
void |
setPeriod(PeriodType value)
Sets the value of the period property.
|
void |
setQuantity(QuantityType value)
Sets the value of the quantity property.
|
protected MeterNumberType meterNumber
protected QuantityType quantity
protected AmountType amount
protected ConsumptionLevelCodeType consumptionLevelCode
protected ConsumptionLevelType consumptionLevel
protected List<DescriptionType> description
protected PeriodType period
public MeterNumberType getMeterNumber()
MeterNumberTypepublic void setMeterNumber(MeterNumberType value)
value - allowed object is
MeterNumberTypepublic QuantityType getQuantity()
QuantityTypepublic void setQuantity(QuantityType value)
value - allowed object is
QuantityTypepublic AmountType getAmount()
AmountTypepublic void setAmount(AmountType value)
value - allowed object is
AmountTypepublic ConsumptionLevelCodeType getConsumptionLevelCode()
ConsumptionLevelCodeTypepublic void setConsumptionLevelCode(ConsumptionLevelCodeType value)
value - allowed object is
ConsumptionLevelCodeTypepublic ConsumptionLevelType getConsumptionLevel()
ConsumptionLevelTypepublic void setConsumptionLevel(ConsumptionLevelType value)
value - allowed object is
ConsumptionLevelTypepublic List<DescriptionType> getDescription()
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 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
public PeriodType getPeriod()
PeriodTypepublic void setPeriod(PeriodType value)
value - allowed object is
PeriodTypeCopyright © 2017 Direktoratet for forvaltning og IKT (Difi). All rights reserved.