@CodingStyleguideUnaware public class ReferencePriceType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for ReferencePriceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReferencePriceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ChargeAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}AmountType" minOccurs="0"/>
<element name="BasisQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}QuantityType" maxOccurs="unbounded" minOccurs="0"/>
<element name="NetPriceIndicator" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}IndicatorType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ComparisonMethodCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}CodeType" 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 |
|---|
ReferencePriceType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addBasisQuantity(QuantityType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addNetPriceIndicator(IndicatorType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
ReferencePriceType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(ReferencePriceType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<QuantityType> |
getBasisQuantity()
Gets the value of the basisQuantity property.
|
QuantityType |
getBasisQuantityAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getBasisQuantityCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
AmountType |
getChargeAmount()
Gets the value of the chargeAmount property.
|
BigDecimal |
getChargeAmountValue()
Get the value of the contained AmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
CodeType |
getComparisonMethodCode()
Gets the value of the comparisonMethodCode property.
|
String |
getComparisonMethodCodeValue()
Get the value of the contained CodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<IndicatorType> |
getNetPriceIndicator()
Gets the value of the netPriceIndicator property.
|
IndicatorType |
getNetPriceIndicatorAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getNetPriceIndicatorCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasBasisQuantityEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNetPriceIndicatorEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoBasisQuantityEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoNetPriceIndicatorEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setBasisQuantity(List<QuantityType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setChargeAmount(AmountType value)
Sets the value of the chargeAmount property.
|
AmountType |
setChargeAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setComparisonMethodCode(CodeType value)
Sets the value of the comparisonMethodCode property.
|
CodeType |
setComparisonMethodCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setNetPriceIndicator(List<IndicatorType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public ReferencePriceType()
@Nullable public AmountType getChargeAmount()
AmountTypepublic void setChargeAmount(@Nullable AmountType value)
value - allowed object is
AmountType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<QuantityType> getBasisQuantity()
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 basisQuantity property.
For example, to add a new item, do as follows:
getBasisQuantity().add(newItem);
Objects of the following type(s) are allowed in the list
QuantityType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<IndicatorType> getNetPriceIndicator()
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 netPriceIndicator property.
For example, to add a new item, do as follows:
getNetPriceIndicator().add(newItem);
Objects of the following type(s) are allowed in the list
IndicatorType
@Nullable public CodeType getComparisonMethodCode()
CodeTypepublic void setComparisonMethodCode(@Nullable CodeType value)
value - allowed object is
CodeTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setBasisQuantity(@Nullable List<QuantityType> aList)
aList - The new list member to set. May be null.public void setNetPriceIndicator(@Nullable List<IndicatorType> aList)
aList - The new list member to set. May be null.public boolean hasBasisQuantityEntries()
true if at least one item is contained, false otherwise.public boolean hasNoBasisQuantityEntries()
true if no item is contained, false otherwise.@Nonnegative public int getBasisQuantityCount()
@Nullable public QuantityType getBasisQuantityAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addBasisQuantity(@Nonnull QuantityType elem)
elem - The element to be added. May not be null.public boolean hasNetPriceIndicatorEntries()
true if at least one item is contained, false otherwise.public boolean hasNoNetPriceIndicatorEntries()
true if no item is contained, false otherwise.@Nonnegative public int getNetPriceIndicatorCount()
@Nullable public IndicatorType getNetPriceIndicatorAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addNetPriceIndicator(@Nonnull IndicatorType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull ReferencePriceType 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 ReferencePriceType clone()
@Nonnull public AmountType setChargeAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public CodeType setComparisonMethodCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public BigDecimal getChargeAmountValue()
nullCopyright © 2016–2021 Philip Helger. All rights reserved.