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