@CodingStyleguideUnaware public class ConsumptionPointType 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>Consumption Point. Details</ccts:DictionaryEntryName><ccts:Definition>A class to define the point of consumption for a utility, such as a meter.</ccts:Definition><ccts:ObjectClass>Consumption Point</ccts:ObjectClass></ccts:Component>
Java class for ConsumptionPointType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConsumptionPointType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID"/>
<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:CommonBasicComponents-2}SubscriberID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SubscriberType" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SubscriberTypeCode" 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}Address" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}WebSiteAccess" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}UtilityMeter" 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 |
|---|
ConsumptionPointType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescription(DescriptionType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addUtilityMeter(MeterType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
ConsumptionPointType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(ConsumptionPointType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
AddressType |
getAddress()
<?
|
List<DescriptionType> |
getDescription()
<?
|
DescriptionType |
getDescriptionAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDescriptionCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
IDType |
getID()
<?
|
String |
getIDValue()
Get the value of the contained IDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
SubscriberIDType |
getSubscriberID()
<?
|
String |
getSubscriberIDValue()
Get the value of the contained SubscriberIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
SubscriberTypeType |
getSubscriberType()
<?
|
SubscriberTypeCodeType |
getSubscriberTypeCode()
<?
|
String |
getSubscriberTypeCodeValue()
Get the value of the contained SubscriberTypeCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
getSubscriberTypeValue()
Get the value of the contained SubscriberTypeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TotalDeliveredQuantityType |
getTotalDeliveredQuantity()
<?
|
BigDecimal |
getTotalDeliveredQuantityValue()
Get the value of the contained TotalDeliveredQuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<MeterType> |
getUtilityMeter()
<?
|
MeterType |
getUtilityMeterAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getUtilityMeterCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
WebSiteAccessType |
getWebSiteAccess()
<?
|
boolean |
hasDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoUtilityMeterEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasUtilityMeterEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAddress(AddressType value)
Sets the value of the address property.
|
void |
setDescription(List<DescriptionType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
SubscriberIDType |
setSubscriberID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setSubscriberID(SubscriberIDType value)
Sets the value of the subscriberID property.
|
SubscriberTypeType |
setSubscriberType(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setSubscriberType(SubscriberTypeType value)
Sets the value of the subscriberType property.
|
SubscriberTypeCodeType |
setSubscriberTypeCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setSubscriberTypeCode(SubscriberTypeCodeType value)
Sets the value of the subscriberTypeCode property.
|
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.
|
void |
setUtilityMeter(List<MeterType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setWebSiteAccess(WebSiteAccessType value)
Sets the value of the webSiteAccess property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public ConsumptionPointType()
@Nullable public IDType getID()
<?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>Consumption Point. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for this point of consumption.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Consumption Point</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>7411013716x</ccts:Examples></ccts:Component>
IDTypepublic void setID(@Nullable IDType value)
value - allowed object is
IDType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<DescriptionType> getDescription()
<?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>Consumption Point. Description. Text</ccts:DictionaryEntryName><ccts:Definition>Text describing this consumption point.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Consumption Point</ccts:ObjectClass><ccts:PropertyTerm>Description</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>Additional informations concerning the consumption point</ccts:Examples></ccts:Component>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
@Nullable public SubscriberIDType getSubscriberID()
<?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>Consumption Point. Subscriber Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for the subscriber responsible for the consumption at this consumption point.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Consumption Point</ccts:ObjectClass><ccts:PropertyTerm>Subscriber Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>98143211</ccts:Examples></ccts:Component>
SubscriberIDTypepublic void setSubscriberID(@Nullable SubscriberIDType value)
value - allowed object is
SubscriberIDType@Nullable public SubscriberTypeType getSubscriberType()
<?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>Consumption Point. Subscriber Type. Text</ccts:DictionaryEntryName><ccts:Definition>The type of subscriber, expressed as text.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Consumption Point</ccts:ObjectClass><ccts:PropertyTerm>Subscriber Type</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
SubscriberTypeTypepublic void setSubscriberType(@Nullable SubscriberTypeType value)
value - allowed object is
SubscriberTypeType@Nullable public SubscriberTypeCodeType getSubscriberTypeCode()
<?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>Consumption Point. Subscriber Type Code. Code</ccts:DictionaryEntryName><ccts:Definition>The type of subscriber, expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Consumption Point</ccts:ObjectClass><ccts:PropertyTerm>Subscriber Type Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType><ccts:Examples>APL</ccts:Examples></ccts:Component>
SubscriberTypeCodeTypepublic void setSubscriberTypeCode(@Nullable SubscriberTypeCodeType value)
value - allowed object is
SubscriberTypeCodeType@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>Consumption Point. Total_ Delivered Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The total quantity delivered, calculated at this consumption point.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Consumption Point</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@Nullable public AddressType getAddress()
<?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>Consumption Point. Address</ccts:DictionaryEntryName><ccts:Definition>The address of this consumption point.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Consumption Point</ccts:ObjectClass><ccts:PropertyTerm>Address</ccts:PropertyTerm><ccts:AssociatedObjectClass>Address</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Address</ccts:RepresentationTerm></ccts:Component>
AddressTypepublic void setAddress(@Nullable AddressType value)
value - allowed object is
AddressType@Nullable public WebSiteAccessType getWebSiteAccess()
<?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>Consumption Point. Web Site Access</ccts:DictionaryEntryName><ccts:Definition>Access information for the website of this consumption point.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Consumption Point</ccts:ObjectClass><ccts:PropertyTerm>Web Site Access</ccts:PropertyTerm><ccts:AssociatedObjectClass>Web Site Access</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Web Site Access</ccts:RepresentationTerm></ccts:Component>
WebSiteAccessTypepublic void setWebSiteAccess(@Nullable WebSiteAccessType value)
value - allowed object is
WebSiteAccessType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<MeterType> getUtilityMeter()
<?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>Consumption Point. Utility_ Meter. Meter</ccts:DictionaryEntryName><ccts:Definition>A meter at this consumption point.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Consumption Point</ccts:ObjectClass><ccts:PropertyTermQualifier>Utility</ccts:PropertyTermQualifier><ccts:PropertyTerm>Meter</ccts:PropertyTerm><ccts:AssociatedObjectClass>Meter</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Meter</ccts:RepresentationTerm></ccts:Component>Gets the value of the utilityMeter 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 utilityMeter property.
For example, to add a new item, do as follows:
getUtilityMeter().add(newItem);
Objects of the following type(s) are allowed in the list
MeterType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setDescription(@Nullable List<DescriptionType> aList)
aList - The new list member to set. May be null.public void setUtilityMeter(@Nullable List<MeterType> aList)
aList - The new list member to set. May be null.public boolean hasDescriptionEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDescriptionEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDescriptionCount()
@Nullable public DescriptionType getDescriptionAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addDescription(@Nonnull DescriptionType elem)
elem - The element to be added. May not be null.public boolean hasUtilityMeterEntries()
true if at least one item is contained, false otherwise.public boolean hasNoUtilityMeterEntries()
true if no item is contained, false otherwise.@Nonnegative public int getUtilityMeterCount()
@Nullable public MeterType getUtilityMeterAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addUtilityMeter(@Nonnull MeterType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull ConsumptionPointType 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 ConsumptionPointType clone()
@Nonnull public SubscriberTypeCodeType setSubscriberTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public IDType setID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public SubscriberIDType setSubscriberID(@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 SubscriberTypeType setSubscriberType(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIDValue()
null@Nullable public String getSubscriberIDValue()
null@Nullable public String getSubscriberTypeValue()
null@Nullable public String getSubscriberTypeCodeValue()
null@Nullable public BigDecimal getTotalDeliveredQuantityValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.