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