/** * 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 hasAllowanceChargeEntries() { return (!getAllowanceCharge().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 hasAllowanceChargeEntries() { return (!getAllowanceCharge().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoAllowanceChargeEntries() { return getAllowanceCharge().isEmpty(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoAllowanceChargeEntries() { return getAllowanceCharge().isEmpty(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getAllowanceChargeCount() { return getAllowanceCharge().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addAllowanceCharge( @Nonnull final AllowanceChargeType elem) { getAllowanceCharge().add(elem); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getAllowanceChargeCount() { return getAllowanceCharge().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addAllowanceCharge( @Nonnull final AllowanceChargeType elem) { getAllowanceCharge().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 AllowanceChargeType getAllowanceChargeAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getAllowanceCharge().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 AllowanceChargeType getAllowanceChargeAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getAllowanceCharge().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 BillingReferenceLineType ret) { if (allowanceCharge == null) { ret.allowanceCharge = null; } else { List<AllowanceChargeType> retAllowanceCharge = new ArrayList<AllowanceChargeType>(); for (AllowanceChargeType aItem: getAllowanceCharge()) { retAllowanceCharge.add(((aItem == null)?null:aItem.clone())); } ret.allowanceCharge = retAllowanceCharge; } ret.amount = ((amount == null)?null:amount.clone()); ret.id = ((id == null)?null:id.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 BillingReferenceLineType ret) { if (allowanceCharge == null) { ret.allowanceCharge = null; } else { List<AllowanceChargeType> retAllowanceCharge = new ArrayList<AllowanceChargeType>(); for (AllowanceChargeType aItem: getAllowanceCharge()) { retAllowanceCharge.add(((aItem == null)?null:aItem.clone())); } ret.allowanceCharge = retAllowanceCharge; } ret.amount = ((amount == null)?null:amount.clone()); ret.id = ((id == null)?null:id.clone()); }