KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > juddi > datatype > response > AssertionStatusItem


1 /*
2  * Copyright 2001-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
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 JavaDoc fromKey;
28   String JavaDoc 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 JavaDoc 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 JavaDoc keyValue)
70   {
71     this.fromKey = keyValue;
72   }
73
74   /**
75    *
76    */

77   public String JavaDoc getFromKey()
78   {
79     return this.fromKey;
80   }
81
82   /**
83    *
84    */

85   public void setToKey(String JavaDoc keyValue)
86   {
87     this.toKey = keyValue;
88   }
89
90   /**
91    *
92    */

93   public String JavaDoc 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 }
Popular Tags