1 16 package org.apache.juddi.datatype.assertion; 17 18 import org.apache.juddi.datatype.KeyedReference; 19 import org.apache.juddi.datatype.RegistryObject; 20 21 34 public class PublisherAssertion implements RegistryObject 35 { 36 String fromKeyValue; 37 String toKeyValue; 38 KeyedReference keyedReference; 39 40 43 public PublisherAssertion() 44 { 45 } 46 47 50 public PublisherAssertion(String fromKey,String toKey,KeyedReference keyedRef) 51 { 52 this.fromKeyValue = fromKey; 53 this.toKeyValue = toKey; 54 this.keyedReference = keyedRef; 55 } 56 57 62 public void setFromKey(String fromKey) 63 { 64 this.fromKeyValue = fromKey; 65 } 66 67 72 public String getFromKey() 73 { 74 return fromKeyValue; 75 } 76 77 82 public void setToKey(String toKey) 83 { 84 this.toKeyValue = toKey; 85 } 86 87 92 public String getToKey() 93 { 94 return this.toKeyValue; 95 } 96 97 102 public void setKeyedReference(KeyedReference keyedRef) 103 { 104 this.keyedReference = keyedRef; 105 } 106 107 112 public KeyedReference getKeyedReference() 113 { 114 return this.keyedReference; 115 } 116 117 122 public void setTModelKey(String tModelKey) 123 { 124 if (this.keyedReference == null) 125 this.keyedReference = new KeyedReference(); 126 this.keyedReference.setTModelKey(tModelKey); 127 } 128 129 134 public void setKeyName(String keyName) 135 { 136 if (this.keyedReference == null) 137 this.keyedReference = new KeyedReference(); 138 this.keyedReference.setKeyName(keyName); 139 } 140 141 146 public void setKeyValue(String keyValue) 147 { 148 if (this.keyedReference == null) 149 this.keyedReference = new KeyedReference(); 150 this.keyedReference.setKeyValue(keyValue); 151 } 152 } | Popular Tags |