/** * Create an instance of {@link DebitNoteLineType } * * @return * The created DebitNoteLineType object and never <code>null</code>. */ @Nonnull public DebitNoteLineType createDebitNoteLineType() { return new DebitNoteLineType(); }
/** * 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 hasBillingReferenceEntries() { return (!getBillingReference().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 hasDeliveryEntries() { return (!getDelivery().isEmpty()); }
} else { List<BillingReferenceType> retBillingReference = new ArrayList<BillingReferenceType>(); for (BillingReferenceType aItem: getBillingReference()) { retBillingReference.add(((aItem == null)?null:aItem.clone())); } else { List<DeliveryType> retDelivery = new ArrayList<DeliveryType>(); for (DeliveryType aItem: getDelivery()) { retDelivery.add(((aItem == null)?null:aItem.clone())); } else { List<LineReferenceType> retDespatchLineReference = new ArrayList<LineReferenceType>(); for (LineReferenceType aItem: getDespatchLineReference()) { retDespatchLineReference.add(((aItem == null)?null:aItem.clone())); } else { List<ResponseType> retDiscrepancyResponse = new ArrayList<ResponseType>(); for (ResponseType aItem: getDiscrepancyResponse()) { retDiscrepancyResponse.add(((aItem == null)?null:aItem.clone())); } else { List<DocumentReferenceType> retDocumentReference = new ArrayList<DocumentReferenceType>(); for (DocumentReferenceType aItem: getDocumentReference()) { retDocumentReference.add(((aItem == null)?null:aItem.clone())); } else { List<LineReferenceType> retReceiptLineReference = new ArrayList<LineReferenceType>(); for (LineReferenceType aItem: getReceiptLineReference()) { retReceiptLineReference.add(((aItem == null)?null:aItem.clone()));
/** * 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 hasDiscrepancyResponseEntries() { return (!getDiscrepancyResponse().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoDespatchLineReferenceEntries() { return getDespatchLineReference().isEmpty(); }
/** * Created by ph-jaxb22-plugin -Xph-cloneable2 * * @return * The cloned object. Never <code>null</code>. */ @Nonnull @ReturnsMutableCopy @Override public DebitNoteLineType clone() { DebitNoteLineType ret = new DebitNoteLineType(); cloneTo(ret); return ret; }
/** * 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 AccountingCostType and never <code>null</code> */ @Nonnull public AccountingCostType setAccountingCost( @Nullable final String valueParam) { AccountingCostType aObj = getAccountingCost(); if (aObj == null) { aObj = new AccountingCostType(valueParam); setAccountingCost(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 DebitedQuantityType and never <code>null</code> */ @Nonnull public DebitedQuantityType setDebitedQuantity( @Nullable final BigDecimal valueParam) { DebitedQuantityType aObj = getDebitedQuantity(); if (aObj == null) { aObj = new DebitedQuantityType(valueParam); setDebitedQuantity(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * 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 AccountingCostCodeType and never <code>null</code> */ @Nonnull public AccountingCostCodeType setAccountingCostCode( @Nullable final String valueParam) { AccountingCostCodeType aObj = getAccountingCostCode(); if (aObj == null) { aObj = new AccountingCostCodeType(valueParam); setAccountingCostCode(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Get the value of the contained AccountingCostType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained AccountingCostType object or <code>null</code> */ @Nullable public String getAccountingCostValue() { AccountingCostType aObj = getAccountingCost(); return ((aObj == null)?null:aObj.getValue()); }
/** * Get the value of the contained DebitedQuantityType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained DebitedQuantityType object or <code>null</code> */ @Nullable public BigDecimal getDebitedQuantityValue() { DebitedQuantityType aObj = getDebitedQuantity(); return ((aObj == null)?null:aObj.getValue()); }
/** * Get the value of the contained AccountingCostCodeType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained AccountingCostCodeType object or <code>null</code> */ @Nullable public String getAccountingCostCodeValue() { AccountingCostCodeType aObj = getAccountingCostCode(); return ((aObj == null)?null:aObj.getValue()); }
List<DebitNoteLineType> retDebitNoteLine = new ArrayList<DebitNoteLineType>(); for (DebitNoteLineType aItem: getDebitNoteLine()) { retDebitNoteLine.add(((aItem == null)?null:aItem.clone()));
} else { List<BillingReferenceType> retBillingReference = new ArrayList<BillingReferenceType>(); for (BillingReferenceType aItem: getBillingReference()) { retBillingReference.add(((aItem == null)?null:aItem.clone())); } else { List<DeliveryType> retDelivery = new ArrayList<DeliveryType>(); for (DeliveryType aItem: getDelivery()) { retDelivery.add(((aItem == null)?null:aItem.clone())); } else { List<LineReferenceType> retDespatchLineReference = new ArrayList<LineReferenceType>(); for (LineReferenceType aItem: getDespatchLineReference()) { retDespatchLineReference.add(((aItem == null)?null:aItem.clone())); } else { List<ResponseType> retDiscrepancyResponse = new ArrayList<ResponseType>(); for (ResponseType aItem: getDiscrepancyResponse()) { retDiscrepancyResponse.add(((aItem == null)?null:aItem.clone())); } else { List<DocumentReferenceType> retDocumentReference = new ArrayList<DocumentReferenceType>(); for (DocumentReferenceType aItem: getDocumentReference()) { retDocumentReference.add(((aItem == null)?null:aItem.clone())); } else { List<LineReferenceType> retReceiptLineReference = new ArrayList<LineReferenceType>(); for (LineReferenceType aItem: getReceiptLineReference()) { retReceiptLineReference.add(((aItem == null)?null:aItem.clone()));
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoDiscrepancyResponseEntries() { return getDiscrepancyResponse().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 hasDespatchLineReferenceEntries() { return (!getDespatchLineReference().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-cloneable2 * * @return * The cloned object. Never <code>null</code>. */ @Nonnull @ReturnsMutableCopy @Override public DebitNoteLineType clone() { DebitNoteLineType ret = new DebitNoteLineType(); cloneTo(ret); return ret; }
/** * 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 AccountingCostType and never <code>null</code> */ @Nonnull public AccountingCostType setAccountingCost( @Nullable final String valueParam) { AccountingCostType aObj = getAccountingCost(); if (aObj == null) { aObj = new AccountingCostType(valueParam); setAccountingCost(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 DebitedQuantityType and never <code>null</code> */ @Nonnull public DebitedQuantityType setDebitedQuantity( @Nullable final BigDecimal valueParam) { DebitedQuantityType aObj = getDebitedQuantity(); if (aObj == null) { aObj = new DebitedQuantityType(valueParam); setDebitedQuantity(aObj); } else { aObj.setValue(valueParam); } return aObj; }