@CodingStyleguideUnaware public class UnstructuredPriceType 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>Unstructured Price. Details</ccts:DictionaryEntryName><ccts:Definition>A simplified version of the Price class intended for applications such as telephone billing.</ccts:Definition><ccts:ObjectClass>Unstructured Price</ccts:ObjectClass></ccts:Component>
Java class for UnstructuredPriceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UnstructuredPriceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PriceAmount" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TimeAmount" 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-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
UnstructuredPriceType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
UnstructuredPriceType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(UnstructuredPriceType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
PriceAmountType |
getPriceAmount()
<?
|
BigDecimal |
getPriceAmountValue()
Get the value of the contained PriceAmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TimeAmountType |
getTimeAmount()
<?
|
String |
getTimeAmountValue()
Get the value of the contained TimeAmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
PriceAmountType |
setPriceAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPriceAmount(PriceAmountType value)
Sets the value of the priceAmount property.
|
TimeAmountType |
setTimeAmount(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setTimeAmount(TimeAmountType value)
Sets the value of the timeAmount property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public UnstructuredPriceType()
@Nullable public PriceAmountType getPriceAmount()
<?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>Unstructured Price. Price Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The price amount.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Unstructured Price</ccts:ObjectClass><ccts:PropertyTerm>Price Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType><ccts:Examples>23.45</ccts:Examples></ccts:Component>
PriceAmountTypepublic void setPriceAmount(@Nullable PriceAmountType value)
value - allowed object is
PriceAmountType@Nullable public TimeAmountType getTimeAmount()
<?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>Unstructured Price. Time Amount. Text</ccts:DictionaryEntryName><ccts:Definition>The usage time upon which the price is based.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Unstructured Price</ccts:ObjectClass><ccts:PropertyTerm>Time Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
TimeAmountTypepublic void setTimeAmount(@Nullable TimeAmountType value)
value - allowed object is
TimeAmountTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void cloneTo(@Nonnull UnstructuredPriceType 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 UnstructuredPriceType clone()
@Nonnull public PriceAmountType setPriceAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TimeAmountType setTimeAmount(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public BigDecimal getPriceAmountValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.