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.business.BusinessEntityExt;
22
23 /***
24 * "This structure allows UDDI compatible registries to define and share
25 * extended information about a businessEntity. Operator Sites support
26 * this message but return no additional data. This structure contains
27 * zero or more businessEntityExt structures. It is returned in response
28 * to a get_businessDetailExt message.
29 *
30 * @author Steve Viens (sviens@apache.org)
31 */
32 public class BusinessDetailExt implements RegistryObject
33 {
34 String generic;
35 String operator;
36 boolean truncated;
37 Vector extVector;
38
39 /***
40 *
41 */
42 public BusinessDetailExt()
43 {
44 }
45
46 /***
47 *
48 * @param genericValue
49 */
50 public void setGeneric(String genericValue)
51 {
52 this.generic = genericValue;
53 }
54
55 /***
56 *
57 * @return String UDDI generic value.
58 */
59 public String getGeneric()
60 {
61 return this.generic;
62 }
63
64 /***
65 *
66 */
67 public void setOperator(String operator)
68 {
69 this.operator = operator;
70 }
71
72 /***
73 *
74 */
75 public String getOperator()
76 {
77 return this.operator;
78 }
79
80 /***
81 *
82 */
83 public boolean isTruncated()
84 {
85 return truncated;
86 }
87
88 /***
89 *
90 */
91 public void setTruncated(boolean val)
92 {
93 truncated = val;
94 }
95
96 /***
97 *
98 */
99 public void addBusinessEntityExt(BusinessEntityExt businessExt)
100 {
101 if (this.extVector == null)
102 this.extVector = new Vector();
103 this.extVector.add(businessExt);
104 }
105
106 /***
107 *
108 */
109 public Vector getBusinessEntityExtVector()
110 {
111 return this.extVector;
112 }
113
114 /***
115 *
116 */
117 public void setBusinessEntityExtVector(Vector businessExts)
118 {
119 this.extVector = businessExts;
120 }
121 }