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>
| Modifier and Type | Field and Description |
|---|---|
protected List<AllowanceChargeType> |
allowanceCharge |
protected EnergyWaterSupplyType |
energyWaterSupply |
protected MonetaryTotalType |
legalMonetaryTotal |
protected PeriodType |
mainPeriod |
protected List<TaxTotalType> |
taxTotal |
protected TelecommunicationsSupplyType |
telecommunicationsSupply |
protected UtilityStatementTypeCodeType |
utilityStatementTypeCode |
| Constructor and Description |
|---|
ConsumptionType() |
| Modifier and Type | Method and Description |
|---|---|
List<AllowanceChargeType> |
getAllowanceCharge()
Gets the value of the allowanceCharge property.
|
EnergyWaterSupplyType |
getEnergyWaterSupply()
Gets the value of the energyWaterSupply property.
|
MonetaryTotalType |
getLegalMonetaryTotal()
Gets the value of the legalMonetaryTotal property.
|
PeriodType |
getMainPeriod()
Gets the value of the mainPeriod property.
|
List<TaxTotalType> |
getTaxTotal()
Gets the value of the taxTotal property.
|
TelecommunicationsSupplyType |
getTelecommunicationsSupply()
Gets the value of the telecommunicationsSupply property.
|
UtilityStatementTypeCodeType |
getUtilityStatementTypeCode()
Gets the value of the utilityStatementTypeCode property.
|
void |
setEnergyWaterSupply(EnergyWaterSupplyType value)
Sets the value of the energyWaterSupply property.
|
void |
setLegalMonetaryTotal(MonetaryTotalType value)
Sets the value of the legalMonetaryTotal property.
|
void |
setMainPeriod(PeriodType value)
Sets the value of the mainPeriod property.
|
void |
setTelecommunicationsSupply(TelecommunicationsSupplyType value)
Sets the value of the telecommunicationsSupply property.
|
void |
setUtilityStatementTypeCode(UtilityStatementTypeCodeType value)
Sets the value of the utilityStatementTypeCode property.
|
protected UtilityStatementTypeCodeType utilityStatementTypeCode
protected PeriodType mainPeriod
protected List<AllowanceChargeType> allowanceCharge
protected List<TaxTotalType> taxTotal
protected EnergyWaterSupplyType energyWaterSupply
protected TelecommunicationsSupplyType telecommunicationsSupply
protected MonetaryTotalType legalMonetaryTotal
public UtilityStatementTypeCodeType getUtilityStatementTypeCode()
UtilityStatementTypeCodeTypepublic void setUtilityStatementTypeCode(UtilityStatementTypeCodeType value)
value - allowed object is
UtilityStatementTypeCodeTypepublic PeriodType getMainPeriod()
PeriodTypepublic void setMainPeriod(PeriodType value)
value - allowed object is
PeriodTypepublic List<AllowanceChargeType> getAllowanceCharge()
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 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
public List<TaxTotalType> getTaxTotal()
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 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
public EnergyWaterSupplyType getEnergyWaterSupply()
EnergyWaterSupplyTypepublic void setEnergyWaterSupply(EnergyWaterSupplyType value)
value - allowed object is
EnergyWaterSupplyTypepublic TelecommunicationsSupplyType getTelecommunicationsSupply()
TelecommunicationsSupplyTypepublic void setTelecommunicationsSupply(TelecommunicationsSupplyType value)
value - allowed object is
TelecommunicationsSupplyTypepublic MonetaryTotalType getLegalMonetaryTotal()
MonetaryTotalTypepublic void setLegalMonetaryTotal(MonetaryTotalType value)
value - allowed object is
MonetaryTotalTypeCopyright © 2017 Direktoratet for forvaltning og IKT (Difi). All rights reserved.