/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoRequiredItemLocationQuantityEntries() { return getRequiredItemLocationQuantity().isEmpty(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if at least one item is contained, <code>false</code> otherwise. */ public boolean hasRequiredItemLocationQuantityEntries() { return (!getRequiredItemLocationQuantity().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoRequiredItemLocationQuantityEntries() { return getRequiredItemLocationQuantity().isEmpty(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if at least one item is contained, <code>false</code> otherwise. */ public boolean hasRequiredItemLocationQuantityEntries() { return (!getRequiredItemLocationQuantity().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getRequiredItemLocationQuantityCount() { return getRequiredItemLocationQuantity().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addRequiredItemLocationQuantity( @Nonnull final ItemLocationQuantityType elem) { getRequiredItemLocationQuantity().add(elem); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addRequiredItemLocationQuantity( @Nonnull final ItemLocationQuantityType elem) { getRequiredItemLocationQuantity().add(elem); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getRequiredItemLocationQuantityCount() { return getRequiredItemLocationQuantity().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param index * The index to retrieve * @return * The element at the specified index. May be <code>null</code> * @throws IndexOutOfBoundsException * if the index is invalid! */ @Nullable public ItemLocationQuantityType getRequiredItemLocationQuantityAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getRequiredItemLocationQuantity().get(index); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param index * The index to retrieve * @return * The element at the specified index. May be <code>null</code> * @throws IndexOutOfBoundsException * if the index is invalid! */ @Nullable public ItemLocationQuantityType getRequiredItemLocationQuantityAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getRequiredItemLocationQuantity().get(index); }
/** * This method clones all values from <code>this</code> to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2 * * @param ret * The target object to clone to. May not be <code>null</code>. */ public void cloneTo( @Nonnull CataloguePricingUpdateLineType ret) { ret.contractorCustomerParty = ((contractorCustomerParty == null)?null:contractorCustomerParty.clone()); ret.id = ((id == null)?null:id.clone()); if (requiredItemLocationQuantity == null) { ret.requiredItemLocationQuantity = null; } else { List<ItemLocationQuantityType> retRequiredItemLocationQuantity = new ArrayList<ItemLocationQuantityType>(); for (ItemLocationQuantityType aItem: getRequiredItemLocationQuantity()) { retRequiredItemLocationQuantity.add(((aItem == null)?null:aItem.clone())); } ret.requiredItemLocationQuantity = retRequiredItemLocationQuantity; } ret.sellerSupplierParty = ((sellerSupplierParty == null)?null:sellerSupplierParty.clone()); }
/** * This method clones all values from <code>this</code> to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2 * * @param ret * The target object to clone to. May not be <code>null</code>. */ public void cloneTo( @Nonnull CataloguePricingUpdateLineType ret) { ret.contractorCustomerParty = ((contractorCustomerParty == null)?null:contractorCustomerParty.clone()); ret.id = ((id == null)?null:id.clone()); if (requiredItemLocationQuantity == null) { ret.requiredItemLocationQuantity = null; } else { List<ItemLocationQuantityType> retRequiredItemLocationQuantity = new ArrayList<ItemLocationQuantityType>(); for (ItemLocationQuantityType aItem: getRequiredItemLocationQuantity()) { retRequiredItemLocationQuantity.add(((aItem == null)?null:aItem.clone())); } ret.requiredItemLocationQuantity = retRequiredItemLocationQuantity; } ret.sellerSupplierParty = ((sellerSupplierParty == null)?null:sellerSupplierParty.clone()); }