KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > reportdefinitions > ParameterBind


1 /*
2  * This class was automatically generated with
3  * <a HREF="http://www.castor.org">Castor 0.9.4.3</a>, using an XML
4  * Schema.
5  * $Id$
6  */

7
8 package com.calipso.reportgenerator.reportdefinitions;
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 ParameterBind.
26  *
27  * @version $Revision$ $Date$
28  */

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

36     /**
37      * Field _sourceFilterName
38      */

39     private java.lang.String JavaDoc _sourceFilterName;
40
41     /**
42      * Field _sourceParameterName
43      */

44     private java.lang.String JavaDoc _sourceParameterName;
45
46     /**
47      * Field _targetFilterName
48      */

49     private java.lang.String JavaDoc _targetFilterName;
50
51     /**
52      * Field _targetParameterName
53      */

54     private java.lang.String JavaDoc _targetParameterName;
55
56
57       //----------------/
58
//- Constructors -/
59
//----------------/
60

61     public ParameterBind() {
62         super();
63     } //-- com.calipso.reportgenerator.reportdefinitions.ParameterBind()
64

65
66       //-----------/
67
//- Methods -/
68
//-----------/
69

70     /**
71      * Method getSourceFilterNameReturns the value of field
72      * 'sourceFilterName'.
73      *
74      * @return the value of field 'sourceFilterName'.
75      */

76     public java.lang.String JavaDoc getSourceFilterName()
77     {
78         return this._sourceFilterName;
79     } //-- java.lang.String getSourceFilterName()
80

81     /**
82      * Method getSourceParameterNameReturns the value of field
83      * 'sourceParameterName'.
84      *
85      * @return the value of field 'sourceParameterName'.
86      */

87     public java.lang.String JavaDoc getSourceParameterName()
88     {
89         return this._sourceParameterName;
90     } //-- java.lang.String getSourceParameterName()
91

92     /**
93      * Method getTargetFilterNameReturns the value of field
94      * 'targetFilterName'.
95      *
96      * @return the value of field 'targetFilterName'.
97      */

98     public java.lang.String JavaDoc getTargetFilterName()
99     {
100         return this._targetFilterName;
101     } //-- java.lang.String getTargetFilterName()
102

103     /**
104      * Method getTargetParameterNameReturns the value of field
105      * 'targetParameterName'.
106      *
107      * @return the value of field 'targetParameterName'.
108      */

109     public java.lang.String JavaDoc getTargetParameterName()
110     {
111         return this._targetParameterName;
112     } //-- java.lang.String getTargetParameterName()
113

114     /**
115      * Method isValid
116      */

117     public boolean isValid()
118     {
119         try {
120             validate();
121         }
122         catch (org.exolab.castor.xml.ValidationException vex) {
123             return false;
124         }
125         return true;
126     } //-- boolean isValid()
127

128     /**
129      * Method marshal
130      *
131      * @param out
132      */

133     public void marshal(java.io.Writer JavaDoc out)
134         throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
135     {
136         
137         Marshaller.marshal(this, out);
138     } //-- void marshal(java.io.Writer)
139

140     /**
141      * Method marshal
142      *
143      * @param handler
144      */

145     public void marshal(org.xml.sax.ContentHandler JavaDoc handler)
146         throws java.io.IOException JavaDoc, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
147     {
148         
149         Marshaller.marshal(this, handler);
150     } //-- void marshal(org.xml.sax.ContentHandler)
151

152     /**
153      * Method setSourceFilterNameSets the value of field
154      * 'sourceFilterName'.
155      *
156      * @param sourceFilterName the value of field 'sourceFilterName'
157      */

158     public void setSourceFilterName(java.lang.String JavaDoc sourceFilterName)
159     {
160         this._sourceFilterName = sourceFilterName;
161     } //-- void setSourceFilterName(java.lang.String)
162

163     /**
164      * Method setSourceParameterNameSets the value of field
165      * 'sourceParameterName'.
166      *
167      * @param sourceParameterName the value of field
168      * 'sourceParameterName'.
169      */

170     public void setSourceParameterName(java.lang.String JavaDoc sourceParameterName)
171     {
172         this._sourceParameterName = sourceParameterName;
173     } //-- void setSourceParameterName(java.lang.String)
174

175     /**
176      * Method setTargetFilterNameSets the value of field
177      * 'targetFilterName'.
178      *
179      * @param targetFilterName the value of field 'targetFilterName'
180      */

181     public void setTargetFilterName(java.lang.String JavaDoc targetFilterName)
182     {
183         this._targetFilterName = targetFilterName;
184     } //-- void setTargetFilterName(java.lang.String)
185

186     /**
187      * Method setTargetParameterNameSets the value of field
188      * 'targetParameterName'.
189      *
190      * @param targetParameterName the value of field
191      * 'targetParameterName'.
192      */

193     public void setTargetParameterName(java.lang.String JavaDoc targetParameterName)
194     {
195         this._targetParameterName = targetParameterName;
196     } //-- void setTargetParameterName(java.lang.String)
197

198     /**
199      * Method unmarshal
200      *
201      * @param reader
202      */

203     public static com.calipso.reportgenerator.reportdefinitions.ParameterBind unmarshal(java.io.Reader JavaDoc reader)
204         throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
205     {
206         return (com.calipso.reportgenerator.reportdefinitions.ParameterBind) Unmarshaller.unmarshal(com.calipso.reportgenerator.reportdefinitions.ParameterBind.class, reader);
207     } //-- com.calipso.reportgenerator.reportdefinitions.ParameterBind unmarshal(java.io.Reader)
208

209     /**
210      * Method validate
211      */

212     public void validate()
213         throws org.exolab.castor.xml.ValidationException
214     {
215         org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
216         validator.validate(this);
217     } //-- void validate()
218

219 }
220
Popular Tags