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 GetBusinessDetail implements RegistryObject,Inquiry 30 { 31 String generic; 32 Vector businessKeyVector; 33 34 37 public GetBusinessDetail() 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 86 public Vector getBusinessKeyVector() 87 { 88 return this.businessKeyVector; 89 } 90 91 96 public void setBusinessKeyVector(Vector keys) 97 { 98 this.businessKeyVector = keys; 99 } 100 } | Popular Tags |