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