/** * 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()); }
/** * Created by ph-jaxb22-plugin -Xph-cloneable2 * * @return * The cloned object. Never <code>null</code>. */ @Nonnull @ReturnsMutableCopy @Override public AllowanceChargeType clone() { AllowanceChargeType ret = new AllowanceChargeType(); 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 boolean<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. * @return * The created intermediary object of type ChargeIndicatorType and never <code>null</code> */ @Nonnull public ChargeIndicatorType setChargeIndicator(final boolean valueParam) { ChargeIndicatorType aObj = getChargeIndicator(); if (aObj == null) { aObj = new ChargeIndicatorType(valueParam); setChargeIndicator(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; }
/** * 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 BaseAmountType and never <code>null</code> */ @Nonnull public BaseAmountType setBaseAmount( @Nullable final BigDecimal valueParam) { BaseAmountType aObj = getBaseAmount(); if (aObj == null) { aObj = new BaseAmountType(valueParam); setBaseAmount(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 AllowanceChargeReasonCodeType and never <code>null</code> */ @Nonnull public AllowanceChargeReasonCodeType setAllowanceChargeReasonCode( @Nullable final String valueParam) { AllowanceChargeReasonCodeType aObj = getAllowanceChargeReasonCode(); if (aObj == null) { aObj = new AllowanceChargeReasonCodeType(valueParam); setAllowanceChargeReasonCode(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; }
/** * 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 AllowanceChargeReasonType and never <code>null</code> */ @Nonnull public AllowanceChargeReasonType setAllowanceChargeReason( @Nullable final String valueParam) { AllowanceChargeReasonType aObj = getAllowanceChargeReason(); if (aObj == null) { aObj = new AllowanceChargeReasonType(valueParam); setAllowanceChargeReason(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Get the value of the contained BaseAmountType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained BaseAmountType object or <code>null</code> */ @Nullable public BigDecimal getBaseAmountValue() { BaseAmountType aObj = getBaseAmount(); return ((aObj == null)?null:aObj.getValue()); }
/** * Create an instance of {@link AllowanceChargeType } * * @return * The created AllowanceChargeType object and never <code>null</code>. */ @Nonnull public AllowanceChargeType createAllowanceChargeType() { return new AllowanceChargeType(); }
/** * Get the value of the contained AllowanceChargeReasonCodeType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained AllowanceChargeReasonCodeType object or <code>null</code> */ @Nullable public String getAllowanceChargeReasonCodeValue() { AllowanceChargeReasonCodeType aObj = getAllowanceChargeReasonCode(); 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()); }
/** * 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 ChargeIndicatorType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param nullValue * The value to be returned, if the owning object is <code>null</code> * @return * Either the value of the contained ChargeIndicatorType object or the passed nullValue */ public boolean isChargeIndicatorValue(final boolean nullValue) { ChargeIndicatorType aObj = getChargeIndicator(); return ((aObj == null)?nullValue:aObj.isValue()); }
/** * Get the value of the contained AllowanceChargeReasonType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained AllowanceChargeReasonType object or <code>null</code> */ @Nullable public String getAllowanceChargeReasonValue() { AllowanceChargeReasonType aObj = getAllowanceChargeReason(); return ((aObj == null)?null:aObj.getValue()); }
/** * 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()); }
/** * Special setter with value of type boolean<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. * @return * The created intermediary object of type ChargeIndicatorType and never <code>null</code> */ @Nonnull public ChargeIndicatorType setChargeIndicator(final boolean valueParam) { ChargeIndicatorType aObj = getChargeIndicator(); if (aObj == null) { aObj = new ChargeIndicatorType(valueParam); setChargeIndicator(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; }
/** * 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 BaseAmountType and never <code>null</code> */ @Nonnull public BaseAmountType setBaseAmount( @Nullable final BigDecimal valueParam) { BaseAmountType aObj = getBaseAmount(); if (aObj == null) { aObj = new BaseAmountType(valueParam); setBaseAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; }