Class MeterType


  • public class MeterType
    extends Object

    Java class for MeterType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="MeterType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterNumber" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterName" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterConstant" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MeterConstantCode" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TotalDeliveredQuantity" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MeterReading" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MeterProperty" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • MeterType

        public MeterType()
    • Method Detail

      • setMeterNumber

        public void setMeterNumber​(MeterNumberType value)
        Sets the value of the meterNumber property.
        Parameters:
        value - allowed object is MeterNumberType
      • getMeterName

        public MeterNameType getMeterName()
        Gets the value of the meterName property.
        Returns:
        possible object is MeterNameType
      • setMeterName

        public void setMeterName​(MeterNameType value)
        Sets the value of the meterName property.
        Parameters:
        value - allowed object is MeterNameType
      • setMeterConstant

        public void setMeterConstant​(MeterConstantType value)
        Sets the value of the meterConstant property.
        Parameters:
        value - allowed object is MeterConstantType
      • getMeterReading

        public List<MeterReadingType> getMeterReading()
        Gets the value of the meterReading 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 meterReading property.

        For example, to add a new item, do as follows:

         getMeterReading().add(newItem);
         

        Objects of the following type(s) are allowed in the list MeterReadingType

        Returns:
        The value of the meterReading property.
      • getMeterProperty

        public List<MeterPropertyType> getMeterProperty()
        Gets the value of the meterProperty 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 meterProperty property.

        For example, to add a new item, do as follows:

         getMeterProperty().add(newItem);
         

        Objects of the following type(s) are allowed in the list MeterPropertyType

        Returns:
        The value of the meterProperty property.