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