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.binding.BindingTemplate; 22 23 31 public class BindingDetail implements RegistryObject 32 { 33 String generic; 34 String operator; 35 boolean truncated; 36 Vector bindingVector; 37 38 41 public BindingDetail() 42 { 43 } 44 45 49 public void setGeneric(String genericValue) 50 { 51 this.generic = genericValue; 52 } 53 54 58 public String getGeneric() 59 { 60 return this.generic; 61 } 62 63 66 public void setOperator(String operator) 67 { 68 this.operator = operator; 69 } 70 71 74 public String getOperator() 75 { 76 return this.operator; 77 } 78 79 82 public boolean isTruncated() 83 { 84 return truncated; 85 } 86 87 90 public void setTruncated(boolean val) 91 { 92 this.truncated = val; 93 } 94 95 98 public void addBindingTemplate(BindingTemplate template) 99 { 100 if (this.bindingVector == null) 101 this.bindingVector = new Vector (); 102 this.bindingVector.add(template); 103 } 104 105 108 public void setBindingTemplateVector(Vector templates) 109 { 110 this.bindingVector = templates; 111 } 112 113 116 public Vector getBindingTemplateVector() 117 { 118 return this.bindingVector; 119 } 120 } | Popular Tags |