1 16 package org.apache.juddi.datatype.request; 17 18 import java.util.Vector ; 19 20 import org.apache.juddi.datatype.RegistryObject; 21 import org.apache.juddi.datatype.TModelKey; 22 23 35 public class DeleteTModel implements RegistryObject,Publish 36 { 37 String generic; 38 AuthInfo authInfo; 39 Vector tModelKeyVector; 40 41 44 public DeleteTModel() 45 { 46 } 47 48 51 public DeleteTModel(AuthInfo authInfo,String tModelKey) 52 { 53 setAuthInfo(authInfo); 54 addTModelKey(tModelKey); 55 } 56 57 60 public DeleteTModel(AuthInfo authInfo,Vector tModelKeys) 61 { 62 setAuthInfo(authInfo); 63 setTModelKeyVector(tModelKeys); 64 } 65 66 69 public void addTModelKey(TModelKey tModelKey) 70 { 71 if ((tModelKey != null) && (tModelKey.getValue() != null)) 72 addTModelKey(tModelKey.getValue()); 73 } 74 75 79 public void setGeneric(String genericValue) 80 { 81 this.generic = genericValue; 82 } 83 84 88 public String getGeneric() 89 { 90 return this.generic; 91 } 92 93 96 public void addTModelKey(String tModelKey) 97 { 98 if (this.tModelKeyVector == null) 99 this.tModelKeyVector = new Vector (); 100 this.tModelKeyVector.add(tModelKey); 101 } 102 103 106 public void setTModelKeyVector(Vector tModelKeys) 107 { 108 this.tModelKeyVector = tModelKeys; 109 } 110 111 114 public Vector getTModelKeyVector() 115 { 116 return this.tModelKeyVector; 117 } 118 119 122 public void setAuthInfo(AuthInfo authInfo) 123 { 124 this.authInfo = authInfo; 125 } 126 127 130 public AuthInfo getAuthInfo() 131 { 132 return authInfo; 133 } 134 } | Popular Tags |