This project has retired. For details please refer to its Attic page.
Phone xref
View Javadoc
1   /*
2    * Copyright 2001-2008 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  package org.uddi.api_v2;
18  
19  import javax.xml.bind.annotation.XmlAccessType;
20  import javax.xml.bind.annotation.XmlAccessorType;
21  import javax.xml.bind.annotation.XmlAttribute;
22  import javax.xml.bind.annotation.XmlType;
23  import javax.xml.bind.annotation.XmlValue;
24  
25  
26  /**
27   * <p>Java class for phone complex type.
28   * 
29   * <p>The following schema fragment specifies the expected content contained within this class.
30   * 
31   * <pre>
32   * &lt;complexType name="phone">
33   *   &lt;simpleContent>
34   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
35   *       &lt;attribute name="useType" type="{http://www.w3.org/2001/XMLSchema}string" />
36   *     &lt;/extension>
37   *   &lt;/simpleContent>
38   * &lt;/complexType>
39   * </pre>
40   * 
41   * 
42   */
43  @XmlAccessorType(XmlAccessType.FIELD)
44  @XmlType(name = "phone", propOrder = {
45      "value"
46  })
47  public class Phone {
48  
49      @XmlValue
50      protected String value;
51      @XmlAttribute(name = "useType")
52      protected String useType;
53  
54      /**
55       * Gets the value of the value property.
56       * 
57       * @return
58       *     possible object is
59       *     {@link String }
60       *     
61       */
62      public String getValue() {
63          return value;
64      }
65  
66      /**
67       * Sets the value of the value property.
68       * 
69       * @param value
70       *     allowed object is
71       *     {@link String }
72       *     
73       */
74      public void setValue(String value) {
75          this.value = value;
76      }
77  
78      /**
79       * Gets the value of the useType property.
80       * 
81       * @return
82       *     possible object is
83       *     {@link String }
84       *     
85       */
86      public String getUseType() {
87          return useType;
88      }
89  
90      /**
91       * Sets the value of the useType property.
92       * 
93       * @param value
94       *     allowed object is
95       *     {@link String }
96       *     
97       */
98      public void setUseType(String value) {
99          this.useType = value;
100     }
101 
102 }