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 * "The set_publisherAssertions API call is used to manage all of the
25 * tracked relationship assertions associated with an individual
26 * publisher account. See the appendix on relationship assertions for
27 * more information."
28 *
29 * - from UDDI Version 2 Programmers API Specification, pg. 52
30 *
31 * @author Steve Viens (sviens@apache.org)
32 */
33 public class SetPublisherAssertions implements RegistryObject,Publish
34 {
35 String generic;
36 AuthInfo authInfo;
37 Vector publisherAssertionVector;
38
39 /***
40 *
41 */
42 public SetPublisherAssertions()
43 {
44 }
45
46 /***
47 *
48 */
49 public SetPublisherAssertions(AuthInfo authInfo,Vector assertions)
50 {
51 this.authInfo = authInfo;
52 this.publisherAssertionVector = assertions;
53 }
54
55 /***
56 *
57 * @param genericValue
58 */
59 public void setGeneric(String genericValue)
60 {
61 this.generic = genericValue;
62 }
63
64 /***
65 *
66 * @return String UDDI request's generic value.
67 */
68 public String getGeneric()
69 {
70 return this.generic;
71 }
72
73 /***
74 *
75 */
76 public void setAuthInfo(AuthInfo authInfo)
77 {
78 this.authInfo = authInfo;
79 }
80
81 /***
82 *
83 */
84 public AuthInfo getAuthInfo()
85 {
86 return this.authInfo;
87 }
88
89 /***
90 *
91 */
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 /***
100 *
101 */
102 public void setPublisherAssertionVector(Vector assertions)
103 {
104 this.publisherAssertionVector = assertions;
105 }
106
107 /***
108 *
109 */
110 public Vector getPublisherAssertionVector()
111 {
112 return this.publisherAssertionVector;
113 }
114 }