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 org.apache.juddi.datatype.RegistryObject;
19
20 /***
21 * "This structure contains abbreviated information about registered
22 * tModel information. This message contains zero or more tModelInfo
23 * structures. It is returned in response to a find_tModel message."
24 * "This data is suitable for finding candidate tModels, populating lists of
25 * results, and then providing drill-down features that rely on the get_xxDetail
26 * messages.
27 *
28 * @author Steve Viens (sviens@apache.org)
29 */
30 public class TModelList implements RegistryObject
31 {
32 String generic;
33 String operator;
34 boolean truncated;
35 TModelInfos tModelInfos;
36
37 /***
38 * Constructor, creates empty BindingTemplates list.
39 */
40 public TModelList()
41 {
42 }
43
44 /***
45 *
46 * @param genericValue
47 */
48 public void setGeneric(String genericValue)
49 {
50 this.generic = genericValue;
51 }
52
53 /***
54 *
55 * @return String UDDI generic value.
56 */
57 public String getGeneric()
58 {
59 return this.generic;
60 }
61
62 /***
63 *
64 */
65 public void setOperator(String operator)
66 {
67 this.operator = operator;
68 }
69
70 /***
71 *
72 */
73 public String getOperator()
74 {
75 return this.operator;
76 }
77
78 /***
79 *
80 */
81 public boolean isTruncated()
82 {
83 return this.truncated;
84 }
85
86 /***
87 *
88 */
89 public void setTruncated(boolean val)
90 {
91 this.truncated = val;
92 }
93
94 /***
95 *
96 */
97 public void addTModelInfo(TModelInfo info)
98 {
99
100 if (info == null)
101 return;
102
103 if (this.tModelInfos == null)
104 this.tModelInfos = new TModelInfos();
105 this.tModelInfos.addTModelInfo(info);
106 }
107
108 /***
109 *
110 */
111 public void setTModelInfos(TModelInfos infos)
112 {
113 this.tModelInfos = infos;
114 }
115
116 /***
117 *
118 */
119 public TModelInfos getTModelInfos()
120 {
121 return this.tModelInfos;
122 }
123 }