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.XmlType; 18 19 20 /** 21 * <p>Java class for serviceDetail complex type. 22 * 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 25 * <pre> 26 * <complexType name="serviceDetail"> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element ref="{urn:uddi-org:api_v2}businessService" maxOccurs="unbounded" minOccurs="0"/> 31 * </sequence> 32 * <attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 33 * <attribute name="operator" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 34 * <attribute name="truncated" type="{urn:uddi-org:api_v2}truncated" /> 35 * </restriction> 36 * </complexContent> 37 * </complexType> 38 * </pre> 39 * 40 * 41 */ 42 @XmlAccessorType(XmlAccessType.FIELD) 43 @XmlType(name = "serviceDetail", propOrder = { 44 "businessService" 45 }) 46 public class ServiceDetail { 47 48 protected List<BusinessService> businessService; 49 @XmlAttribute(required = true) 50 protected String generic; 51 @XmlAttribute(required = true) 52 protected String operator; 53 @XmlAttribute 54 protected Truncated truncated; 55 56 /** 57 * Gets the value of the businessService property. 58 * 59 * <p> 60 * This accessor method returns a reference to the live list, 61 * not a snapshot. Therefore any modification you make to the 62 * returned list will be present inside the JAXB object. 63 * This is why there is not a <CODE>set</CODE> method for the businessService property. 64 * 65 * <p> 66 * For example, to add a new item, do as follows: 67 * <pre> 68 * getBusinessService().add(newItem); 69 * </pre> 70 * 71 * 72 * <p> 73 * Objects of the following type(s) are allowed in the list 74 * {@link BusinessService } 75 * 76 * 77 */ 78 public List<BusinessService> getBusinessService() { 79 if (businessService == null) { 80 businessService = new ArrayList<BusinessService>(); 81 } 82 return this.businessService; 83 } 84 85 /** 86 * Gets the value of the generic property. 87 * 88 * @return 89 * possible object is 90 * {@link String } 91 * 92 */ 93 public String getGeneric() { 94 return generic; 95 } 96 97 /** 98 * Sets the value of the generic property. 99 * 100 * @param value 101 * allowed object is 102 * {@link String } 103 * 104 */ 105 public void setGeneric(String value) { 106 this.generic = value; 107 } 108 109 /** 110 * Gets the value of the operator property. 111 * 112 * @return 113 * possible object is 114 * {@link String } 115 * 116 */ 117 public String getOperator() { 118 return operator; 119 } 120 121 /** 122 * Sets the value of the operator property. 123 * 124 * @param value 125 * allowed object is 126 * {@link String } 127 * 128 */ 129 public void setOperator(String value) { 130 this.operator = value; 131 } 132 133 /** 134 * Gets the value of the truncated property. 135 * 136 * @return 137 * possible object is 138 * {@link Truncated } 139 * 140 */ 141 public Truncated getTruncated() { 142 return truncated; 143 } 144 145 /** 146 * Sets the value of the truncated property. 147 * 148 * @param value 149 * allowed object is 150 * {@link Truncated } 151 * 152 */ 153 public void setTruncated(Truncated value) { 154 this.truncated = value; 155 } 156 157 }