/** * 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 hasBillingReferenceLineEntries() { return (!getBillingReferenceLine().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 hasBillingReferenceLineEntries() { return (!getBillingReferenceLine().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoBillingReferenceLineEntries() { return getBillingReferenceLine().isEmpty(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoBillingReferenceLineEntries() { return getBillingReferenceLine().isEmpty(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getBillingReferenceLineCount() { return getBillingReferenceLine().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addBillingReferenceLine( @Nonnull final BillingReferenceLineType elem) { getBillingReferenceLine().add(elem); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getBillingReferenceLineCount() { return getBillingReferenceLine().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addBillingReferenceLine( @Nonnull final BillingReferenceLineType elem) { getBillingReferenceLine().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 BillingReferenceLineType getBillingReferenceLineAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getBillingReferenceLine().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 BillingReferenceLineType getBillingReferenceLineAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getBillingReferenceLine().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 BillingReferenceType ret) { ret.additionalDocumentReference = ((additionalDocumentReference == null)?null:additionalDocumentReference.clone()); if (billingReferenceLine == null) { ret.billingReferenceLine = null; } else { List<BillingReferenceLineType> retBillingReferenceLine = new ArrayList<BillingReferenceLineType>(); for (BillingReferenceLineType aItem: getBillingReferenceLine()) { retBillingReferenceLine.add(((aItem == null)?null:aItem.clone())); } ret.billingReferenceLine = retBillingReferenceLine; } ret.creditNoteDocumentReference = ((creditNoteDocumentReference == null)?null:creditNoteDocumentReference.clone()); ret.debitNoteDocumentReference = ((debitNoteDocumentReference == null)?null:debitNoteDocumentReference.clone()); ret.invoiceDocumentReference = ((invoiceDocumentReference == null)?null:invoiceDocumentReference.clone()); ret.reminderDocumentReference = ((reminderDocumentReference == null)?null:reminderDocumentReference.clone()); ret.selfBilledCreditNoteDocumentReference = ((selfBilledCreditNoteDocumentReference == null)?null:selfBilledCreditNoteDocumentReference.clone()); ret.selfBilledInvoiceDocumentReference = ((selfBilledInvoiceDocumentReference == null)?null:selfBilledInvoiceDocumentReference.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 BillingReferenceType ret) { ret.additionalDocumentReference = ((additionalDocumentReference == null)?null:additionalDocumentReference.clone()); if (billingReferenceLine == null) { ret.billingReferenceLine = null; } else { List<BillingReferenceLineType> retBillingReferenceLine = new ArrayList<BillingReferenceLineType>(); for (BillingReferenceLineType aItem: getBillingReferenceLine()) { retBillingReferenceLine.add(((aItem == null)?null:aItem.clone())); } ret.billingReferenceLine = retBillingReferenceLine; } ret.creditNoteDocumentReference = ((creditNoteDocumentReference == null)?null:creditNoteDocumentReference.clone()); ret.debitNoteDocumentReference = ((debitNoteDocumentReference == null)?null:debitNoteDocumentReference.clone()); ret.invoiceDocumentReference = ((invoiceDocumentReference == null)?null:invoiceDocumentReference.clone()); ret.reminderDocumentReference = ((reminderDocumentReference == null)?null:reminderDocumentReference.clone()); ret.selfBilledCreditNoteDocumentReference = ((selfBilledCreditNoteDocumentReference == null)?null:selfBilledCreditNoteDocumentReference.clone()); ret.selfBilledInvoiceDocumentReference = ((selfBilledInvoiceDocumentReference == null)?null:selfBilledInvoiceDocumentReference.clone()); }