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 find_binding complex type. 28 * 29 * <p>The following schema fragment specifies the expected content contained within this class. 30 * 31 * <pre> 32 * <complexType name="find_binding"> 33 * <complexContent> 34 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 35 * <sequence> 36 * <element ref="{urn:uddi-org:api_v2}findQualifiers" minOccurs="0"/> 37 * <element ref="{urn:uddi-org:api_v2}tModelBag"/> 38 * </sequence> 39 * <attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 40 * <attribute name="maxRows" type="{http://www.w3.org/2001/XMLSchema}int" /> 41 * <attribute name="serviceKey" use="required" type="{urn:uddi-org:api_v2}serviceKey" /> 42 * </restriction> 43 * </complexContent> 44 * </complexType> 45 * </pre> 46 * 47 * 48 */ 49 @XmlAccessorType(XmlAccessType.FIELD) 50 @XmlType(name = "find_binding", propOrder = { 51 "findQualifiers", 52 "tModelBag" 53 }) 54 public class FindBinding { 55 56 protected FindQualifiers findQualifiers; 57 @XmlElement(required = true) 58 protected TModelBag tModelBag; 59 @XmlAttribute(name = "generic", required = true) 60 protected String generic="2.0"; 61 @XmlAttribute(name = "maxRows") 62 protected Integer maxRows; 63 @XmlAttribute(name = "serviceKey", required = true) 64 protected String serviceKey; 65 66 /** 67 * Gets the value of the findQualifiers property. 68 * 69 * @return 70 * possible object is 71 * {@link FindQualifiers } 72 * 73 */ 74 public FindQualifiers getFindQualifiers() { 75 return findQualifiers; 76 } 77 78 /** 79 * Sets the value of the findQualifiers property. 80 * 81 * @param value 82 * allowed object is 83 * {@link FindQualifiers } 84 * 85 */ 86 public void setFindQualifiers(FindQualifiers value) { 87 this.findQualifiers = value; 88 } 89 90 /** 91 * Gets the value of the tModelBag property. 92 * 93 * @return 94 * possible object is 95 * {@link TModelBag } 96 * 97 */ 98 public TModelBag getTModelBag() { 99 return tModelBag; 100 } 101 102 /** 103 * Sets the value of the tModelBag property. 104 * 105 * @param value 106 * allowed object is 107 * {@link TModelBag } 108 * 109 */ 110 public void setTModelBag(TModelBag value) { 111 this.tModelBag = value; 112 } 113 114 /** 115 * Gets the value of the generic property. 116 * 117 * @return 118 * possible object is 119 * {@link String } 120 * 121 */ 122 public String getGeneric() { 123 return generic; 124 } 125 126 /** 127 * Sets the value of the generic property. 128 * 129 * @param value 130 * allowed object is 131 * {@link String } 132 * 133 */ 134 public void setGeneric(String value) { 135 this.generic = value; 136 } 137 138 /** 139 * Gets the value of the maxRows property. 140 * 141 * @return 142 * possible object is 143 * {@link Integer } 144 * 145 */ 146 public Integer getMaxRows() { 147 return maxRows; 148 } 149 150 /** 151 * Sets the value of the maxRows property. 152 * 153 * @param value 154 * allowed object is 155 * {@link Integer } 156 * 157 */ 158 public void setMaxRows(Integer value) { 159 this.maxRows = value; 160 } 161 162 /** 163 * Gets the value of the serviceKey property. 164 * 165 * @return 166 * possible object is 167 * {@link String } 168 * 169 */ 170 public String getServiceKey() { 171 return serviceKey; 172 } 173 174 /** 175 * Sets the value of the serviceKey property. 176 * 177 * @param value 178 * allowed object is 179 * {@link String } 180 * 181 */ 182 public void setServiceKey(String value) { 183 this.serviceKey = value; 184 } 185 186 }