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 29 public class GetTModelDetail implements RegistryObject,Inquiry 30 { 31 String generic; 32 Vector tModelKeyVector; 33 34 37 public GetTModelDetail() 38 { 39 } 40 41 45 public void setGeneric(String genericValue) 46 { 47 this.generic = genericValue; 48 } 49 50 54 public String getGeneric() 55 { 56 return this.generic; 57 } 58 59 62 public Vector getTModelKeyVector() 63 { 64 return this.tModelKeyVector; 65 } 66 67 72 public void addTModelKey(TModelKey key) 73 { 74 if ((key != null) && (key.getValue() != null)) 75 addTModelKey(key.getValue()); 76 } 77 78 83 public void addTModelKey(String key) 84 { 85 if (tModelKeyVector == null) 86 tModelKeyVector = new Vector (); 87 tModelKeyVector.add(key); 88 } 89 90 95 public void setTModelKeyVector(Vector keys) 96 { 97 this.tModelKeyVector = keys; 98 } 99 } | Popular Tags |