1 16 package org.apache.juddi.datatype.response; 17 18 import java.util.Vector ; 19 20 import org.apache.juddi.datatype.RegistryObject; 21 import org.apache.juddi.datatype.service.BusinessService; 22 23 34 public class ServiceDetail implements RegistryObject 35 { 36 String generic; 37 String operator; 38 boolean truncated; 39 Vector serviceVector; 40 41 44 public ServiceDetail() 45 { 46 } 47 48 52 public void setGeneric(String genericValue) 53 { 54 this.generic = genericValue; 55 } 56 57 61 public String getGeneric() 62 { 63 return this.generic; 64 } 65 66 69 public void setOperator(String operator) 70 { 71 this.operator = operator; 72 } 73 74 77 public String getOperator() 78 { 79 return this.operator; 80 } 81 82 85 public boolean isTruncated() 86 { 87 return this.truncated; 88 } 89 90 93 public void setTruncated(boolean val) 94 { 95 this.truncated = val; 96 } 97 98 101 public void addBusinessService(BusinessService service) 102 { 103 if (this.serviceVector == null) 104 this.serviceVector = new Vector (); 105 this.serviceVector.add(service); 106 } 107 108 111 public void setBusinessServiceVector(Vector services) 112 { 113 this.serviceVector = services; 114 } 115 116 119 public Vector getBusinessServiceVector() 120 { 121 return this.serviceVector; 122 } 123 } | Popular Tags |