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