/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoAdditionalAccountIDEntries() { return getAdditionalAccountID().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 hasAdditionalAccountIDEntries() { return (!getAdditionalAccountID().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoAdditionalAccountIDEntries() { return getAdditionalAccountID().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 hasAdditionalAccountIDEntries() { return (!getAdditionalAccountID().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getAdditionalAccountIDCount() { return getAdditionalAccountID().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getAdditionalAccountIDCount() { return getAdditionalAccountID().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addAdditionalAccountID( @Nonnull final AdditionalAccountIDType elem) { getAdditionalAccountID().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 addAdditionalAccountID( @Nonnull final AdditionalAccountIDType elem) { getAdditionalAccountID().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 AdditionalAccountIDType getAdditionalAccountIDAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getAdditionalAccountID().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 AdditionalAccountIDType getAdditionalAccountIDAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getAdditionalAccountID().get(index); }
/** * This method clones all values from <code>this</code> to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2 * * @param ret * The target object to clone to. May not be <code>null</code>. */ public void cloneTo( @Nonnull CustomerPartyType ret) { ret.accountingContact = ((accountingContact == null)?null:accountingContact.clone()); if (additionalAccountID == null) { ret.additionalAccountID = null; } else { List<AdditionalAccountIDType> retAdditionalAccountID = new ArrayList<AdditionalAccountIDType>(); for (AdditionalAccountIDType aItem: getAdditionalAccountID()) { retAdditionalAccountID.add(((aItem == null)?null:aItem.clone())); } ret.additionalAccountID = retAdditionalAccountID; } ret.buyerContact = ((buyerContact == null)?null:buyerContact.clone()); ret.customerAssignedAccountID = ((customerAssignedAccountID == null)?null:customerAssignedAccountID.clone()); ret.deliveryContact = ((deliveryContact == null)?null:deliveryContact.clone()); ret.party = ((party == null)?null:party.clone()); ret.supplierAssignedAccountID = ((supplierAssignedAccountID == null)?null:supplierAssignedAccountID.clone()); }
/** * This method clones all values from <code>this</code> to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2 * * @param ret * The target object to clone to. May not be <code>null</code>. */ public void cloneTo( @Nonnull CustomerPartyType ret) { ret.accountingContact = ((accountingContact == null)?null:accountingContact.clone()); if (additionalAccountID == null) { ret.additionalAccountID = null; } else { List<AdditionalAccountIDType> retAdditionalAccountID = new ArrayList<AdditionalAccountIDType>(); for (AdditionalAccountIDType aItem: getAdditionalAccountID()) { retAdditionalAccountID.add(((aItem == null)?null:aItem.clone())); } ret.additionalAccountID = retAdditionalAccountID; } ret.buyerContact = ((buyerContact == null)?null:buyerContact.clone()); ret.customerAssignedAccountID = ((customerAssignedAccountID == null)?null:customerAssignedAccountID.clone()); ret.deliveryContact = ((deliveryContact == null)?null:deliveryContact.clone()); ret.party = ((party == null)?null:party.clone()); ret.supplierAssignedAccountID = ((supplierAssignedAccountID == null)?null:supplierAssignedAccountID.clone()); }