1 16 package org.apache.juddi.datatype.response; 17 18 import java.util.Vector ; 19 20 import org.apache.juddi.datatype.RegistryObject; 21 22 25 public class BusinessInfos implements RegistryObject 26 { 27 Vector businessInfoVector; 28 29 32 public BusinessInfos() 33 { 34 } 35 36 39 public BusinessInfos(int size) 40 { 41 this.businessInfoVector = new Vector (size); 42 } 43 44 47 public void addBusinessInfo(BusinessInfo info) 48 { 49 if (this.businessInfoVector == null) 50 this.businessInfoVector = new Vector (); 51 this.businessInfoVector.add(info); 52 } 53 54 57 public void setBusinessInfoVector(Vector infos) 58 { 59 this.businessInfoVector = infos; 60 } 61 62 65 public Vector getBusinessInfoVector() 66 { 67 return this.businessInfoVector; 68 } 69 } | Popular Tags |