KickJava   Java API By Example, From Geeks To Geeks.

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


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 DimensionBind.
26  *
27  * @version $Revision$ $Date$
28  */

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

36     /**
37      * Field _sourceDimensionName
38      */

39     private java.lang.String JavaDoc _sourceDimensionName;
40
41     /**
42      * Field _targetFilterName
43      */

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

49     private java.lang.String JavaDoc _targetParameterName;
50
51
52       //----------------/
53
//- Constructors -/
54
//----------------/
55

56     public DimensionBind() {
57         super();
58     } //-- com.calipso.reportgenerator.reportdefinitions.DimensionBind()
59

60
61       //-----------/
62
//- Methods -/
63
//-----------/
64

65     /**
66      * Method getSourceDimensionNameReturns the value of field
67      * 'sourceDimensionName'.
68      *
69      * @return the value of field 'sourceDimensionName'.
70      */

71     public java.lang.String JavaDoc getSourceDimensionName()
72     {
73         return this._sourceDimensionName;
74     } //-- java.lang.String getSourceDimensionName()
75

76     /**
77      * Method getTargetFilterNameReturns the value of field
78      * 'targetFilterName'.
79      *
80      * @return the value of field 'targetFilterName'.
81      */

82     public java.lang.String JavaDoc getTargetFilterName()
83     {
84         return this._targetFilterName;
85     } //-- java.lang.String getTargetFilterName()
86

87     /**
88      * Method getTargetParameterNameReturns the value of field
89      * 'targetParameterName'.
90      *
91      * @return the value of field 'targetParameterName'.
92      */

93     public java.lang.String JavaDoc getTargetParameterName()
94     {
95         return this._targetParameterName;
96     } //-- java.lang.String getTargetParameterName()
97

98     /**
99      * Method isValid
100      */

101     public boolean isValid()
102     {
103         try {
104             validate();
105         }
106         catch (org.exolab.castor.xml.ValidationException vex) {
107             return false;
108         }
109         return true;
110     } //-- boolean isValid()
111

112     /**
113      * Method marshal
114      *
115      * @param out
116      */

117     public void marshal(java.io.Writer JavaDoc out)
118         throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
119     {
120         
121         Marshaller.marshal(this, out);
122     } //-- void marshal(java.io.Writer)
123

124     /**
125      * Method marshal
126      *
127      * @param handler
128      */

129     public void marshal(org.xml.sax.ContentHandler JavaDoc handler)
130         throws java.io.IOException JavaDoc, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
131     {
132         
133         Marshaller.marshal(this, handler);
134     } //-- void marshal(org.xml.sax.ContentHandler)
135

136     /**
137      * Method setSourceDimensionNameSets the value of field
138      * 'sourceDimensionName'.
139      *
140      * @param sourceDimensionName the value of field
141      * 'sourceDimensionName'.
142      */

143     public void setSourceDimensionName(java.lang.String JavaDoc sourceDimensionName)
144     {
145         this._sourceDimensionName = sourceDimensionName;
146     } //-- void setSourceDimensionName(java.lang.String)
147

148     /**
149      * Method setTargetFilterNameSets the value of field
150      * 'targetFilterName'.
151      *
152      * @param targetFilterName the value of field 'targetFilterName'
153      */

154     public void setTargetFilterName(java.lang.String JavaDoc targetFilterName)
155     {
156         this._targetFilterName = targetFilterName;
157     } //-- void setTargetFilterName(java.lang.String)
158

159     /**
160      * Method setTargetParameterNameSets the value of field
161      * 'targetParameterName'.
162      *
163      * @param targetParameterName the value of field
164      * 'targetParameterName'.
165      */

166     public void setTargetParameterName(java.lang.String JavaDoc targetParameterName)
167     {
168         this._targetParameterName = targetParameterName;
169     } //-- void setTargetParameterName(java.lang.String)
170

171     /**
172      * Method unmarshal
173      *
174      * @param reader
175      */

176     public static com.calipso.reportgenerator.reportdefinitions.DimensionBind unmarshal(java.io.Reader JavaDoc reader)
177         throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
178     {
179         return (com.calipso.reportgenerator.reportdefinitions.DimensionBind) Unmarshaller.unmarshal(com.calipso.reportgenerator.reportdefinitions.DimensionBind.class, reader);
180     } //-- com.calipso.reportgenerator.reportdefinitions.DimensionBind unmarshal(java.io.Reader)
181

182     /**
183      * Method validate
184      */

185     public void validate()
186         throws org.exolab.castor.xml.ValidationException
187     {
188         org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
189         validator.validate(this);
190     } //-- void validate()
191

192 }
193
Popular Tags