1 16 package org.apache.juddi.datatype.request; 17 18 import java.util.Vector ; 19 20 import org.apache.juddi.datatype.RegistryObject; 21 import org.apache.juddi.datatype.binding.BindingTemplate; 22 23 30 public class SaveBinding implements RegistryObject,Publish 31 { 32 String generic; 33 AuthInfo authInfo; 34 Vector bindingTemplateVector; 35 36 39 public SaveBinding() 40 { 41 } 42 43 46 public SaveBinding(AuthInfo authInfo,Vector bindingTemplates) 47 { 48 this.authInfo = authInfo; 49 this.bindingTemplateVector = bindingTemplates; 50 } 51 52 56 public void setGeneric(String genericValue) 57 { 58 this.generic = genericValue; 59 } 60 61 65 public String getGeneric() 66 { 67 return this.generic; 68 } 69 70 73 public void setAuthInfo(AuthInfo authInfo) 74 { 75 this.authInfo = authInfo; 76 } 77 78 81 public AuthInfo getAuthInfo() 82 { 83 return authInfo; 84 } 85 86 89 public void addBindingTemplate(BindingTemplate bindingTemplate) 90 { 91 if (this.bindingTemplateVector == null) 92 this.bindingTemplateVector = new Vector (); 93 this.bindingTemplateVector.add(bindingTemplate); 94 } 95 96 99 public void setBindingTemplateVector(Vector bindingTemplates) 100 { 101 this.bindingTemplateVector = bindingTemplates; 102 } 103 104 107 public Vector getBindingTemplateVector() 108 { 109 return bindingTemplateVector; 110 } 111 } | Popular Tags |