View Javadoc

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