Class ConsumptionType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.ConsumptionType
-
public class ConsumptionType extends Object
Java class for ConsumptionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConsumptionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}UtilityStatementTypeCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MainPeriod" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AllowanceCharge" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxTotal" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}EnergyWaterSupply" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TelecommunicationsSupply" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}LegalMonetaryTotal"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AllowanceChargeType>allowanceChargeprotected EnergyWaterSupplyTypeenergyWaterSupplyprotected MonetaryTotalTypelegalMonetaryTotalprotected PeriodTypemainPeriodprotected List<TaxTotalType>taxTotalprotected TelecommunicationsSupplyTypetelecommunicationsSupplyprotected UtilityStatementTypeCodeTypeutilityStatementTypeCode
-
Constructor Summary
Constructors Constructor Description ConsumptionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AllowanceChargeType>getAllowanceCharge()Gets the value of the allowanceCharge property.EnergyWaterSupplyTypegetEnergyWaterSupply()Gets the value of the energyWaterSupply property.MonetaryTotalTypegetLegalMonetaryTotal()Gets the value of the legalMonetaryTotal property.PeriodTypegetMainPeriod()Gets the value of the mainPeriod property.List<TaxTotalType>getTaxTotal()Gets the value of the taxTotal property.TelecommunicationsSupplyTypegetTelecommunicationsSupply()Gets the value of the telecommunicationsSupply property.UtilityStatementTypeCodeTypegetUtilityStatementTypeCode()Gets the value of the utilityStatementTypeCode property.voidsetEnergyWaterSupply(EnergyWaterSupplyType value)Sets the value of the energyWaterSupply property.voidsetLegalMonetaryTotal(MonetaryTotalType value)Sets the value of the legalMonetaryTotal property.voidsetMainPeriod(PeriodType value)Sets the value of the mainPeriod property.voidsetTelecommunicationsSupply(TelecommunicationsSupplyType value)Sets the value of the telecommunicationsSupply property.voidsetUtilityStatementTypeCode(UtilityStatementTypeCodeType value)Sets the value of the utilityStatementTypeCode property.
-
-
-
Field Detail
-
utilityStatementTypeCode
protected UtilityStatementTypeCodeType utilityStatementTypeCode
-
mainPeriod
protected PeriodType mainPeriod
-
allowanceCharge
protected List<AllowanceChargeType> allowanceCharge
-
taxTotal
protected List<TaxTotalType> taxTotal
-
energyWaterSupply
protected EnergyWaterSupplyType energyWaterSupply
-
telecommunicationsSupply
protected TelecommunicationsSupplyType telecommunicationsSupply
-
legalMonetaryTotal
protected MonetaryTotalType legalMonetaryTotal
-
-
Method Detail
-
getUtilityStatementTypeCode
public UtilityStatementTypeCodeType getUtilityStatementTypeCode()
Gets the value of the utilityStatementTypeCode property.- Returns:
- possible object is
UtilityStatementTypeCodeType
-
setUtilityStatementTypeCode
public void setUtilityStatementTypeCode(UtilityStatementTypeCodeType value)
Sets the value of the utilityStatementTypeCode property.- Parameters:
value- allowed object isUtilityStatementTypeCodeType
-
getMainPeriod
public PeriodType getMainPeriod()
Gets the value of the mainPeriod property.- Returns:
- possible object is
PeriodType
-
setMainPeriod
public void setMainPeriod(PeriodType value)
Sets the value of the mainPeriod property.- Parameters:
value- allowed object isPeriodType
-
getAllowanceCharge
public List<AllowanceChargeType> getAllowanceCharge()
Gets the value of the allowanceCharge 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 allowanceCharge property.For example, to add a new item, do as follows:
getAllowanceCharge().add(newItem);Objects of the following type(s) are allowed in the list
AllowanceChargeType
-
getTaxTotal
public List<TaxTotalType> getTaxTotal()
Gets the value of the taxTotal 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 taxTotal property.For example, to add a new item, do as follows:
getTaxTotal().add(newItem);Objects of the following type(s) are allowed in the list
TaxTotalType
-
getEnergyWaterSupply
public EnergyWaterSupplyType getEnergyWaterSupply()
Gets the value of the energyWaterSupply property.- Returns:
- possible object is
EnergyWaterSupplyType
-
setEnergyWaterSupply
public void setEnergyWaterSupply(EnergyWaterSupplyType value)
Sets the value of the energyWaterSupply property.- Parameters:
value- allowed object isEnergyWaterSupplyType
-
getTelecommunicationsSupply
public TelecommunicationsSupplyType getTelecommunicationsSupply()
Gets the value of the telecommunicationsSupply property.- Returns:
- possible object is
TelecommunicationsSupplyType
-
setTelecommunicationsSupply
public void setTelecommunicationsSupply(TelecommunicationsSupplyType value)
Sets the value of the telecommunicationsSupply property.- Parameters:
value- allowed object isTelecommunicationsSupplyType
-
getLegalMonetaryTotal
public MonetaryTotalType getLegalMonetaryTotal()
Gets the value of the legalMonetaryTotal property.- Returns:
- possible object is
MonetaryTotalType
-
setLegalMonetaryTotal
public void setLegalMonetaryTotal(MonetaryTotalType value)
Sets the value of the legalMonetaryTotal property.- Parameters:
value- allowed object isMonetaryTotalType
-
-