/** * Created by ph-jaxb22-plugin -Xph-cloneable2 * * @return * The cloned object. Never <code>null</code>. */ @Nonnull @ReturnsMutableCopy @Override public BillingReferenceLineType clone() { BillingReferenceLineType ret = new BillingReferenceLineType(); cloneTo(ret); return ret; }
/** * 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()); }
/** * Special setter with value of type String<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. May be <code>null</code>. * @return * The created intermediary object of type IDType and never <code>null</code> */ @Nonnull public IDType setID( @Nullable final String valueParam) { IDType aObj = getID(); if (aObj == null) { aObj = new IDType(valueParam); setID(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Special setter with value of type BigDecimal<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. May be <code>null</code>. * @return * The created intermediary object of type AmountType and never <code>null</code> */ @Nonnull public AmountType setAmount( @Nullable final BigDecimal valueParam) { AmountType aObj = getAmount(); if (aObj == null) { aObj = new AmountType(valueParam); setAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Get the value of the contained IDType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained IDType object or <code>null</code> */ @Nullable public String getIDValue() { IDType aObj = getID(); return ((aObj == null)?null:aObj.getValue()); }
/** * Create an instance of {@link BillingReferenceLineType } * * @return * The created BillingReferenceLineType object and never <code>null</code>. */ @Nonnull public BillingReferenceLineType createBillingReferenceLineType() { return new BillingReferenceLineType(); }
/** * Get the value of the contained AmountType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained AmountType object or <code>null</code> */ @Nullable public BigDecimal getAmountValue() { AmountType aObj = getAmount(); return ((aObj == null)?null:aObj.getValue()); }
/** * 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()); }
/** * Special setter with value of type String<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. May be <code>null</code>. * @return * The created intermediary object of type IDType and never <code>null</code> */ @Nonnull public IDType setID( @Nullable final String valueParam) { IDType aObj = getID(); if (aObj == null) { aObj = new IDType(valueParam); setID(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Special setter with value of type BigDecimal<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. May be <code>null</code>. * @return * The created intermediary object of type AmountType and never <code>null</code> */ @Nonnull public AmountType setAmount( @Nullable final BigDecimal valueParam) { AmountType aObj = getAmount(); if (aObj == null) { aObj = new AmountType(valueParam); setAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Get the value of the contained IDType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained IDType object or <code>null</code> */ @Nullable public String getIDValue() { IDType aObj = getID(); return ((aObj == null)?null:aObj.getValue()); }
/** * Create an instance of {@link BillingReferenceLineType } * * @return * The created BillingReferenceLineType object and never <code>null</code>. */ @Nonnull public BillingReferenceLineType createBillingReferenceLineType() { return new BillingReferenceLineType(); }
/** * Get the value of the contained AmountType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained AmountType object or <code>null</code> */ @Nullable public BigDecimal getAmountValue() { AmountType aObj = getAmount(); return ((aObj == null)?null:aObj.getValue()); }
/** * 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()); }
/** * 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-cloneable2 * * @return * The cloned object. Never <code>null</code>. */ @Nonnull @ReturnsMutableCopy @Override public BillingReferenceLineType clone() { BillingReferenceLineType ret = new BillingReferenceLineType(); cloneTo(ret); return ret; }
/** * 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 * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getAllowanceChargeCount() { return getAllowanceCharge().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getAllowanceChargeCount() { return getAllowanceCharge().size(); }