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 message contains zero or more publisherInfo structures.
22 * It is returned in response to a find_publisher message."
23 *
24 * @author Steve Viens (sviens@apache.org)
25 */
26 public class PublisherList implements RegistryObject
27 {
28 String generic;
29 String operator;
30 boolean truncated;
31 PublisherInfos publisherInfos;
32
33 /***
34 * default constructor, creates empty BindingTemplates list.
35 */
36 public PublisherList()
37 {
38 }
39
40 /***
41 *
42 * @param genericValue
43 */
44 public void setGeneric(String genericValue)
45 {
46 this.generic = genericValue;
47 }
48
49 /***
50 *
51 * @return String generic value.
52 */
53 public String getGeneric()
54 {
55 return this.generic;
56 }
57
58 /***
59 *
60 */
61 public void setOperator(String operator)
62 {
63 this.operator = operator;
64 }
65
66 /***
67 *
68 */
69 public String getOperator()
70 {
71 return this.operator;
72 }
73
74 /***
75 *
76 */
77 public boolean isTruncated()
78 {
79 return this.truncated;
80 }
81
82 /***
83 *
84 */
85 public void setTruncated(boolean val)
86 {
87 this.truncated = val;
88 }
89
90 /***
91 *
92 */
93 public void addPublisherInfo(PublisherInfo info)
94 {
95
96 if (info == null)
97 return;
98
99 if (this.publisherInfos == null)
100 this.publisherInfos = new PublisherInfos();
101 this.publisherInfos.addPublisherInfo(info);
102 }
103
104 /***
105 *
106 */
107 public void setPublisherInfos(PublisherInfos infos)
108 {
109 this.publisherInfos = infos;
110 }
111
112 /***
113 *
114 */
115 public PublisherInfos getPublisherInfos()
116 {
117 return this.publisherInfos;
118 }
119 }