@CodingStyleguideUnaware public class SubordinateTradeLineItemType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for SubordinateTradeLineItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SubordinateTradeLineItemType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}IDType" maxOccurs="unbounded" minOccurs="0"/>
<element name="SpecifiedReferencedProduct" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}ReferencedProductType" minOccurs="0"/>
<element name="ApplicableTradeProduct" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TradeProductType" maxOccurs="unbounded" minOccurs="0"/>
<element name="SpecifiedSubordinateLineTradeAgreement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}SubordinateLineTradeAgreementType" minOccurs="0"/>
<element name="SpecifiedSubordinateLineTradeDelivery" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}SubordinateLineTradeDeliveryType" minOccurs="0"/>
<element name="SpecifiedSubordinateLineTradeSettlement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}SubordinateLineTradeSettlementType" 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 |
|---|
SubordinateTradeLineItemType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addApplicableTradeProduct(TradeProductType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addID(IDType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
SubordinateTradeLineItemType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(SubordinateTradeLineItemType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<TradeProductType> |
getApplicableTradeProduct()
Gets the value of the applicableTradeProduct property.
|
TradeProductType |
getApplicableTradeProductAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getApplicableTradeProductCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<IDType> |
getID()
Gets the value of the id property.
|
IDType |
getIDAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getIDCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
ReferencedProductType |
getSpecifiedReferencedProduct()
Gets the value of the specifiedReferencedProduct property.
|
SubordinateLineTradeAgreementType |
getSpecifiedSubordinateLineTradeAgreement()
Gets the value of the specifiedSubordinateLineTradeAgreement property.
|
SubordinateLineTradeDeliveryType |
getSpecifiedSubordinateLineTradeDelivery()
Gets the value of the specifiedSubordinateLineTradeDelivery property.
|
SubordinateLineTradeSettlementType |
getSpecifiedSubordinateLineTradeSettlement()
Gets the value of the specifiedSubordinateLineTradeSettlement property.
|
boolean |
hasApplicableTradeProductEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoApplicableTradeProductEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setApplicableTradeProduct(List<TradeProductType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setID(List<IDType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setSpecifiedReferencedProduct(ReferencedProductType value)
Sets the value of the specifiedReferencedProduct property.
|
void |
setSpecifiedSubordinateLineTradeAgreement(SubordinateLineTradeAgreementType value)
Sets the value of the specifiedSubordinateLineTradeAgreement property.
|
void |
setSpecifiedSubordinateLineTradeDelivery(SubordinateLineTradeDeliveryType value)
Sets the value of the specifiedSubordinateLineTradeDelivery property.
|
void |
setSpecifiedSubordinateLineTradeSettlement(SubordinateLineTradeSettlementType value)
Sets the value of the specifiedSubordinateLineTradeSettlement property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public SubordinateTradeLineItemType()
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<IDType> getID()
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 id property.
For example, to add a new item, do as follows:
getID().add(newItem);
Objects of the following type(s) are allowed in the list
IDType
@Nullable public ReferencedProductType getSpecifiedReferencedProduct()
ReferencedProductTypepublic void setSpecifiedReferencedProduct(@Nullable ReferencedProductType value)
value - allowed object is
ReferencedProductType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TradeProductType> getApplicableTradeProduct()
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 applicableTradeProduct property.
For example, to add a new item, do as follows:
getApplicableTradeProduct().add(newItem);
Objects of the following type(s) are allowed in the list
TradeProductType
@Nullable public SubordinateLineTradeAgreementType getSpecifiedSubordinateLineTradeAgreement()
SubordinateLineTradeAgreementTypepublic void setSpecifiedSubordinateLineTradeAgreement(@Nullable SubordinateLineTradeAgreementType value)
value - allowed object is
SubordinateLineTradeAgreementType@Nullable public SubordinateLineTradeDeliveryType getSpecifiedSubordinateLineTradeDelivery()
SubordinateLineTradeDeliveryTypepublic void setSpecifiedSubordinateLineTradeDelivery(@Nullable SubordinateLineTradeDeliveryType value)
value - allowed object is
SubordinateLineTradeDeliveryType@Nullable public SubordinateLineTradeSettlementType getSpecifiedSubordinateLineTradeSettlement()
SubordinateLineTradeSettlementTypepublic void setSpecifiedSubordinateLineTradeSettlement(@Nullable SubordinateLineTradeSettlementType value)
value - allowed object is
SubordinateLineTradeSettlementTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setID(@Nullable List<IDType> aList)
aList - The new list member to set. May be null.public void setApplicableTradeProduct(@Nullable List<TradeProductType> aList)
aList - The new list member to set. May be null.public boolean hasIDEntries()
true if at least one item is contained, false otherwise.public boolean hasNoIDEntries()
true if no item is contained, false otherwise.@Nonnegative public int getIDCount()
@Nullable public IDType getIDAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addID(@Nonnull IDType elem)
elem - The element to be added. May not be null.public boolean hasApplicableTradeProductEntries()
true if at least one item is contained, false otherwise.public boolean hasNoApplicableTradeProductEntries()
true if no item is contained, false otherwise.@Nonnegative public int getApplicableTradeProductCount()
@Nullable public TradeProductType getApplicableTradeProductAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addApplicableTradeProduct(@Nonnull TradeProductType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull SubordinateTradeLineItemType 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 SubordinateTradeLineItemType clone()
Copyright © 2016–2021 Philip Helger. All rights reserved.