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 java.util.Vector;
19
20 import org.apache.juddi.datatype.RegistryObject;
21 import org.apache.juddi.datatype.tmodel.TModel;
22
23 /***
24 * "This structure contains full details for zero or more tModel structures.
25 * It is returned in response to a get_tModelDetail message, and optionally
26 * in response to the save_tModel message."
27 *
28 * @author Steve Viens (sviens@apache.org)
29 */
30 public class TModelDetail implements RegistryObject
31 {
32
33
34
35
36
37
38
39 String generic;
40 String operator;
41 boolean truncated;
42 Vector tModelVector;
43
44 /***
45 * default constructor
46 */
47 public TModelDetail()
48 {
49 }
50
51 /***
52 *
53 * @param genericValue
54 */
55 public void setGeneric(String genericValue)
56 {
57 this.generic = genericValue;
58 }
59
60 /***
61 *
62 * @return String UDDI generic value.
63 */
64 public String getGeneric()
65 {
66 return this.generic;
67 }
68
69 /***
70 *
71 */
72 public void setOperator(String operator)
73 {
74 this.operator = operator;
75 }
76
77 /***
78 *
79 */
80 public String getOperator()
81 {
82 return this.operator;
83 }
84
85 /***
86 *
87 */
88 public boolean isTruncated()
89 {
90 return this.truncated;
91 }
92
93 /***
94 *
95 */
96 public void setTruncated(boolean val)
97 {
98 this.truncated = val;
99 }
100
101 /***
102 *
103 */
104 public void addTModel(TModel tModel)
105 {
106 if (this.tModelVector == null)
107 this.tModelVector = new Vector();
108 this.tModelVector.add(tModel);
109 }
110
111 /***
112 *
113 */
114 public Vector getTModelVector()
115 {
116 return this.tModelVector;
117 }
118
119 /***
120 *
121 */
122 public void setTModelVector(Vector tModels)
123 {
124 this.tModelVector = tModels;
125 }
126 }