@CodingStyleguideUnaware public class MeterType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Meter. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe a meter and its readings.</ccts:Definition><ccts:ObjectClass>Meter</ccts:ObjectClass></ccts:Component>
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>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
MeterType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addMeterProperty(MeterPropertyType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addMeterReading(MeterReadingType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
MeterType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(MeterType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
MeterConstantType |
getMeterConstant()
<?
|
MeterConstantCodeType |
getMeterConstantCode()
<?
|
String |
getMeterConstantCodeValue()
Get the value of the contained MeterConstantCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
getMeterConstantValue()
Get the value of the contained MeterConstantType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
MeterNameType |
getMeterName()
<?
|
String |
getMeterNameValue()
Get the value of the contained MeterNameType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
MeterNumberType |
getMeterNumber()
<?
|
String |
getMeterNumberValue()
Get the value of the contained MeterNumberType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<MeterPropertyType> |
getMeterProperty()
<?
|
MeterPropertyType |
getMeterPropertyAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getMeterPropertyCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<MeterReadingType> |
getMeterReading()
<?
|
MeterReadingType |
getMeterReadingAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getMeterReadingCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
TotalDeliveredQuantityType |
getTotalDeliveredQuantity()
<?
|
BigDecimal |
getTotalDeliveredQuantityValue()
Get the value of the contained TotalDeliveredQuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasMeterPropertyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasMeterReadingEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoMeterPropertyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoMeterReadingEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setMeterConstant(MeterConstantType value)
Sets the value of the meterConstant property.
|
MeterConstantType |
setMeterConstant(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setMeterConstantCode(MeterConstantCodeType value)
Sets the value of the meterConstantCode property.
|
MeterConstantCodeType |
setMeterConstantCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setMeterName(MeterNameType value)
Sets the value of the meterName property.
|
MeterNameType |
setMeterName(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setMeterNumber(MeterNumberType value)
Sets the value of the meterNumber property.
|
MeterNumberType |
setMeterNumber(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setMeterProperty(List<MeterPropertyType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setMeterReading(List<MeterReadingType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
TotalDeliveredQuantityType |
setTotalDeliveredQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setTotalDeliveredQuantity(TotalDeliveredQuantityType value)
Sets the value of the totalDeliveredQuantity property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public MeterType()
@Nullable public MeterNumberType getMeterNumber()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Meter. Meter Number. Text</ccts:DictionaryEntryName><ccts:Definition>The meter number, expressed as text.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Meter</ccts:ObjectClass><ccts:PropertyTerm>Meter Number</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>61722x</ccts:Examples></ccts:Component>
MeterNumberTypepublic void setMeterNumber(@Nullable MeterNumberType value)
value - allowed object is
MeterNumberType@Nullable public MeterNameType getMeterName()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Meter. Meter Name. Text</ccts:DictionaryEntryName><ccts:Definition>The name of this meter, which serves as an identifier to distinguish a main meter from a submeter.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Meter</ccts:ObjectClass><ccts:PropertyTerm>Meter Name</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
MeterNameTypepublic void setMeterName(@Nullable MeterNameType value)
value - allowed object is
MeterNameType@Nullable public MeterConstantType getMeterConstant()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Meter. Meter Constant. Text</ccts:DictionaryEntryName><ccts:Definition>The factor by which readings of this meter must be multiplied to calculate consumption, expressed as text.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Meter</ccts:ObjectClass><ccts:PropertyTerm>Meter Constant</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>1.000</ccts:Examples></ccts:Component>
MeterConstantTypepublic void setMeterConstant(@Nullable MeterConstantType value)
value - allowed object is
MeterConstantType@Nullable public MeterConstantCodeType getMeterConstantCode()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Meter. Meter Constant Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code signifying the formula to be used in applying the meter constant.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Meter</ccts:ObjectClass><ccts:PropertyTerm>Meter Constant Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType><ccts:Examples>Factor</ccts:Examples></ccts:Component>
MeterConstantCodeTypepublic void setMeterConstantCode(@Nullable MeterConstantCodeType value)
value - allowed object is
MeterConstantCodeType@Nullable public TotalDeliveredQuantityType getTotalDeliveredQuantity()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Meter. Total_ Delivered Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity delivered; the total quantity consumed as calculated from the meter readings.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Meter</ccts:ObjectClass><ccts:PropertyTermQualifier>Total</ccts:PropertyTermQualifier><ccts:PropertyTerm>Delivered Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType><ccts:Examples>5761.00</ccts:Examples></ccts:Component>
TotalDeliveredQuantityTypepublic void setTotalDeliveredQuantity(@Nullable TotalDeliveredQuantityType value)
value - allowed object is
TotalDeliveredQuantityType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<MeterReadingType> getMeterReading()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Meter. Meter Reading</ccts:DictionaryEntryName><ccts:Definition>A reading of this meter.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Meter</ccts:ObjectClass><ccts:PropertyTerm>Meter Reading</ccts:PropertyTerm><ccts:AssociatedObjectClass>Meter Reading</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Meter Reading</ccts:RepresentationTerm></ccts:Component>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
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<MeterPropertyType> getMeterProperty()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Meter. Meter Property</ccts:DictionaryEntryName><ccts:Definition>A property of this meter.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Meter</ccts:ObjectClass><ccts:PropertyTerm>Meter Property</ccts:PropertyTerm><ccts:AssociatedObjectClass>Meter Property</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Meter Property</ccts:RepresentationTerm></ccts:Component>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
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setMeterReading(@Nullable List<MeterReadingType> aList)
aList - The new list member to set. May be null.public void setMeterProperty(@Nullable List<MeterPropertyType> aList)
aList - The new list member to set. May be null.public boolean hasMeterReadingEntries()
true if at least one item is contained, false otherwise.public boolean hasNoMeterReadingEntries()
true if no item is contained, false otherwise.@Nonnegative public int getMeterReadingCount()
@Nullable public MeterReadingType getMeterReadingAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addMeterReading(@Nonnull MeterReadingType elem)
elem - The element to be added. May not be null.public boolean hasMeterPropertyEntries()
true if at least one item is contained, false otherwise.public boolean hasNoMeterPropertyEntries()
true if no item is contained, false otherwise.@Nonnegative public int getMeterPropertyCount()
@Nullable public MeterPropertyType getMeterPropertyAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addMeterProperty(@Nonnull MeterPropertyType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull MeterType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public MeterType clone()
@Nonnull public MeterConstantCodeType setMeterConstantCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TotalDeliveredQuantityType setTotalDeliveredQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public MeterNumberType setMeterNumber(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public MeterNameType setMeterName(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public MeterConstantType setMeterConstant(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getMeterNumberValue()
null@Nullable public String getMeterNameValue()
null@Nullable public String getMeterConstantValue()
null@Nullable public String getMeterConstantCodeValue()
null@Nullable public BigDecimal getTotalDeliveredQuantityValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.