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 get_authToken complex type.
27 *
28 * <p>The following schema fragment specifies the expected content contained within this class.
29 *
30 * <pre>
31 * <complexType name="get_authToken">
32 * <complexContent>
33 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 * <attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
35 * <attribute name="userID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
36 * <attribute name="cred" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
37 * </restriction>
38 * </complexContent>
39 * </complexType>
40 * </pre>
41 *
42 *
43 */
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "get_authToken")
46 public class GetAuthToken {
47
48 @XmlAttribute(name = "generic", required = true)
49 protected String generic="2.0";
50 @XmlAttribute(name = "userID", required = true)
51 protected String userID;
52 @XmlAttribute(name = "cred", required = true)
53 protected String cred;
54
55 /**
56 * Gets the value of the generic property.
57 *
58 * @return
59 * possible object is
60 * {@link String }
61 *
62 */
63 public String getGeneric() {
64 return generic;
65 }
66
67 /**
68 * Sets the value of the generic property.
69 *
70 * @param value
71 * allowed object is
72 * {@link String }
73 *
74 */
75 public void setGeneric(String value) {
76 this.generic = value;
77 }
78
79 /**
80 * Gets the value of the userID property.
81 *
82 * @return
83 * possible object is
84 * {@link String }
85 *
86 */
87 public String getUserID() {
88 return userID;
89 }
90
91 /**
92 * Sets the value of the userID property.
93 *
94 * @param value
95 * allowed object is
96 * {@link String }
97 *
98 */
99 public void setUserID(String value) {
100 this.userID = value;
101 }
102
103 /**
104 * Gets the value of the cred property.
105 *
106 * @return
107 * possible object is
108 * {@link String }
109 *
110 */
111 public String getCred() {
112 return cred;
113 }
114
115 /**
116 * Sets the value of the cred property.
117 *
118 * @param value
119 * allowed object is
120 * {@link String }
121 *
122 */
123 public void setCred(String value) {
124 this.cred = value;
125 }
126
127 }