This project has retired. For details please refer to its Attic page.
Name 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 name complex type.
28   * 
29   * <p>The following schema fragment specifies the expected content contained within this class.
30   * 
31   * <pre>
32   * &lt;complexType name="name">
33   *   &lt;simpleContent>
34   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
35   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
36   *     &lt;/extension>
37   *   &lt;/simpleContent>
38   * &lt;/complexType>
39   * </pre>
40   * 
41   * 
42   */
43  @XmlAccessorType(XmlAccessType.FIELD)
44  @XmlType(name = "name", propOrder = {
45      "value"
46  })
47  public class Name {
48  
49          public Name(){}
50          public Name(String val, String lan){
51                  this.lang=lan;
52                  this.value=val;
53          }
54      @XmlValue
55      protected String value;
56      @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
57      protected String lang;
58  
59      /**
60       * Gets the value of the value property.
61       * 
62       * @return
63       *     possible object is
64       *     {@link String }
65       *     
66       */
67      public String getValue() {
68          return value;
69      }
70  
71      /**
72       * Sets the value of the value property.
73       * 
74       * @param value
75       *     allowed object is
76       *     {@link String }
77       *     
78       */
79      public void setValue(String value) {
80          this.value = value;
81      }
82  
83      /**
84       * Gets the value of the lang property.
85       * 
86       * @return
87       *     possible object is
88       *     {@link String }
89       *     
90       */
91      public String getLang() {
92          return lang;
93      }
94  
95      /**
96       * Sets the value of the lang property.
97       * 
98       * @param value
99       *     allowed object is
100      *     {@link String }
101      *     
102      */
103     public void setLang(String value) {
104         this.lang = value;
105     }
106 
107 }