1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.juddi.datatype;
17
18 /***
19 * @author Steve Viens (sviens@apache.org)
20 */
21 public class ServiceKey implements RegistryObject
22 {
23 String keyValue;
24
25 /***
26 * Construct a new initialized serviceKey instance.
27 */
28 public ServiceKey()
29 {
30 }
31
32 /***
33 * Construct a new ServiceKey with a given key value.
34 *
35 * @param keyValue The ServiceKey of the new key value.
36 */
37 public ServiceKey(String keyValue)
38 {
39 setValue(keyValue);
40 }
41
42 /***
43 * Sets the value of this ServiceKey to the new key value.
44 *
45 * @param newValue The new key value for this ServiceKey.
46 */
47 public void setValue(String newValue)
48 {
49 this.keyValue = newValue;
50 }
51
52 /***
53 * Returns the key value of this ServiceKey.
54 *
55 * @return The key value of this ServiceKey.
56 */
57 public String getValue()
58 {
59 return this.keyValue;
60 }
61 }