|
| 1 | +// |
| 2 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 |
| 3 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | +// Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2013.08.05 at 11:46:51 PM EDT |
| 6 | +// |
| 7 | + |
| 8 | + |
| 9 | +package org.cxml.v12024; |
| 10 | + |
| 11 | +import java.util.ArrayList; |
| 12 | +import java.util.List; |
| 13 | +import javax.xml.bind.annotation.XmlAccessType; |
| 14 | +import javax.xml.bind.annotation.XmlAccessorType; |
| 15 | +import javax.xml.bind.annotation.XmlAttribute; |
| 16 | +import javax.xml.bind.annotation.XmlElement; |
| 17 | +import javax.xml.bind.annotation.XmlElements; |
| 18 | +import javax.xml.bind.annotation.XmlRootElement; |
| 19 | +import javax.xml.bind.annotation.XmlType; |
| 20 | +import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; |
| 21 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
| 22 | + |
| 23 | + |
| 24 | +/** |
| 25 | + * |
| 26 | + */ |
| 27 | +@XmlAccessorType(XmlAccessType.FIELD) |
| 28 | +@XmlType(name = "", propOrder = { |
| 29 | + "deductionAmountOrDeductionPercentOrDeductedPrice" |
| 30 | +}) |
| 31 | +@XmlRootElement(name = "AdditionalDeduction") |
| 32 | +public class AdditionalDeduction { |
| 33 | + |
| 34 | + @XmlAttribute(name = "type") |
| 35 | + @XmlJavaTypeAdapter(NormalizedStringAdapter.class) |
| 36 | + protected String type; |
| 37 | + @XmlElements({ |
| 38 | + @XmlElement(name = "DeductionAmount", required = true, type = DeductionAmount.class), |
| 39 | + @XmlElement(name = "DeductionPercent", required = true, type = DeductionPercent.class), |
| 40 | + @XmlElement(name = "DeductedPrice", required = true, type = DeductedPrice.class) |
| 41 | + }) |
| 42 | + protected List<Object> deductionAmountOrDeductionPercentOrDeductedPrice; |
| 43 | + |
| 44 | + /** |
| 45 | + * Gets the value of the type property. |
| 46 | + * |
| 47 | + * @return |
| 48 | + * possible object is |
| 49 | + * {@link String } |
| 50 | + * |
| 51 | + */ |
| 52 | + public String getType() { |
| 53 | + return type; |
| 54 | + } |
| 55 | + |
| 56 | + /** |
| 57 | + * Sets the value of the type property. |
| 58 | + * |
| 59 | + * @param value |
| 60 | + * allowed object is |
| 61 | + * {@link String } |
| 62 | + * |
| 63 | + */ |
| 64 | + public void setType(String value) { |
| 65 | + this.type = value; |
| 66 | + } |
| 67 | + |
| 68 | + /** |
| 69 | + * Gets the value of the deductionAmountOrDeductionPercentOrDeductedPrice property. |
| 70 | + * |
| 71 | + * <p> |
| 72 | + * This accessor method returns a reference to the live list, |
| 73 | + * not a snapshot. Therefore any modification you make to the |
| 74 | + * returned list will be present inside the JAXB object. |
| 75 | + * This is why there is not a <CODE>set</CODE> method for the deductionAmountOrDeductionPercentOrDeductedPrice property. |
| 76 | + * |
| 77 | + * <p> |
| 78 | + * For example, to add a new item, do as follows: |
| 79 | + * <pre> |
| 80 | + * getDeductionAmountOrDeductionPercentOrDeductedPrice().add(newItem); |
| 81 | + * </pre> |
| 82 | + * |
| 83 | + * |
| 84 | + * <p> |
| 85 | + * Objects of the following type(s) are allowed in the list |
| 86 | + * {@link DeductionAmount } |
| 87 | + * {@link DeductionPercent } |
| 88 | + * {@link DeductedPrice } |
| 89 | + * |
| 90 | + * |
| 91 | + */ |
| 92 | + public List<Object> getDeductionAmountOrDeductionPercentOrDeductedPrice() { |
| 93 | + if (deductionAmountOrDeductionPercentOrDeductedPrice == null) { |
| 94 | + deductionAmountOrDeductionPercentOrDeductedPrice = new ArrayList<Object>(); |
| 95 | + } |
| 96 | + return this.deductionAmountOrDeductionPercentOrDeductedPrice; |
| 97 | + } |
| 98 | + |
| 99 | +} |
0 commit comments