Source Code Cross Referenced for ViewParameterValues.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 java.io.IOException;
015:        import java.io.Reader;
016:        import java.io.Serializable;
017:        import java.io.Writer;
018:        import java.util.Enumeration;
019:        import java.util.Vector;
020:        import org.exolab.castor.xml.MarshalException;
021:        import org.exolab.castor.xml.Marshaller;
022:        import org.exolab.castor.xml.Unmarshaller;
023:        import org.exolab.castor.xml.ValidationException;
024:        import org.xml.sax.ContentHandler;
025:
026:        /**
027:         * Class ViewParameterValues.
028:         * 
029:         * @version $Revision$ $Date$
030:         */
031:        public class ViewParameterValues implements  java.io.Serializable {
032:
033:            //--------------------------/
034:            //- Class/Member Variables -/
035:            //--------------------------/
036:
037:            /**
038:             * Field _viewParameterValueList
039:             */
040:            private java.util.Vector _viewParameterValueList;
041:
042:            //----------------/
043:            //- Constructors -/
044:            //----------------/
045:
046:            public ViewParameterValues() {
047:                super ();
048:                _viewParameterValueList = new Vector();
049:            } //-- com.calipso.reportgenerator.reportdefinitions.ViewParameterValues()
050:
051:            //-----------/
052:            //- Methods -/
053:            //-----------/
054:
055:            /**
056:             * Method addViewParameterValue
057:             * 
058:             * @param vViewParameterValue
059:             */
060:            public void addViewParameterValue(
061:                    com.calipso.reportgenerator.reportdefinitions.ViewParameterValue vViewParameterValue)
062:                    throws java.lang.IndexOutOfBoundsException {
063:                _viewParameterValueList.addElement(vViewParameterValue);
064:            } //-- void addViewParameterValue(com.calipso.reportgenerator.reportdefinitions.ViewParameterValue) 
065:
066:            /**
067:             * Method addViewParameterValue
068:             * 
069:             * @param index
070:             * @param vViewParameterValue
071:             */
072:            public void addViewParameterValue(
073:                    int index,
074:                    com.calipso.reportgenerator.reportdefinitions.ViewParameterValue vViewParameterValue)
075:                    throws java.lang.IndexOutOfBoundsException {
076:                _viewParameterValueList.insertElementAt(vViewParameterValue,
077:                        index);
078:            } //-- void addViewParameterValue(int, com.calipso.reportgenerator.reportdefinitions.ViewParameterValue) 
079:
080:            /**
081:             * Method enumerateViewParameterValue
082:             */
083:            public java.util.Enumeration enumerateViewParameterValue() {
084:                return _viewParameterValueList.elements();
085:            } //-- java.util.Enumeration enumerateViewParameterValue() 
086:
087:            /**
088:             * Method getViewParameterValue
089:             * 
090:             * @param index
091:             */
092:            public com.calipso.reportgenerator.reportdefinitions.ViewParameterValue getViewParameterValue(
093:                    int index) throws java.lang.IndexOutOfBoundsException {
094:                //-- check bounds for index
095:                if ((index < 0) || (index > _viewParameterValueList.size())) {
096:                    throw new IndexOutOfBoundsException();
097:                }
098:
099:                return (com.calipso.reportgenerator.reportdefinitions.ViewParameterValue) _viewParameterValueList
100:                        .elementAt(index);
101:            } //-- com.calipso.reportgenerator.reportdefinitions.ViewParameterValue getViewParameterValue(int) 
102:
103:            /**
104:             * Method getViewParameterValue
105:             */
106:            public com.calipso.reportgenerator.reportdefinitions.ViewParameterValue[] getViewParameterValue() {
107:                int size = _viewParameterValueList.size();
108:                com.calipso.reportgenerator.reportdefinitions.ViewParameterValue[] mArray = new com.calipso.reportgenerator.reportdefinitions.ViewParameterValue[size];
109:                for (int index = 0; index < size; index++) {
110:                    mArray[index] = (com.calipso.reportgenerator.reportdefinitions.ViewParameterValue) _viewParameterValueList
111:                            .elementAt(index);
112:                }
113:                return mArray;
114:            } //-- com.calipso.reportgenerator.reportdefinitions.ViewParameterValue[] getViewParameterValue() 
115:
116:            /**
117:             * Method getViewParameterValueCount
118:             */
119:            public int getViewParameterValueCount() {
120:                return _viewParameterValueList.size();
121:            } //-- int getViewParameterValueCount() 
122:
123:            /**
124:             * Method isValid
125:             */
126:            public boolean isValid() {
127:                try {
128:                    validate();
129:                } catch (org.exolab.castor.xml.ValidationException vex) {
130:                    return false;
131:                }
132:                return true;
133:            } //-- boolean isValid() 
134:
135:            /**
136:             * Method marshal
137:             * 
138:             * @param out
139:             */
140:            public void marshal(java.io.Writer out)
141:                    throws org.exolab.castor.xml.MarshalException,
142:                    org.exolab.castor.xml.ValidationException {
143:
144:                Marshaller.marshal(this , out);
145:            } //-- void marshal(java.io.Writer) 
146:
147:            /**
148:             * Method marshal
149:             * 
150:             * @param handler
151:             */
152:            public void marshal(org.xml.sax.ContentHandler handler)
153:                    throws java.io.IOException,
154:                    org.exolab.castor.xml.MarshalException,
155:                    org.exolab.castor.xml.ValidationException {
156:
157:                Marshaller.marshal(this , handler);
158:            } //-- void marshal(org.xml.sax.ContentHandler) 
159:
160:            /**
161:             * Method removeAllViewParameterValue
162:             */
163:            public void removeAllViewParameterValue() {
164:                _viewParameterValueList.removeAllElements();
165:            } //-- void removeAllViewParameterValue() 
166:
167:            /**
168:             * Method removeViewParameterValue
169:             * 
170:             * @param index
171:             */
172:            public com.calipso.reportgenerator.reportdefinitions.ViewParameterValue removeViewParameterValue(
173:                    int index) {
174:                java.lang.Object obj = _viewParameterValueList.elementAt(index);
175:                _viewParameterValueList.removeElementAt(index);
176:                return (com.calipso.reportgenerator.reportdefinitions.ViewParameterValue) obj;
177:            } //-- com.calipso.reportgenerator.reportdefinitions.ViewParameterValue removeViewParameterValue(int) 
178:
179:            /**
180:             * Method setViewParameterValue
181:             * 
182:             * @param index
183:             * @param vViewParameterValue
184:             */
185:            public void setViewParameterValue(
186:                    int index,
187:                    com.calipso.reportgenerator.reportdefinitions.ViewParameterValue vViewParameterValue)
188:                    throws java.lang.IndexOutOfBoundsException {
189:                //-- check bounds for index
190:                if ((index < 0) || (index > _viewParameterValueList.size())) {
191:                    throw new IndexOutOfBoundsException();
192:                }
193:                _viewParameterValueList
194:                        .setElementAt(vViewParameterValue, index);
195:            } //-- void setViewParameterValue(int, com.calipso.reportgenerator.reportdefinitions.ViewParameterValue) 
196:
197:            /**
198:             * Method setViewParameterValue
199:             * 
200:             * @param viewParameterValueArray
201:             */
202:            public void setViewParameterValue(
203:                    com.calipso.reportgenerator.reportdefinitions.ViewParameterValue[] viewParameterValueArray) {
204:                //-- copy array
205:                _viewParameterValueList.removeAllElements();
206:                for (int i = 0; i < viewParameterValueArray.length; i++) {
207:                    _viewParameterValueList
208:                            .addElement(viewParameterValueArray[i]);
209:                }
210:            } //-- void setViewParameterValue(com.calipso.reportgenerator.reportdefinitions.ViewParameterValue) 
211:
212:            /**
213:             * Method unmarshal
214:             * 
215:             * @param reader
216:             */
217:            public static com.calipso.reportgenerator.reportdefinitions.ViewParameterValues unmarshal(
218:                    java.io.Reader reader)
219:                    throws org.exolab.castor.xml.MarshalException,
220:                    org.exolab.castor.xml.ValidationException {
221:                return (com.calipso.reportgenerator.reportdefinitions.ViewParameterValues) Unmarshaller
222:                        .unmarshal(
223:                                com.calipso.reportgenerator.reportdefinitions.ViewParameterValues.class,
224:                                reader);
225:            } //-- com.calipso.reportgenerator.reportdefinitions.ViewParameterValues unmarshal(java.io.Reader) 
226:
227:            /**
228:             * Method validate
229:             */
230:            public void validate()
231:                    throws org.exolab.castor.xml.ValidationException {
232:                org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
233:                validator.validate(this );
234:            } //-- void validate() 
235:
236:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.