/** * 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 hasDeliveryEntries() { return (!getDelivery().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoDeliveryEntries() { return getDelivery().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 hasDeliveryEntries() { return (!getDelivery().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoDeliveryEntries() { return getDelivery().isEmpty(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getDeliveryCount() { return getDelivery().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addDelivery( @Nonnull final DeliveryType elem) { getDelivery().add(elem); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getDeliveryCount() { return getDelivery().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addDelivery( @Nonnull final DeliveryType elem) { getDelivery().add(elem); }
/** * 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 DeliveryType getDeliveryAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getDelivery().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 DeliveryType getDeliveryAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getDelivery().get(index); }
} else { List<DeliveryType> retDelivery = new ArrayList<DeliveryType>(); for (DeliveryType aItem: getDelivery()) { retDelivery.add(((aItem == null)?null:aItem.clone()));
} else { List<DeliveryType> retDelivery = new ArrayList<DeliveryType>(); for (DeliveryType aItem: getDelivery()) { retDelivery.add(((aItem == null)?null:aItem.clone()));