1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.juddi.datatype.response;
17
18 import java.util.Vector;
19
20 import org.apache.juddi.datatype.RegistryObject;
21
22 /***
23 * @author Steve Viens (sviens@apache.org)
24 */
25 public class AssertionStatusReport implements RegistryObject
26 {
27
28 public static final String STATUS_COMPLETE = "status:complete";
29 public static final String STATUS_TO_KEY_INCOMPLETE = "status:toKey_incomplete";
30 public static final String STATUS_FROM_KEY_INCOMPLETE = "status:fromKey_incomplete";
31
32 String generic;
33 String operator;
34 Vector itemVector;
35
36 /***
37 * default constructor
38 */
39 public AssertionStatusReport()
40 {
41 }
42
43 /***
44 *
45 * @param genericValue
46 */
47 public void setGeneric(String genericValue)
48 {
49 this.generic = genericValue;
50 }
51
52 /***
53 *
54 * @return String UDDI response generic value.
55 */
56 public String getGeneric()
57 {
58 return this.generic;
59 }
60
61 /***
62 *
63 */
64 public void setOperator(String operator)
65 {
66 this.operator = operator;
67 }
68
69 /***
70 *
71 */
72 public String getOperator()
73 {
74 return this.operator;
75 }
76
77 /***
78 *
79 */
80 public Vector getAssertionStatusItemVector()
81 {
82 return this.itemVector;
83 }
84
85 /***
86 *
87 */
88 public void addAssertionStatusItem(AssertionStatusItem item)
89 {
90 if (this.itemVector == null)
91 this.itemVector = new Vector();
92 this.itemVector.add(item);
93 }
94
95 /***
96 *
97 */
98 public void setAssertionStatusItemVector(Vector items)
99 {
100 this.itemVector = items;
101 }
102 }