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 org.apache.juddi.datatype.RegistryObject;
19 import org.apache.juddi.datatype.response.CompletionStatus;
20
21 /***
22 * "The get_assertionStatusReport API call provides administrative support
23 * for determining the status of current and outstanding publisher
24 * assertions that involve any of the business registrations managed by
25 * the individual publisher account. Using this message, a publisher can
26 * see the status of assertions that they have made, as well as see
27 * assertions that others have made that involve businessEntity structures
28 * controlled by the calling publisher account. See Appendix J on
29 * relationships and publisher assertions for more information."
30 *
31 * @author Steve Viens (sviens@apache.org)
32 */
33 public class GetAssertionStatusReport implements RegistryObject,Publish
34 {
35 /***
36 * status:complete: passing this value will cause only the
37 * publisher assertions that are complete to be returned. Each
38 * businessEntity listed in assertions that are complete has a
39 * visible relationship that directly reflects the data in a
40 * complete assertion (as per the find_relatedBusinesses message).
41 */
42 public static final String STATUS_COMPLETE = "status:complete";
43
44 /***
45 * status:toKey_incomplete: passing this value will cause only
46 * those publisher assertions where the party who controls the
47 * businessEntity referenced by the toKey value in an assertion
48 * has not made a matching assertion to be listed.
49 */
50 public static final String STATUS_TOKEY_INCOMPLETE = "status:toKey_incomplete";
51
52 /***
53 * status:fromKey_incomplete: passing this value will cause only
54 * those publisher assertions where the party who controls the
55 * businessEntity referenced by the fromKey value in an assertion
56 * has not made a matching assertion to be listed.
57 */
58 public static final String STATUS_FROMKEY_INCOMPLETE = "status:fromKey_incomplete";
59
60 String generic;
61 AuthInfo authInfo;
62 String completionStatus;
63
64 /***
65 *
66 */
67 public GetAssertionStatusReport()
68 {
69 }
70
71 /***
72 *
73 */
74 public GetAssertionStatusReport(AuthInfo authInfo)
75 {
76 this.authInfo = authInfo;
77 }
78
79 /***
80 *
81 * @param genericValue
82 */
83 public void setGeneric(String genericValue)
84 {
85 this.generic = genericValue;
86 }
87
88 /***
89 *
90 * @return String UDDI request's generic value.
91 */
92 public String getGeneric()
93 {
94 return this.generic;
95 }
96
97 /***
98 *
99 */
100 public AuthInfo getAuthInfo()
101 {
102 return this.authInfo;
103 }
104
105 /***
106 *
107 */
108 public void setAuthInfo(AuthInfo authInfo)
109 {
110 this.authInfo = authInfo;
111 }
112
113 /***
114 *
115 */
116 public String getCompletionStatus()
117 {
118 return this.completionStatus;
119 }
120
121 /***
122 *
123 */
124 public void setCompletionStatus(String status)
125 {
126 this.completionStatus = status;
127 }
128
129 /***
130 *
131 */
132 public void setCompletionStatus(CompletionStatus status)
133 {
134 if (status != null)
135 this.completionStatus = status.getValue();
136 else
137 this.completionStatus = null;
138 }
139 }