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