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_service complex type. 23 * 24 * <p>The following schema fragment specifies the expected content contained within this class. 25 * 26 * <pre> 27 * <complexType name="save_service"> 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}businessService" maxOccurs="unbounded"/> 33 * </sequence> 34 * <attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 35 * </restriction> 36 * </complexContent> 37 * </complexType> 38 * </pre> 39 * 40 * 41 */ 42 @XmlAccessorType(XmlAccessType.FIELD) 43 @XmlType(name = "save_service", propOrder = { 44 "authInfo", 45 "businessService" 46 }) 47 public class SaveService { 48 49 @XmlElement(required = true) 50 protected String authInfo; 51 @XmlElement(required = true) 52 protected List<BusinessService> businessService; 53 @XmlAttribute(required = true) 54 protected String generic; 55 56 /** 57 * Gets the value of the authInfo property. 58 * 59 * @return 60 * possible object is 61 * {@link String } 62 * 63 */ 64 public String getAuthInfo() { 65 return authInfo; 66 } 67 68 /** 69 * Sets the value of the authInfo property. 70 * 71 * @param value 72 * allowed object is 73 * {@link String } 74 * 75 */ 76 public void setAuthInfo(String value) { 77 this.authInfo = value; 78 } 79 80 /** 81 * Gets the value of the businessService property. 82 * 83 * <p> 84 * This accessor method returns a reference to the live list, 85 * not a snapshot. Therefore any modification you make to the 86 * returned list will be present inside the JAXB object. 87 * This is why there is not a <CODE>set</CODE> method for the businessService property. 88 * 89 * <p> 90 * For example, to add a new item, do as follows: 91 * <pre> 92 * getBusinessService().add(newItem); 93 * </pre> 94 * 95 * 96 * <p> 97 * Objects of the following type(s) are allowed in the list 98 * {@link BusinessService } 99 * 100 * 101 */ 102 public List<BusinessService> getBusinessService() { 103 if (businessService == null) { 104 businessService = new ArrayList<BusinessService>(); 105 } 106 return this.businessService; 107 } 108 109 /** 110 * Gets the value of the generic property. 111 * 112 * @return 113 * possible object is 114 * {@link String } 115 * 116 */ 117 public String getGeneric() { 118 return generic; 119 } 120 121 /** 122 * Sets the value of the generic property. 123 * 124 * @param value 125 * allowed object is 126 * {@link String } 127 * 128 */ 129 public void setGeneric(String value) { 130 this.generic = value; 131 } 132 133 }