Class 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>
     
    • Constructor Detail

      • SupplierConsumptionType

        public SupplierConsumptionType()
    • 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 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

      • 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 is PartyType
      • 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 is PartyType
      • setConsumption

        public void setConsumption​(ConsumptionType value)
        Sets the value of the consumption property.
        Parameters:
        value - allowed object is ConsumptionType
      • 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 is ContractType
      • 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 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