This project has retired. For details please refer to its Attic page.
KeyedReference 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  
24  
25  /**
26   * <p>Java class for keyedReference complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType name="keyedReference">
32   *   &lt;complexContent>
33   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34   *       &lt;attribute name="tModelKey" type="{urn:uddi-org:api_v2}tModelKey" />
35   *       &lt;attribute name="keyName" type="{http://www.w3.org/2001/XMLSchema}string" />
36   *       &lt;attribute name="keyValue" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
37   *     &lt;/restriction>
38   *   &lt;/complexContent>
39   * &lt;/complexType>
40   * </pre>
41   * 
42   * 
43   */
44  @XmlAccessorType(XmlAccessType.FIELD)
45  @XmlType(name = "keyedReference")
46  public class KeyedReference {
47  public KeyedReference(){}
48  public KeyedReference(String key, String name, String val){
49          this.tModelKey=key;
50          this.keyName = name;
51          this.keyValue=val;
52  }
53      @XmlAttribute(name = "tModelKey")
54      protected String tModelKey;
55      @XmlAttribute(name = "keyName")
56      protected String keyName;
57      @XmlAttribute(name = "keyValue", required = true)
58      protected String keyValue;
59  
60      /**
61       * Gets the value of the tModelKey property.
62       * 
63       * @return
64       *     possible object is
65       *     {@link String }
66       *     
67       */
68      public String getTModelKey() {
69          return tModelKey;
70      }
71  
72      /**
73       * Sets the value of the tModelKey property.
74       * 
75       * @param value
76       *     allowed object is
77       *     {@link String }
78       *     
79       */
80      public void setTModelKey(String value) {
81          this.tModelKey = value;
82      }
83  
84      /**
85       * Gets the value of the keyName property.
86       * 
87       * @return
88       *     possible object is
89       *     {@link String }
90       *     
91       */
92      public String getKeyName() {
93          return keyName;
94      }
95  
96      /**
97       * Sets the value of the keyName property.
98       * 
99       * @param value
100      *     allowed object is
101      *     {@link String }
102      *     
103      */
104     public void setKeyName(String value) {
105         this.keyName = value;
106     }
107 
108     /**
109      * Gets the value of the keyValue property.
110      * 
111      * @return
112      *     possible object is
113      *     {@link String }
114      *     
115      */
116     public String getKeyValue() {
117         return keyValue;
118     }
119 
120     /**
121      * Sets the value of the keyValue property.
122      * 
123      * @param value
124      *     allowed object is
125      *     {@link String }
126      *     
127      */
128     public void setKeyValue(String value) {
129         this.keyValue = value;
130     }
131 
132 }