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 BusinessKey implements RegistryObject
22 {
23 String keyValue;
24
25 /***
26 * Construct a new initialized businessKey instance.
27 */
28 public BusinessKey()
29 {
30 }
31
32 /***
33 * Construct a new BusinessKey with a given key value.
34 *
35 * @param keyValue The BusinessKey of the new key value.
36 */
37 public BusinessKey(String keyValue)
38 {
39 setValue(keyValue);
40 }
41
42 /***
43 * Sets the value of this BusinessKey to the new key value.
44 *
45 * @param newValue The new key value for this BusinessKey.
46 */
47 public void setValue(String newValue)
48 {
49 this.keyValue = newValue;
50 }
51
52 /***
53 * Returns the key value of this BusinessKey.
54 *
55 * @return The key value of this BusinessKey.
56 */
57 public String getValue()
58 {
59 return this.keyValue;
60 }
61 }