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