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 33 public class SetPublisherAssertions implements RegistryObject,Publish 34 { 35 String generic; 36 AuthInfo authInfo; 37 Vector publisherAssertionVector; 38 39 42 public SetPublisherAssertions() 43 { 44 } 45 46 49 public SetPublisherAssertions(AuthInfo authInfo,Vector assertions) 50 { 51 this.authInfo = authInfo; 52 this.publisherAssertionVector = assertions; 53 } 54 55 59 public void setGeneric(String genericValue) 60 { 61 this.generic = genericValue; 62 } 63 64 68 public String getGeneric() 69 { 70 return this.generic; 71 } 72 73 76 public void setAuthInfo(AuthInfo authInfo) 77 { 78 this.authInfo = authInfo; 79 } 80 81 84 public AuthInfo getAuthInfo() 85 { 86 return this.authInfo; 87 } 88 89 92 public void addPublisherAssertion(PublisherAssertion assertion) 93 { 94 if (this.publisherAssertionVector == null) 95 this.publisherAssertionVector = new Vector (); 96 this.publisherAssertionVector.add(assertion); 97 } 98 99 102 public void setPublisherAssertionVector(Vector assertions) 103 { 104 this.publisherAssertionVector = assertions; 105 } 106 107 110 public Vector getPublisherAssertionVector() 111 { 112 return this.publisherAssertionVector; 113 } 114 } | Popular Tags |