@CodingStyleguideUnaware public class CalculatedPriceType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for CalculatedPriceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CalculatedPriceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}CodeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ChargeAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="RelatedAppliedAllowanceCharge" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}AppliedAllowanceChargeType" 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 |
|---|
CalculatedPriceType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addChargeAmount(AmountType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addRelatedAppliedAllowanceCharge(AppliedAllowanceChargeType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addTypeCode(CodeType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
CalculatedPriceType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(CalculatedPriceType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<AmountType> |
getChargeAmount()
Gets the value of the chargeAmount property.
|
AmountType |
getChargeAmountAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getChargeAmountCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<AppliedAllowanceChargeType> |
getRelatedAppliedAllowanceCharge()
Gets the value of the relatedAppliedAllowanceCharge property.
|
AppliedAllowanceChargeType |
getRelatedAppliedAllowanceChargeAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getRelatedAppliedAllowanceChargeCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<CodeType> |
getTypeCode()
Gets the value of the typeCode property.
|
CodeType |
getTypeCodeAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getTypeCodeCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasChargeAmountEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoChargeAmountEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoRelatedAppliedAllowanceChargeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoTypeCodeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasRelatedAppliedAllowanceChargeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasTypeCodeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setChargeAmount(List<AmountType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setRelatedAppliedAllowanceCharge(List<AppliedAllowanceChargeType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setTypeCode(List<CodeType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public CalculatedPriceType()
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<CodeType> getTypeCode()
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 typeCode property.
For example, to add a new item, do as follows:
getTypeCode().add(newItem);
Objects of the following type(s) are allowed in the list
CodeType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<AmountType> getChargeAmount()
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 chargeAmount property.
For example, to add a new item, do as follows:
getChargeAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<AppliedAllowanceChargeType> getRelatedAppliedAllowanceCharge()
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 relatedAppliedAllowanceCharge property.
For example, to add a new item, do as follows:
getRelatedAppliedAllowanceCharge().add(newItem);
Objects of the following type(s) are allowed in the list
AppliedAllowanceChargeType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setTypeCode(@Nullable List<CodeType> aList)
aList - The new list member to set. May be null.public void setChargeAmount(@Nullable List<AmountType> aList)
aList - The new list member to set. May be null.public void setRelatedAppliedAllowanceCharge(@Nullable List<AppliedAllowanceChargeType> aList)
aList - The new list member to set. May be null.public boolean hasTypeCodeEntries()
true if at least one item is contained, false otherwise.public boolean hasNoTypeCodeEntries()
true if no item is contained, false otherwise.@Nonnegative public int getTypeCodeCount()
@Nullable public CodeType getTypeCodeAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addTypeCode(@Nonnull CodeType elem)
elem - The element to be added. May not be null.public boolean hasChargeAmountEntries()
true if at least one item is contained, false otherwise.public boolean hasNoChargeAmountEntries()
true if no item is contained, false otherwise.@Nonnegative public int getChargeAmountCount()
@Nullable public AmountType getChargeAmountAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addChargeAmount(@Nonnull AmountType elem)
elem - The element to be added. May not be null.public boolean hasRelatedAppliedAllowanceChargeEntries()
true if at least one item is contained, false otherwise.public boolean hasNoRelatedAppliedAllowanceChargeEntries()
true if no item is contained, false otherwise.@Nonnegative public int getRelatedAppliedAllowanceChargeCount()
@Nullable public AppliedAllowanceChargeType getRelatedAppliedAllowanceChargeAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addRelatedAppliedAllowanceCharge(@Nonnull AppliedAllowanceChargeType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull CalculatedPriceType 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 CalculatedPriceType clone()
Copyright © 2016–2021 Philip Helger. All rights reserved.