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.assertion.PublisherAssertion; 22 23 26 public class AddPublisherAssertions implements RegistryObject,Publish 27 { 28 String generic; 29 AuthInfo authInfo; 30 Vector publisherAssertionVector; 31 32 35 public AddPublisherAssertions() 36 { 37 } 38 39 42 public AddPublisherAssertions(AuthInfo authInfo,Vector assertions) 43 { 44 this.authInfo = authInfo; 45 this.publisherAssertionVector = assertions; 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 setAuthInfo(AuthInfo authInfo) 70 { 71 this.authInfo = authInfo; 72 } 73 74 77 public AuthInfo getAuthInfo() 78 { 79 return this.authInfo; 80 } 81 82 85 public void addPublisherAssertion(PublisherAssertion assertion) 86 { 87 if (this.publisherAssertionVector == null) 88 this.publisherAssertionVector = new Vector (); 89 this.publisherAssertionVector.add(assertion); 90 } 91 92 95 public void setPublisherAssertionVector(Vector assertions) 96 { 97 this.publisherAssertionVector = assertions; 98 } 99 100 103 public Vector getPublisherAssertionVector() 104 { 105 return this.publisherAssertionVector; 106 } 107 } | Popular Tags |