Class SupplierConsumptionType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.SupplierConsumptionType
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected ConsumptionTypeconsumptionprotected List<ConsumptionLineType>consumptionLineprotected ContractTypecontractprotected List<DescriptionType>descriptionprotected PartyTypeutilityCustomerPartyprotected PartyTypeutilitySupplierParty
-
Constructor Summary
Constructors Constructor Description SupplierConsumptionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsumptionTypegetConsumption()Gets the value of the consumption property.List<ConsumptionLineType>getConsumptionLine()Gets the value of the consumptionLine property.ContractTypegetContract()Gets the value of the contract property.List<DescriptionType>getDescription()Gets the value of the description property.PartyTypegetUtilityCustomerParty()Gets the value of the utilityCustomerParty property.PartyTypegetUtilitySupplierParty()Gets the value of the utilitySupplierParty property.voidsetConsumption(ConsumptionType value)Sets the value of the consumption property.voidsetContract(ContractType value)Sets the value of the contract property.voidsetUtilityCustomerParty(PartyType value)Sets the value of the utilityCustomerParty property.voidsetUtilitySupplierParty(PartyType value)Sets the value of the utilitySupplierParty property.
-
-
-
Field Detail
-
description
protected List<DescriptionType> description
-
utilitySupplierParty
protected PartyType utilitySupplierParty
-
utilityCustomerParty
protected PartyType utilityCustomerParty
-
consumption
protected ConsumptionType consumption
-
contract
protected ContractType contract
-
consumptionLine
protected List<ConsumptionLineType> consumptionLine
-
-
Method Detail
-
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- Returns:
- The value of the description property.
-
getUtilitySupplierParty
public PartyType getUtilitySupplierParty()
Gets the value of the utilitySupplierParty property.- Returns:
- possible object is
PartyType
-
setUtilitySupplierParty
public void setUtilitySupplierParty(PartyType value)
Sets the value of the utilitySupplierParty property.- Parameters:
value- allowed object isPartyType
-
getUtilityCustomerParty
public PartyType getUtilityCustomerParty()
Gets the value of the utilityCustomerParty property.- Returns:
- possible object is
PartyType
-
setUtilityCustomerParty
public void setUtilityCustomerParty(PartyType value)
Sets the value of the utilityCustomerParty property.- Parameters:
value- allowed object isPartyType
-
getConsumption
public ConsumptionType getConsumption()
Gets the value of the consumption property.- Returns:
- possible object is
ConsumptionType
-
setConsumption
public void setConsumption(ConsumptionType value)
Sets the value of the consumption property.- Parameters:
value- allowed object isConsumptionType
-
getContract
public ContractType getContract()
Gets the value of the contract property.- Returns:
- possible object is
ContractType
-
setContract
public void setContract(ContractType value)
Sets the value of the contract property.- Parameters:
value- allowed object isContractType
-
getConsumptionLine
public List<ConsumptionLineType> getConsumptionLine()
Gets the value of the consumptionLine 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 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- Returns:
- The value of the consumptionLine property.
-
-