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