1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 /***
24 * @author Steve Viens (sviens@apache.org)
25 */
26 public class AddPublisherAssertions implements RegistryObject,Publish
27 {
28 String generic;
29 AuthInfo authInfo;
30 Vector publisherAssertionVector;
31
32 /***
33 *
34 */
35 public AddPublisherAssertions()
36 {
37 }
38
39 /***
40 *
41 */
42 public AddPublisherAssertions(AuthInfo authInfo,Vector assertions)
43 {
44 this.authInfo = authInfo;
45 this.publisherAssertionVector = assertions;
46 }
47
48 /***
49 *
50 * @param genericValue
51 */
52 public void setGeneric(String genericValue)
53 {
54 this.generic = genericValue;
55 }
56
57 /***
58 *
59 * @return String UDDI request's generic value.
60 */
61 public String getGeneric()
62 {
63 return this.generic;
64 }
65
66 /***
67 *
68 */
69 public void setAuthInfo(AuthInfo authInfo)
70 {
71 this.authInfo = authInfo;
72 }
73
74 /***
75 *
76 */
77 public AuthInfo getAuthInfo()
78 {
79 return this.authInfo;
80 }
81
82 /***
83 *
84 */
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 /***
93 *
94 */
95 public void setPublisherAssertionVector(Vector assertions)
96 {
97 this.publisherAssertionVector = assertions;
98 }
99
100 /***
101 *
102 */
103 public Vector getPublisherAssertionVector()
104 {
105 return this.publisherAssertionVector;
106 }
107 }