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 org.apache.juddi.datatype.KeyedReference;
19 import org.apache.juddi.datatype.RegistryObject;
20
21 /***
22 * @author Steve Viens (sviens@apache.org)
23 */
24 public class AssertionStatusItem implements RegistryObject
25 {
26 CompletionStatus completionStatus;
27 String fromKey;
28 String toKey;
29 KeyedReference keyedRef;
30 KeysOwned keysOwned;
31
32 /***
33 * default constructor
34 */
35 public AssertionStatusItem()
36 {
37 }
38
39 /***
40 *
41 */
42 public void setCompletionStatus(CompletionStatus status)
43 {
44 this.completionStatus = status;
45 }
46
47 /***
48 *
49 */
50 public void setCompletionStatus(String status)
51 {
52 if (status != null)
53 this.completionStatus = new CompletionStatus(status);
54 else
55 this.completionStatus = null;
56 }
57
58 /***
59 *
60 */
61 public CompletionStatus getCompletionStatus()
62 {
63 return this.completionStatus;
64 }
65
66 /***
67 *
68 */
69 public void setFromKey(String keyValue)
70 {
71 this.fromKey = keyValue;
72 }
73
74 /***
75 *
76 */
77 public String getFromKey()
78 {
79 return this.fromKey;
80 }
81
82 /***
83 *
84 */
85 public void setToKey(String keyValue)
86 {
87 this.toKey = keyValue;
88 }
89
90 /***
91 *
92 */
93 public String getToKey()
94 {
95 return this.toKey;
96 }
97
98 /***
99 *
100 */
101 public void setKeyedReference(KeyedReference keyedRef)
102 {
103 this.keyedRef = keyedRef;
104 }
105
106 /***
107 *
108 */
109 public KeyedReference getKeyedReference()
110 {
111 return this.keyedRef;
112 }
113
114 /***
115 *
116 */
117 public void setKeysOwned(KeysOwned keys)
118 {
119 this.keysOwned = keys;
120 }
121
122 /***
123 *
124 */
125 public KeysOwned getKeysOwned()
126 {
127 return this.keysOwned;
128 }
129 }