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