public class SupplierConsumptionType extends Object
Java class for SupplierConsumptionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SupplierConsumptionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<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}UtilitySupplierParty" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}UtilityCustomerParty" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Consumption"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Contract" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ConsumptionLine" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ConsumptionType |
consumption |
protected List<ConsumptionLineType> |
consumptionLine |
protected ContractType |
contract |
protected List<DescriptionType> |
description |
protected PartyType |
utilityCustomerParty |
protected PartyType |
utilitySupplierParty |
| Constructor and Description |
|---|
SupplierConsumptionType() |
| Modifier and Type | Method and Description |
|---|---|
ConsumptionType |
getConsumption()
Gets the value of the consumption property.
|
List<ConsumptionLineType> |
getConsumptionLine()
Gets the value of the consumptionLine property.
|
ContractType |
getContract()
Gets the value of the contract property.
|
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
PartyType |
getUtilityCustomerParty()
Gets the value of the utilityCustomerParty property.
|
PartyType |
getUtilitySupplierParty()
Gets the value of the utilitySupplierParty property.
|
void |
setConsumption(ConsumptionType value)
Sets the value of the consumption property.
|
void |
setContract(ContractType value)
Sets the value of the contract property.
|
void |
setUtilityCustomerParty(PartyType value)
Sets the value of the utilityCustomerParty property.
|
void |
setUtilitySupplierParty(PartyType value)
Sets the value of the utilitySupplierParty property.
|
protected List<DescriptionType> description
protected PartyType utilitySupplierParty
protected PartyType utilityCustomerParty
protected ConsumptionType consumption
protected ContractType contract
protected List<ConsumptionLineType> consumptionLine
public 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 PartyType getUtilitySupplierParty()
PartyTypepublic void setUtilitySupplierParty(PartyType value)
value - allowed object is
PartyTypepublic PartyType getUtilityCustomerParty()
PartyTypepublic void setUtilityCustomerParty(PartyType value)
value - allowed object is
PartyTypepublic ConsumptionType getConsumption()
ConsumptionTypepublic void setConsumption(ConsumptionType value)
value - allowed object is
ConsumptionTypepublic ContractType getContract()
ContractTypepublic void setContract(ContractType value)
value - allowed object is
ContractTypepublic List<ConsumptionLineType> getConsumptionLine()
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 consumptionLine property.
For example, to add a new item, do as follows:
getConsumptionLine().add(newItem);
Objects of the following type(s) are allowed in the list
ConsumptionLineType
Copyright © 2017 Direktoratet for forvaltning og IKT (Difi). All rights reserved.