Source Code Cross Referenced for MetricSourceDefinition.java in  » Report » jmagallanes-1.0 » com » calipso » reportgenerator » reportdefinitions » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » jmagallanes 1.0 » com.calipso.reportgenerator.reportdefinitions 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * This class was automatically generated with 
003:         * <a href="http://www.castor.org">Castor 0.9.4.3</a>, using an XML
004:         * Schema.
005:         * $Id$
006:         */
007:
008:        package com.calipso.reportgenerator.reportdefinitions;
009:
010:        //---------------------------------/
011:        //- Imported classes and packages -/
012:        //---------------------------------/
013:
014:        import com.calipso.reportgenerator.reportdefinitions.types.CalculationType;
015:        import java.io.IOException;
016:        import java.io.Reader;
017:        import java.io.Serializable;
018:        import java.io.Writer;
019:        import org.exolab.castor.xml.MarshalException;
020:        import org.exolab.castor.xml.Marshaller;
021:        import org.exolab.castor.xml.Unmarshaller;
022:        import org.exolab.castor.xml.ValidationException;
023:        import org.xml.sax.ContentHandler;
024:
025:        /**
026:         * Class MetricSourceDefinition.
027:         * 
028:         * @version $Revision$ $Date$
029:         */
030:        public class MetricSourceDefinition implements  java.io.Serializable {
031:
032:            //--------------------------/
033:            //- Class/Member Variables -/
034:            //--------------------------/
035:
036:            /**
037:             * Field _name
038:             */
039:            private java.lang.String _name;
040:
041:            /**
042:             * Field _description
043:             */
044:            private java.lang.String _description;
045:
046:            /**
047:             * Field _aggregateType
048:             */
049:            private com.calipso.reportgenerator.reportdefinitions.types.CalculationType _aggregateType;
050:
051:            /**
052:             * Field _groupFooterType
053:             */
054:            private com.calipso.reportgenerator.reportdefinitions.types.CalculationType _groupFooterType;
055:
056:            /**
057:             * Field _calculated
058:             */
059:            private boolean _calculated;
060:
061:            /**
062:             * keeps track of state for field: _calculated
063:             */
064:            private boolean _has_calculated;
065:
066:            /**
067:             * Field _aggregateFunction
068:             */
069:            private java.lang.String _aggregateFunction;
070:
071:            /**
072:             * Field _groupFooterFunction
073:             */
074:            private java.lang.String _groupFooterFunction;
075:
076:            /**
077:             * Field _externalData
078:             */
079:            private java.lang.String _externalData;
080:
081:            /**
082:             * Field _externalCalculated
083:             */
084:            private boolean _externalCalculated;
085:
086:            /**
087:             * keeps track of state for field: _externalCalculated
088:             */
089:            private boolean _has_externalCalculated;
090:
091:            //----------------/
092:            //- Constructors -/
093:            //----------------/
094:
095:            public MetricSourceDefinition() {
096:                super ();
097:            } //-- com.calipso.reportgenerator.reportdefinitions.MetricSourceDefinition()
098:
099:            //-----------/
100:            //- Methods -/
101:            //-----------/
102:
103:            /**
104:             * Method deleteCalculated
105:             */
106:            public void deleteCalculated() {
107:                this ._has_calculated = false;
108:            } //-- void deleteCalculated() 
109:
110:            /**
111:             * Method deleteExternalCalculated
112:             */
113:            public void deleteExternalCalculated() {
114:                this ._has_externalCalculated = false;
115:            } //-- void deleteExternalCalculated() 
116:
117:            /**
118:             * Method getAggregateFunctionReturns the value of field
119:             * 'aggregateFunction'.
120:             * 
121:             * @return the value of field 'aggregateFunction'.
122:             */
123:            public java.lang.String getAggregateFunction() {
124:                return this ._aggregateFunction;
125:            } //-- java.lang.String getAggregateFunction() 
126:
127:            /**
128:             * Method getAggregateTypeReturns the value of field
129:             * 'aggregateType'.
130:             * 
131:             * @return the value of field 'aggregateType'.
132:             */
133:            public com.calipso.reportgenerator.reportdefinitions.types.CalculationType getAggregateType() {
134:                return this ._aggregateType;
135:            } //-- com.calipso.reportgenerator.reportdefinitions.types.CalculationType getAggregateType() 
136:
137:            /**
138:             * Method getCalculatedReturns the value of field 'calculated'.
139:             * 
140:             * @return the value of field 'calculated'.
141:             */
142:            public boolean getCalculated() {
143:                return this ._calculated;
144:            } //-- boolean getCalculated() 
145:
146:            /**
147:             * Method getDescriptionReturns the value of field
148:             * 'description'.
149:             * 
150:             * @return the value of field 'description'.
151:             */
152:            public java.lang.String getDescription() {
153:                return this ._description;
154:            } //-- java.lang.String getDescription() 
155:
156:            /**
157:             * Method getExternalCalculatedReturns the value of field
158:             * 'externalCalculated'.
159:             * 
160:             * @return the value of field 'externalCalculated'.
161:             */
162:            public boolean getExternalCalculated() {
163:                return this ._externalCalculated;
164:            } //-- boolean getExternalCalculated() 
165:
166:            /**
167:             * Method getExternalDataReturns the value of field
168:             * 'externalData'.
169:             * 
170:             * @return the value of field 'externalData'.
171:             */
172:            public java.lang.String getExternalData() {
173:                return this ._externalData;
174:            } //-- java.lang.String getExternalData() 
175:
176:            /**
177:             * Method getGroupFooterFunctionReturns the value of field
178:             * 'groupFooterFunction'.
179:             * 
180:             * @return the value of field 'groupFooterFunction'.
181:             */
182:            public java.lang.String getGroupFooterFunction() {
183:                return this ._groupFooterFunction;
184:            } //-- java.lang.String getGroupFooterFunction() 
185:
186:            /**
187:             * Method getGroupFooterTypeReturns the value of field
188:             * 'groupFooterType'.
189:             * 
190:             * @return the value of field 'groupFooterType'.
191:             */
192:            public com.calipso.reportgenerator.reportdefinitions.types.CalculationType getGroupFooterType() {
193:                return this ._groupFooterType;
194:            } //-- com.calipso.reportgenerator.reportdefinitions.types.CalculationType getGroupFooterType() 
195:
196:            /**
197:             * Method getNameReturns the value of field 'name'.
198:             * 
199:             * @return the value of field 'name'.
200:             */
201:            public java.lang.String getName() {
202:                return this ._name;
203:            } //-- java.lang.String getName() 
204:
205:            /**
206:             * Method hasCalculated
207:             */
208:            public boolean hasCalculated() {
209:                return this ._has_calculated;
210:            } //-- boolean hasCalculated() 
211:
212:            /**
213:             * Method hasExternalCalculated
214:             */
215:            public boolean hasExternalCalculated() {
216:                return this ._has_externalCalculated;
217:            } //-- boolean hasExternalCalculated() 
218:
219:            /**
220:             * Method isValid
221:             */
222:            public boolean isValid() {
223:                try {
224:                    validate();
225:                } catch (org.exolab.castor.xml.ValidationException vex) {
226:                    return false;
227:                }
228:                return true;
229:            } //-- boolean isValid() 
230:
231:            /**
232:             * Method marshal
233:             * 
234:             * @param out
235:             */
236:            public void marshal(java.io.Writer out)
237:                    throws org.exolab.castor.xml.MarshalException,
238:                    org.exolab.castor.xml.ValidationException {
239:
240:                Marshaller.marshal(this , out);
241:            } //-- void marshal(java.io.Writer) 
242:
243:            /**
244:             * Method marshal
245:             * 
246:             * @param handler
247:             */
248:            public void marshal(org.xml.sax.ContentHandler handler)
249:                    throws java.io.IOException,
250:                    org.exolab.castor.xml.MarshalException,
251:                    org.exolab.castor.xml.ValidationException {
252:
253:                Marshaller.marshal(this , handler);
254:            } //-- void marshal(org.xml.sax.ContentHandler) 
255:
256:            /**
257:             * Method setAggregateFunctionSets the value of field
258:             * 'aggregateFunction'.
259:             * 
260:             * @param aggregateFunction the value of field
261:             * 'aggregateFunction'.
262:             */
263:            public void setAggregateFunction(java.lang.String aggregateFunction) {
264:                this ._aggregateFunction = aggregateFunction;
265:            } //-- void setAggregateFunction(java.lang.String) 
266:
267:            /**
268:             * Method setAggregateTypeSets the value of field
269:             * 'aggregateType'.
270:             * 
271:             * @param aggregateType the value of field 'aggregateType'.
272:             */
273:            public void setAggregateType(
274:                    com.calipso.reportgenerator.reportdefinitions.types.CalculationType aggregateType) {
275:                this ._aggregateType = aggregateType;
276:            } //-- void setAggregateType(com.calipso.reportgenerator.reportdefinitions.types.CalculationType) 
277:
278:            /**
279:             * Method setCalculatedSets the value of field 'calculated'.
280:             * 
281:             * @param calculated the value of field 'calculated'.
282:             */
283:            public void setCalculated(boolean calculated) {
284:                this ._calculated = calculated;
285:                this ._has_calculated = true;
286:            } //-- void setCalculated(boolean) 
287:
288:            /**
289:             * Method setDescriptionSets the value of field 'description'.
290:             * 
291:             * @param description the value of field 'description'.
292:             */
293:            public void setDescription(java.lang.String description) {
294:                this ._description = description;
295:            } //-- void setDescription(java.lang.String) 
296:
297:            /**
298:             * Method setExternalCalculatedSets the value of field
299:             * 'externalCalculated'.
300:             * 
301:             * @param externalCalculated the value of field
302:             * 'externalCalculated'.
303:             */
304:            public void setExternalCalculated(boolean externalCalculated) {
305:                this ._externalCalculated = externalCalculated;
306:                this ._has_externalCalculated = true;
307:            } //-- void setExternalCalculated(boolean) 
308:
309:            /**
310:             * Method setExternalDataSets the value of field
311:             * 'externalData'.
312:             * 
313:             * @param externalData the value of field 'externalData'.
314:             */
315:            public void setExternalData(java.lang.String externalData) {
316:                this ._externalData = externalData;
317:            } //-- void setExternalData(java.lang.String) 
318:
319:            /**
320:             * Method setGroupFooterFunctionSets the value of field
321:             * 'groupFooterFunction'.
322:             * 
323:             * @param groupFooterFunction the value of field
324:             * 'groupFooterFunction'.
325:             */
326:            public void setGroupFooterFunction(
327:                    java.lang.String groupFooterFunction) {
328:                this ._groupFooterFunction = groupFooterFunction;
329:            } //-- void setGroupFooterFunction(java.lang.String) 
330:
331:            /**
332:             * Method setGroupFooterTypeSets the value of field
333:             * 'groupFooterType'.
334:             * 
335:             * @param groupFooterType the value of field 'groupFooterType'.
336:             */
337:            public void setGroupFooterType(
338:                    com.calipso.reportgenerator.reportdefinitions.types.CalculationType groupFooterType) {
339:                this ._groupFooterType = groupFooterType;
340:            } //-- void setGroupFooterType(com.calipso.reportgenerator.reportdefinitions.types.CalculationType) 
341:
342:            /**
343:             * Method setNameSets the value of field 'name'.
344:             * 
345:             * @param name the value of field 'name'.
346:             */
347:            public void setName(java.lang.String name) {
348:                this ._name = name;
349:            } //-- void setName(java.lang.String) 
350:
351:            /**
352:             * Method unmarshal
353:             * 
354:             * @param reader
355:             */
356:            public static com.calipso.reportgenerator.reportdefinitions.MetricSourceDefinition unmarshal(
357:                    java.io.Reader reader)
358:                    throws org.exolab.castor.xml.MarshalException,
359:                    org.exolab.castor.xml.ValidationException {
360:                return (com.calipso.reportgenerator.reportdefinitions.MetricSourceDefinition) Unmarshaller
361:                        .unmarshal(
362:                                com.calipso.reportgenerator.reportdefinitions.MetricSourceDefinition.class,
363:                                reader);
364:            } //-- com.calipso.reportgenerator.reportdefinitions.MetricSourceDefinition unmarshal(java.io.Reader) 
365:
366:            /**
367:             * Method validate
368:             */
369:            public void validate()
370:                    throws org.exolab.castor.xml.ValidationException {
371:                org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
372:                validator.validate(this );
373:            } //-- void validate() 
374:
375:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.