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