1 16 package org.apache.juddi.datatype.response; 17 18 import org.apache.juddi.datatype.RegistryObject; 19 20 28 public class ServiceList implements RegistryObject 29 { 30 String generic; 31 String operator; 32 boolean truncated; 33 ServiceInfos serviceInfos; 34 35 38 public ServiceList() 39 { 40 } 41 42 46 public void setGeneric(String genericValue) 47 { 48 this.generic = genericValue; 49 } 50 51 55 public String getGeneric() 56 { 57 return this.generic; 58 } 59 60 63 public void setOperator(String operator) 64 { 65 this.operator = operator; 66 } 67 68 71 public String getOperator() 72 { 73 return this.operator; 74 } 75 76 79 public boolean isTruncated() 80 { 81 return this.truncated; 82 } 83 84 87 public void setTruncated(boolean val) 88 { 89 this.truncated = val; 90 } 91 92 95 public void addServiceInfo(ServiceInfo info) 96 { 97 if (this.serviceInfos == null) 98 this.serviceInfos = new ServiceInfos(); 99 this.serviceInfos.addServiceInfo(info); 100 } 101 102 105 public void setServiceInfos(ServiceInfos infos) 106 { 107 this.serviceInfos = infos; 108 } 109 110 113 public ServiceInfos getServiceInfos() 114 { 115 return this.serviceInfos; 116 } 117 } | Popular Tags |