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
18
19 package org.uddi.api_v3;
20
21 import java.io.Serializable;
22 import javax.xml.bind.annotation.XmlAccessType;
23 import javax.xml.bind.annotation.XmlAccessorType;
24 import javax.xml.bind.annotation.XmlElement;
25 import javax.xml.bind.annotation.XmlTransient;
26 import javax.xml.bind.annotation.XmlType;
27
28
29 /**
30 * <p>Java class for keysOwned complex type.
31 *
32 * <p>The following schema fragment specifies the expected content contained within this class.
33 *
34 * <pre>
35 * <complexType name="keysOwned">
36 * <complexContent>
37 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
38 * <choice>
39 * <sequence>
40 * <element ref="{urn:uddi-org:api_v3}fromKey"/>
41 * <element ref="{urn:uddi-org:api_v3}toKey" minOccurs="0"/>
42 * </sequence>
43 * <element ref="{urn:uddi-org:api_v3}toKey"/>
44 * </choice>
45 * </restriction>
46 * </complexContent>
47 * </complexType>
48 * </pre>
49 *
50 *
51 */
52 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(name = "keysOwned", propOrder = {
54 })
55 public class KeysOwned implements Serializable {
56
57 @XmlTransient
58 private static final long serialVersionUID = -6857337672894793291L;
59
60 @XmlElement(required=false)
61 protected String fromKey;
62
63 @XmlElement(required=false)
64 protected String toKey;
65
66 public String getToKey() {
67 return toKey;
68 }
69
70 public void setToKey(String toKey) {
71 this.toKey = toKey;
72 }
73
74 public String getFromKey() {
75 return fromKey;
76 }
77
78 public void setFromKey(String fromKey) {
79 this.fromKey = fromKey;
80 }
81 }