@CodingStyleguideUnaware public class SupplierConsumptionType 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>Supplier Consumption. Details</ccts:DictionaryEntryName><ccts:Definition>The consumption in case the consumption is for one and only one supplier.</ccts:Definition><ccts:ObjectClass>Supplier Consumption</ccts:ObjectClass></ccts:Component>
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>
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 |
|---|
SupplierConsumptionType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addConsumptionLine(ConsumptionLineType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addDescription(DescriptionType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
SupplierConsumptionType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(SupplierConsumptionType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
ConsumptionType |
getConsumption()
<?
|
List<ConsumptionLineType> |
getConsumptionLine()
<?
|
ConsumptionLineType |
getConsumptionLineAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getConsumptionLineCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
ContractType |
getContract()
<?
|
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
|
PartyType |
getUtilityCustomerParty()
<?
|
PartyType |
getUtilitySupplierParty()
<?
|
boolean |
hasConsumptionLineEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoConsumptionLineEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setConsumption(ConsumptionType value)
Sets the value of the consumption property.
|
void |
setConsumptionLine(List<ConsumptionLineType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setContract(ContractType value)
Sets the value of the contract property.
|
void |
setDescription(List<DescriptionType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setUtilityCustomerParty(PartyType value)
Sets the value of the utilityCustomerParty property.
|
void |
setUtilitySupplierParty(PartyType value)
Sets the value of the utilitySupplierParty property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public SupplierConsumptionType()
@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>Supplier Consumption. Description. Text</ccts:DictionaryEntryName><ccts:Definition>Free-form text conveying information that is not contained explicitly in other structures.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Supplier Consumption</ccts:ObjectClass><ccts:PropertyTerm>Description</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>This is what you pay for electricity to DONG Energy North Utility</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 PartyType getUtilitySupplierParty()
<?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>Supplier Consumption. Utility Supplier_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>The party supplying the utility.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Supplier Consumption</ccts:ObjectClass><ccts:PropertyTermQualifier>Utility Supplier</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Party</ccts:RepresentationTerm></ccts:Component>
PartyTypepublic void setUtilitySupplierParty(@Nullable PartyType value)
value - allowed object is
PartyType@Nullable public PartyType getUtilityCustomerParty()
<?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>Supplier Consumption. Utility Customer_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>The utility customer.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Supplier Consumption</ccts:ObjectClass><ccts:PropertyTermQualifier>Utility Customer</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Party</ccts:RepresentationTerm></ccts:Component>
PartyTypepublic void setUtilityCustomerParty(@Nullable PartyType value)
value - allowed object is
PartyType@Nullable public ConsumptionType getConsumption()
<?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>Supplier Consumption. Consumption</ccts:DictionaryEntryName><ccts:Definition>The consumption regarding this supplier</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Supplier Consumption</ccts:ObjectClass><ccts:PropertyTerm>Consumption</ccts:PropertyTerm><ccts:AssociatedObjectClass>Consumption</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Consumption</ccts:RepresentationTerm></ccts:Component>
ConsumptionTypepublic void setConsumption(@Nullable ConsumptionType value)
value - allowed object is
ConsumptionType@Nullable public ContractType getContract()
<?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>Supplier Consumption. Contract</ccts:DictionaryEntryName><ccts:Definition>A contract setting forth conditions regulating the consumption.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Supplier Consumption</ccts:ObjectClass><ccts:PropertyTerm>Contract</ccts:PropertyTerm><ccts:AssociatedObjectClass>Contract</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Contract</ccts:RepresentationTerm></ccts:Component>
ContractTypepublic void setContract(@Nullable ContractType value)
value - allowed object is
ContractType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<ConsumptionLineType> getConsumptionLine()
<?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>Supplier Consumption. Consumption Line</ccts:DictionaryEntryName><ccts:Definition>The consumption of a utility product.</ccts:Definition><ccts:Cardinality>1..n</ccts:Cardinality><ccts:ObjectClass>Supplier Consumption</ccts:ObjectClass><ccts:PropertyTerm>Consumption Line</ccts:PropertyTerm><ccts:AssociatedObjectClass>Consumption Line</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Consumption Line</ccts:RepresentationTerm></ccts:Component>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
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 setConsumptionLine(@Nullable List<ConsumptionLineType> 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 hasConsumptionLineEntries()
true if at least one item is contained, false otherwise.public boolean hasNoConsumptionLineEntries()
true if no item is contained, false otherwise.@Nonnegative public int getConsumptionLineCount()
@Nullable public ConsumptionLineType getConsumptionLineAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addConsumptionLine(@Nonnull ConsumptionLineType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull SupplierConsumptionType 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 SupplierConsumptionType clone()
Copyright © 2014–2020 Philip Helger. All rights reserved.