@CodingStyleguideUnaware public class DeliveryAdjustmentType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for DeliveryAdjustmentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DeliveryAdjustmentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ReasonCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:100}AdjustmentReasonCodeType" minOccurs="0"/>
<element name="Reason" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ActualAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}AmountType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ActualQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}QuantityType" minOccurs="0"/>
<element name="ActualDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}DateTimeType" 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 |
|---|
DeliveryAdjustmentType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addActualAmount(AmountType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addReason(TextType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
DeliveryAdjustmentType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(DeliveryAdjustmentType 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> |
getActualAmount()
Gets the value of the actualAmount property.
|
AmountType |
getActualAmountAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getActualAmountCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
DateTimeType |
getActualDateTime()
Gets the value of the actualDateTime property.
|
QuantityType |
getActualQuantity()
Gets the value of the actualQuantity property.
|
BigDecimal |
getActualQuantityValue()
Get the value of the contained QuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<TextType> |
getReason()
Gets the value of the reason property.
|
TextType |
getReasonAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
AdjustmentReasonCodeType |
getReasonCode()
Gets the value of the reasonCode property.
|
String |
getReasonCodeValue()
Get the value of the contained AdjustmentReasonCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
getReasonCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasActualAmountEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoActualAmountEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoReasonEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasReasonEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setActualAmount(List<AmountType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setActualDateTime(DateTimeType value)
Sets the value of the actualDateTime property.
|
QuantityType |
setActualQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setActualQuantity(QuantityType value)
Sets the value of the actualQuantity property.
|
void |
setReason(List<TextType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setReasonCode(AdjustmentReasonCodeType value)
Sets the value of the reasonCode property.
|
AdjustmentReasonCodeType |
setReasonCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public DeliveryAdjustmentType()
@Nullable public AdjustmentReasonCodeType getReasonCode()
AdjustmentReasonCodeTypepublic void setReasonCode(@Nullable AdjustmentReasonCodeType value)
value - allowed object is
AdjustmentReasonCodeType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TextType> getReason()
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 reason property.
For example, to add a new item, do as follows:
getReason().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<AmountType> getActualAmount()
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 actualAmount property.
For example, to add a new item, do as follows:
getActualAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
@Nullable public QuantityType getActualQuantity()
QuantityTypepublic void setActualQuantity(@Nullable QuantityType value)
value - allowed object is
QuantityType@Nullable public DateTimeType getActualDateTime()
DateTimeTypepublic void setActualDateTime(@Nullable DateTimeType value)
value - allowed object is
DateTimeTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setReason(@Nullable List<TextType> aList)
aList - The new list member to set. May be null.public void setActualAmount(@Nullable List<AmountType> aList)
aList - The new list member to set. May be null.public boolean hasReasonEntries()
true if at least one item is contained, false otherwise.public boolean hasNoReasonEntries()
true if no item is contained, false otherwise.@Nonnegative public int getReasonCount()
@Nullable public TextType getReasonAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addReason(@Nonnull TextType elem)
elem - The element to be added. May not be null.public boolean hasActualAmountEntries()
true if at least one item is contained, false otherwise.public boolean hasNoActualAmountEntries()
true if no item is contained, false otherwise.@Nonnegative public int getActualAmountCount()
@Nullable public AmountType getActualAmountAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addActualAmount(@Nonnull AmountType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull DeliveryAdjustmentType 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 DeliveryAdjustmentType clone()
@Nonnull public AdjustmentReasonCodeType setReasonCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public QuantityType setActualQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getReasonCodeValue()
null@Nullable public BigDecimal getActualQuantityValue()
nullCopyright © 2016–2021 Philip Helger. All rights reserved.