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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ListSearchRequest complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ListSearchRequest"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ListPage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> * <element name="ListType"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="WishList"/> * <enumeration value="WeddingRegistry"/> * <enumeration value="BabyRegistry"/> * </restriction> * </simpleType> * </element> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ListSearchRequest", propOrder = { "city", "email", "firstName", "lastName", "listPage", "listType", "name", "responseGroup", "state" }) public class ListSearchRequest { @XmlElement(name = "City") protected String city; @XmlElement(name = "Email") protected String email; @XmlElement(name = "FirstName") protected String firstName; @XmlElement(name = "LastName") protected String lastName; @XmlElement(name = "ListPage") @XmlSchemaType(name = "positiveInteger") protected BigInteger listPage; @XmlElement(name = "ListType", required = true) protected String listType; @XmlElement(name = "Name") protected String name; @XmlElement(name = "ResponseGroup") protected List<String> responseGroup; @XmlElement(name = "State") protected String state; /** * Gets the value of the city property. * * @return * possible object is * {@link String } * */ public String getCity() { return city; } /** * Sets the value of the city property. * * @param value * allowed object is * {@link String } * */ public void setCity(String value) { this.city = value; } /** * Gets the value of the email property. * * @return * possible object is * {@link String } * */ public String getEmail() { return email; } /** * Sets the value of the email property. * * @param value * allowed object is * {@link String } * */ public void setEmail(String value) { this.email = value; } /** * Gets the value of the firstName property. * * @return * possible object is * {@link String } * */ public String getFirstName() { return firstName; } /** * Sets the value of the firstName property. * * @param value * allowed object is * {@link String } * */ public void setFirstName(String value) { this.firstName = value; } /** * Gets the value of the lastName property. * * @return * possible object is * {@link String } * */ public String getLastName() { return lastName; } /** * Sets the value of the lastName property. * * @param value * allowed object is * {@link String } * */ public void setLastName(String value) { this.lastName = value; } /** * Gets the value of the listPage property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getListPage() { return listPage; } /** * Sets the value of the listPage property. * * @param value * allowed object is * {@link BigInteger } * */ public void setListPage(BigInteger value) { this.listPage = value; } /** * Gets the value of the listType property. * * @return * possible object is * {@link String } * */ public String getListType() { return listType; } /** * Sets the value of the listType property. * * @param value * allowed object is * {@link String } * */ public void setListType(String value) { this.listType = 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 responseGroup 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 responseGroup property. * * <p> * For example, to add a new item, do as follows: * <pre> * getResponseGroup().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getResponseGroup() { if (responseGroup == null) { responseGroup = new ArrayList<String>(); } return this.responseGroup; } /** * Gets the value of the state property. * * @return * possible object is * {@link String } * */ public String getState() { return state; } /** * Sets the value of the state property. * * @param value * allowed object is * {@link String } * */ public void setState(String value) { this.state = value; } }