Class ConsumptionAverageType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.ConsumptionAverageType
-
public class ConsumptionAverageType extends Object
Java class for ConsumptionAverageType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConsumptionAverageType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AverageAmount" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AverageAmountTypeaverageAmountprotected List<DescriptionType>description
-
Constructor Summary
Constructors Constructor Description ConsumptionAverageType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AverageAmountTypegetAverageAmount()Gets the value of the averageAmount property.List<DescriptionType>getDescription()Gets the value of the description property.voidsetAverageAmount(AverageAmountType value)Sets the value of the averageAmount property.
-
-
-
Field Detail
-
averageAmount
protected AverageAmountType averageAmount
-
description
protected List<DescriptionType> description
-
-
Method Detail
-
getAverageAmount
public AverageAmountType getAverageAmount()
Gets the value of the averageAmount property.- Returns:
- possible object is
AverageAmountType
-
setAverageAmount
public void setAverageAmount(AverageAmountType value)
Sets the value of the averageAmount property.- Parameters:
value- allowed object isAverageAmountType
-
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
-
-