1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 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: 2009.07.19 at 09:49:41 PM CDT 6 // 7 8 9 package org.apache.ws.scout.model.uddi.v2; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 14 import javax.xml.bind.annotation.XmlAccessType; 15 import javax.xml.bind.annotation.XmlAccessorType; 16 import javax.xml.bind.annotation.XmlAttribute; 17 import javax.xml.bind.annotation.XmlElement; 18 import javax.xml.bind.annotation.XmlType; 19 20 21 /** 22 * <p>Java class for save_business complex type. 23 * 24 * <p>The following schema fragment specifies the expected content contained within this class. 25 * 26 * <pre> 27 * <complexType name="save_business"> 28 * <complexContent> 29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 30 * <sequence> 31 * <element ref="{urn:uddi-org:api_v2}authInfo"/> 32 * <element ref="{urn:uddi-org:api_v2}businessEntity" maxOccurs="unbounded" minOccurs="0"/> 33 * <element ref="{urn:uddi-org:api_v2}uploadRegister" maxOccurs="unbounded" minOccurs="0"/> 34 * </sequence> 35 * <attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 36 * </restriction> 37 * </complexContent> 38 * </complexType> 39 * </pre> 40 * 41 * 42 */ 43 @XmlAccessorType(XmlAccessType.FIELD) 44 @XmlType(name = "save_business", propOrder = { 45 "authInfo", 46 "businessEntity", 47 "uploadRegister" 48 }) 49 public class SaveBusiness { 50 51 @XmlElement(required = true) 52 protected String authInfo; 53 protected List<BusinessEntity> businessEntity; 54 protected List<String> uploadRegister; 55 @XmlAttribute(required = true) 56 protected String generic; 57 58 /** 59 * Gets the value of the authInfo property. 60 * 61 * @return 62 * possible object is 63 * {@link String } 64 * 65 */ 66 public String getAuthInfo() { 67 return authInfo; 68 } 69 70 /** 71 * Sets the value of the authInfo property. 72 * 73 * @param value 74 * allowed object is 75 * {@link String } 76 * 77 */ 78 public void setAuthInfo(String value) { 79 this.authInfo = value; 80 } 81 82 /** 83 * Gets the value of the businessEntity property. 84 * 85 * <p> 86 * This accessor method returns a reference to the live list, 87 * not a snapshot. Therefore any modification you make to the 88 * returned list will be present inside the JAXB object. 89 * This is why there is not a <CODE>set</CODE> method for the businessEntity property. 90 * 91 * <p> 92 * For example, to add a new item, do as follows: 93 * <pre> 94 * getBusinessEntity().add(newItem); 95 * </pre> 96 * 97 * 98 * <p> 99 * Objects of the following type(s) are allowed in the list 100 * {@link BusinessEntity } 101 * 102 * 103 */ 104 public List<BusinessEntity> getBusinessEntity() { 105 if (businessEntity == null) { 106 businessEntity = new ArrayList<BusinessEntity>(); 107 } 108 return this.businessEntity; 109 } 110 111 /** 112 * Gets the value of the uploadRegister property. 113 * 114 * <p> 115 * This accessor method returns a reference to the live list, 116 * not a snapshot. Therefore any modification you make to the 117 * returned list will be present inside the JAXB object. 118 * This is why there is not a <CODE>set</CODE> method for the uploadRegister property. 119 * 120 * <p> 121 * For example, to add a new item, do as follows: 122 * <pre> 123 * getUploadRegister().add(newItem); 124 * </pre> 125 * 126 * 127 * <p> 128 * Objects of the following type(s) are allowed in the list 129 * {@link String } 130 * 131 * 132 */ 133 public List<String> getUploadRegister() { 134 if (uploadRegister == null) { 135 uploadRegister = new ArrayList<String>(); 136 } 137 return this.uploadRegister; 138 } 139 140 /** 141 * Gets the value of the generic property. 142 * 143 * @return 144 * possible object is 145 * {@link String } 146 * 147 */ 148 public String getGeneric() { 149 return generic; 150 } 151 152 /** 153 * Sets the value of the generic property. 154 * 155 * @param value 156 * allowed object is 157 * {@link String } 158 * 159 */ 160 public void setGeneric(String value) { 161 this.generic = value; 162 } 163 164 }