1 16 package org.apache.juddi.datatype.request; 17 18 import java.util.Vector ; 19 20 import org.apache.juddi.datatype.BusinessKey; 21 import org.apache.juddi.datatype.RegistryObject; 22 23 29 public class GetBusinessDetailExt implements RegistryObject,Inquiry 30 { 31 String generic; 32 Vector businessKeyVector; 33 34 37 public GetBusinessDetailExt() 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 64 public void addBusinessKey(BusinessKey key) 65 { 66 if ((key != null) && (key.getValue() != null)) 67 addBusinessKey(key.getValue()); 68 } 69 70 76 public void addBusinessKey(String key) 77 { 78 if (businessKeyVector == null) 79 businessKeyVector = new Vector (); 80 businessKeyVector.add(key); 81 } 82 83 88 public void setBusinessKeyVector(Vector keys) 89 { 90 this.businessKeyVector = keys; 91 } 92 93 96 public Vector getBusinessKeyVector() 97 { 98 return this.businessKeyVector; 99 } 100 } | Popular Tags |