KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openejb > alt > config > ejb11 > EjbJar


1 /*
2  * This class was automatically generated with
3  * <a HREF="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
4  * Schema.
5  * $Id: EjbJar.java 1104 2004-03-31 00:44:02Z dblevins $
6  */

7
8 package org.openejb.alt.config.ejb11;
9
10   //---------------------------------/
11
//- Imported classes and packages -/
12
//---------------------------------/
13

14 import java.io.IOException JavaDoc;
15 import java.io.Reader JavaDoc;
16 import java.io.Serializable JavaDoc;
17 import java.io.Writer JavaDoc;
18 import org.exolab.castor.xml.MarshalException;
19 import org.exolab.castor.xml.Marshaller;
20 import org.exolab.castor.xml.Unmarshaller;
21 import org.exolab.castor.xml.ValidationException;
22 import org.xml.sax.ContentHandler JavaDoc;
23
24 /**
25  * Class EjbJar.
26  *
27  * @version $Revision: 1104 $ $Date: 2004-03-30 16:44:02 -0800 (Tue, 30 Mar 2004) $
28  */

29 public class EjbJar implements java.io.Serializable JavaDoc {
30
31
32       //--------------------------/
33
//- Class/Member Variables -/
34
//--------------------------/
35

36     /**
37      * Field _id
38      */

39     private java.lang.String JavaDoc _id;
40
41     /**
42      * Field _description
43      */

44     private java.lang.String JavaDoc _description;
45
46     /**
47      * Field _displayName
48      */

49     private java.lang.String JavaDoc _displayName;
50
51     /**
52      * Field _smallIcon
53      */

54     private java.lang.String JavaDoc _smallIcon;
55
56     /**
57      * Field _largeIcon
58      */

59     private java.lang.String JavaDoc _largeIcon;
60
61     /**
62      * Field _enterpriseBeans
63      */

64     private org.openejb.alt.config.ejb11.EnterpriseBeans _enterpriseBeans;
65
66     /**
67      * Field _assemblyDescriptor
68      */

69     private org.openejb.alt.config.ejb11.AssemblyDescriptor _assemblyDescriptor;
70
71     /**
72      * Field _ejbClientJar
73      */

74     private java.lang.String JavaDoc _ejbClientJar;
75
76
77       //----------------/
78
//- Constructors -/
79
//----------------/
80

81     public EjbJar() {
82         super();
83     } //-- org.openejb.alt.config.ejb11.EjbJar()
84

85
86       //-----------/
87
//- Methods -/
88
//-----------/
89

90     /**
91      * Returns the value of field 'assemblyDescriptor'.
92      *
93      * @return the value of field 'assemblyDescriptor'.
94      */

95     public org.openejb.alt.config.ejb11.AssemblyDescriptor getAssemblyDescriptor()
96     {
97         return this._assemblyDescriptor;
98     } //-- org.openejb.alt.config.ejb11.AssemblyDescriptor getAssemblyDescriptor()
99

100     /**
101      * Returns the value of field 'description'.
102      *
103      * @return the value of field 'description'.
104      */

105     public java.lang.String JavaDoc getDescription()
106     {
107         return this._description;
108     } //-- java.lang.String getDescription()
109

110     /**
111      * Returns the value of field 'displayName'.
112      *
113      * @return the value of field 'displayName'.
114      */

115     public java.lang.String JavaDoc getDisplayName()
116     {
117         return this._displayName;
118     } //-- java.lang.String getDisplayName()
119

120     /**
121      * Returns the value of field 'ejbClientJar'.
122      *
123      * @return the value of field 'ejbClientJar'.
124      */

125     public java.lang.String JavaDoc getEjbClientJar()
126     {
127         return this._ejbClientJar;
128     } //-- java.lang.String getEjbClientJar()
129

130     /**
131      * Returns the value of field 'enterpriseBeans'.
132      *
133      * @return the value of field 'enterpriseBeans'.
134      */

135     public org.openejb.alt.config.ejb11.EnterpriseBeans getEnterpriseBeans()
136     {
137         return this._enterpriseBeans;
138     } //-- org.openejb.alt.config.ejb11.EnterpriseBeans getEnterpriseBeans()
139

140     /**
141      * Returns the value of field 'id'.
142      *
143      * @return the value of field 'id'.
144      */

145     public java.lang.String JavaDoc getId()
146     {
147         return this._id;
148     } //-- java.lang.String getId()
149

150     /**
151      * Returns the value of field 'largeIcon'.
152      *
153      * @return the value of field 'largeIcon'.
154      */

155     public java.lang.String JavaDoc getLargeIcon()
156     {
157         return this._largeIcon;
158     } //-- java.lang.String getLargeIcon()
159

160     /**
161      * Returns the value of field 'smallIcon'.
162      *
163      * @return the value of field 'smallIcon'.
164      */

165     public java.lang.String JavaDoc getSmallIcon()
166     {
167         return this._smallIcon;
168     } //-- java.lang.String getSmallIcon()
169

170     /**
171      * Method isValid
172      */

173     public boolean isValid()
174     {
175         try {
176             validate();
177         }
178         catch (org.exolab.castor.xml.ValidationException vex) {
179             return false;
180         }
181         return true;
182     } //-- boolean isValid()
183

184     /**
185      * Method marshal
186      *
187      * @param out
188      */

189     public void marshal(java.io.Writer JavaDoc out)
190         throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
191     {
192         
193         Marshaller.marshal(this, out);
194     } //-- void marshal(java.io.Writer)
195

196     /**
197      * Method marshal
198      *
199      * @param handler
200      */

201     public void marshal(org.xml.sax.ContentHandler JavaDoc handler)
202         throws java.io.IOException JavaDoc, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
203     {
204         
205         Marshaller.marshal(this, handler);
206     } //-- void marshal(org.xml.sax.ContentHandler)
207

208     /**
209      * Sets the value of field 'assemblyDescriptor'.
210      *
211      * @param assemblyDescriptor the value of field
212      * 'assemblyDescriptor'.
213      */

214     public void setAssemblyDescriptor(org.openejb.alt.config.ejb11.AssemblyDescriptor assemblyDescriptor)
215     {
216         this._assemblyDescriptor = assemblyDescriptor;
217     } //-- void setAssemblyDescriptor(org.openejb.alt.config.ejb11.AssemblyDescriptor)
218

219     /**
220      * Sets the value of field 'description'.
221      *
222      * @param description the value of field 'description'.
223      */

224     public void setDescription(java.lang.String JavaDoc description)
225     {
226         this._description = description;
227     } //-- void setDescription(java.lang.String)
228

229     /**
230      * Sets the value of field 'displayName'.
231      *
232      * @param displayName the value of field 'displayName'.
233      */

234     public void setDisplayName(java.lang.String JavaDoc displayName)
235     {
236         this._displayName = displayName;
237     } //-- void setDisplayName(java.lang.String)
238

239     /**
240      * Sets the value of field 'ejbClientJar'.
241      *
242      * @param ejbClientJar the value of field 'ejbClientJar'.
243      */

244     public void setEjbClientJar(java.lang.String JavaDoc ejbClientJar)
245     {
246         this._ejbClientJar = ejbClientJar;
247     } //-- void setEjbClientJar(java.lang.String)
248

249     /**
250      * Sets the value of field 'enterpriseBeans'.
251      *
252      * @param enterpriseBeans the value of field 'enterpriseBeans'.
253      */

254     public void setEnterpriseBeans(org.openejb.alt.config.ejb11.EnterpriseBeans enterpriseBeans)
255     {
256         this._enterpriseBeans = enterpriseBeans;
257     } //-- void setEnterpriseBeans(org.openejb.alt.config.ejb11.EnterpriseBeans)
258

259     /**
260      * Sets the value of field 'id'.
261      *
262      * @param id the value of field 'id'.
263      */

264     public void setId(java.lang.String JavaDoc id)
265     {
266         this._id = id;
267     } //-- void setId(java.lang.String)
268

269     /**
270      * Sets the value of field 'largeIcon'.
271      *
272      * @param largeIcon the value of field 'largeIcon'.
273      */

274     public void setLargeIcon(java.lang.String JavaDoc largeIcon)
275     {
276         this._largeIcon = largeIcon;
277     } //-- void setLargeIcon(java.lang.String)
278

279     /**
280      * Sets the value of field 'smallIcon'.
281      *
282      * @param smallIcon the value of field 'smallIcon'.
283      */

284     public void setSmallIcon(java.lang.String JavaDoc smallIcon)
285     {
286         this._smallIcon = smallIcon;
287     } //-- void setSmallIcon(java.lang.String)
288

289     /**
290      * Method unmarshal
291      *
292      * @param reader
293      */

294     public static java.lang.Object JavaDoc unmarshal(java.io.Reader JavaDoc reader)
295         throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
296     {
297         return (org.openejb.alt.config.ejb11.EjbJar) Unmarshaller.unmarshal(org.openejb.alt.config.ejb11.EjbJar.class, reader);
298     } //-- java.lang.Object unmarshal(java.io.Reader)
299

300     /**
301      * Method validate
302      */

303     public void validate()
304         throws org.exolab.castor.xml.ValidationException
305     {
306         org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
307         validator.validate(this);
308     } //-- void validate()
309

310 }
311
Popular Tags