package com.ECS.client.jax; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="BinName" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="BinItemCount" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> * <element name="BinParameter" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "binName", "binItemCount", "binParameter" }) @XmlRootElement(name = "Bin") public class Bin { @XmlElement(name = "BinName", required = true) protected String binName; @XmlElement(name = "BinItemCount", required = true) @XmlSchemaType(name = "positiveInteger") protected BigInteger binItemCount; @XmlElement(name = "BinParameter") protected List<Bin.BinParameter> binParameter; /** * Gets the value of the binName property. * * @return * possible object is * {@link String } * */ public String getBinName() { return binName; } /** * Sets the value of the binName property. * * @param value * allowed object is * {@link String } * */ public void setBinName(String value) { this.binName = value; } /** * Gets the value of the binItemCount property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getBinItemCount() { return binItemCount; } /** * Sets the value of the binItemCount property. * * @param value * allowed object is * {@link BigInteger } * */ public void setBinItemCount(BigInteger value) { this.binItemCount = value; } /** * Gets the value of the binParameter property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the binParameter property. * * <p> * For example, to add a new item, do as follows: * <pre> * getBinParameter().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Bin.BinParameter } * * */ public List<Bin.BinParameter> getBinParameter() { if (binParameter == null) { binParameter = new ArrayList<Bin.BinParameter>(); } return this.binParameter; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "name", "value" }) public static class BinParameter { @XmlElement(name = "Name", required = true) protected String name; @XmlElement(name = "Value", required = true) protected String value; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } } }