Source Code Cross Referenced for ComponentBindingTypeChoice.java in  » Database-ORM » castor » org » exolab » castor » builder » binding » xml » 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 » Database ORM » castor » org.exolab.castor.builder.binding.xml 
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 1.1-M2</a>, using an XML
004:         * Schema.
005:         * $Id: ComponentBindingTypeChoice.java 6918 2007-04-01 17:46:35Z wguttmn $
006:         */
007:
008:        package org.exolab.castor.builder.binding.xml;
009:
010:        //---------------------------------/
011:        //- Imported classes and packages -/
012:        //---------------------------------/
013:
014:        import org.exolab.castor.xml.Marshaller;
015:        import org.exolab.castor.xml.Unmarshaller;
016:
017:        /**
018:         * Class ComponentBindingTypeChoice.
019:         * 
020:         * @version $Revision: 6918 $ $Date$
021:         */
022:        public class ComponentBindingTypeChoice implements  java.io.Serializable {
023:
024:            //--------------------------/
025:            //- Class/Member Variables -/
026:            //--------------------------/
027:
028:            /**
029:             * Field _javaClass.
030:             */
031:            private org.exolab.castor.builder.binding.xml.ClassType _javaClass;
032:
033:            /**
034:             * Field _interface.
035:             */
036:            private org.exolab.castor.builder.binding.xml.Interface _interface;
037:
038:            /**
039:             * Field _member.
040:             */
041:            private org.exolab.castor.builder.binding.xml.FieldType _member;
042:
043:            /**
044:             * Field _enumDef.
045:             */
046:            private org.exolab.castor.builder.binding.xml.EnumBindingType _enumDef;
047:
048:            /**
049:             * Field _contentMember.
050:             */
051:            private org.exolab.castor.builder.binding.xml.ContentMemberType _contentMember;
052:
053:            //----------------/
054:            //- Constructors -/
055:            //----------------/
056:
057:            public ComponentBindingTypeChoice() {
058:                super ();
059:            }
060:
061:            //-----------/
062:            //- Methods -/
063:            //-----------/
064:
065:            /**
066:             * Returns the value of field 'contentMember'.
067:             * 
068:             * @return the value of field 'ContentMember'.
069:             */
070:            public org.exolab.castor.builder.binding.xml.ContentMemberType getContentMember() {
071:                return this ._contentMember;
072:            }
073:
074:            /**
075:             * Returns the value of field 'enumDef'.
076:             * 
077:             * @return the value of field 'EnumDef'.
078:             */
079:            public org.exolab.castor.builder.binding.xml.EnumBindingType getEnumDef() {
080:                return this ._enumDef;
081:            }
082:
083:            /**
084:             * Returns the value of field 'interface'.
085:             * 
086:             * @return the value of field 'Interface'.
087:             */
088:            public org.exolab.castor.builder.binding.xml.Interface getInterface() {
089:                return this ._interface;
090:            }
091:
092:            /**
093:             * Returns the value of field 'javaClass'.
094:             * 
095:             * @return the value of field 'JavaClass'.
096:             */
097:            public org.exolab.castor.builder.binding.xml.ClassType getJavaClass() {
098:                return this ._javaClass;
099:            }
100:
101:            /**
102:             * Returns the value of field 'member'.
103:             * 
104:             * @return the value of field 'Member'.
105:             */
106:            public org.exolab.castor.builder.binding.xml.FieldType getMember() {
107:                return this ._member;
108:            }
109:
110:            /**
111:             * Method isValid.
112:             * 
113:             * @return true if this object is valid according to the schema
114:             */
115:            public boolean isValid() {
116:                try {
117:                    validate();
118:                } catch (org.exolab.castor.xml.ValidationException vex) {
119:                    return false;
120:                }
121:                return true;
122:            }
123:
124:            /**
125:             * 
126:             * 
127:             * @param out
128:             * @throws org.exolab.castor.xml.MarshalException if object is
129:             * null or if any SAXException is thrown during marshaling
130:             * @throws org.exolab.castor.xml.ValidationException if this
131:             * object is an invalid instance according to the schema
132:             */
133:            public void marshal(final java.io.Writer out)
134:                    throws org.exolab.castor.xml.MarshalException,
135:                    org.exolab.castor.xml.ValidationException {
136:                Marshaller.marshal(this , out);
137:            }
138:
139:            /**
140:             * 
141:             * 
142:             * @param handler
143:             * @throws java.io.IOException if an IOException occurs during
144:             * marshaling
145:             * @throws org.exolab.castor.xml.ValidationException if this
146:             * object is an invalid instance according to the schema
147:             * @throws org.exolab.castor.xml.MarshalException if object is
148:             * null or if any SAXException is thrown during marshaling
149:             */
150:            public void marshal(final org.xml.sax.ContentHandler handler)
151:                    throws java.io.IOException,
152:                    org.exolab.castor.xml.MarshalException,
153:                    org.exolab.castor.xml.ValidationException {
154:                Marshaller.marshal(this , handler);
155:            }
156:
157:            /**
158:             * Sets the value of field 'contentMember'.
159:             * 
160:             * @param contentMember the value of field 'contentMember'.
161:             */
162:            public void setContentMember(
163:                    final org.exolab.castor.builder.binding.xml.ContentMemberType contentMember) {
164:                this ._contentMember = contentMember;
165:            }
166:
167:            /**
168:             * Sets the value of field 'enumDef'.
169:             * 
170:             * @param enumDef the value of field 'enumDef'.
171:             */
172:            public void setEnumDef(
173:                    final org.exolab.castor.builder.binding.xml.EnumBindingType enumDef) {
174:                this ._enumDef = enumDef;
175:            }
176:
177:            /**
178:             * Sets the value of field 'interface'.
179:             * 
180:             * @param _interface
181:             * @param interface the value of field 'interface'.
182:             */
183:            public void setInterface(
184:                    final org.exolab.castor.builder.binding.xml.Interface _interface) {
185:                this ._interface = _interface;
186:            }
187:
188:            /**
189:             * Sets the value of field 'javaClass'.
190:             * 
191:             * @param javaClass the value of field 'javaClass'.
192:             */
193:            public void setJavaClass(
194:                    final org.exolab.castor.builder.binding.xml.ClassType javaClass) {
195:                this ._javaClass = javaClass;
196:            }
197:
198:            /**
199:             * Sets the value of field 'member'.
200:             * 
201:             * @param member the value of field 'member'.
202:             */
203:            public void setMember(
204:                    final org.exolab.castor.builder.binding.xml.FieldType member) {
205:                this ._member = member;
206:            }
207:
208:            /**
209:             * Method unmarshalComponentBindingTypeChoice.
210:             * 
211:             * @param reader
212:             * @throws org.exolab.castor.xml.MarshalException if object is
213:             * null or if any SAXException is thrown during marshaling
214:             * @throws org.exolab.castor.xml.ValidationException if this
215:             * object is an invalid instance according to the schema
216:             * @return the unmarshaled
217:             * org.exolab.castor.builder.binding.xml.ComponentBindingTypeChoice
218:             */
219:            public static org.exolab.castor.builder.binding.xml.ComponentBindingTypeChoice unmarshalComponentBindingTypeChoice(
220:                    final java.io.Reader reader)
221:                    throws org.exolab.castor.xml.MarshalException,
222:                    org.exolab.castor.xml.ValidationException {
223:                return (org.exolab.castor.builder.binding.xml.ComponentBindingTypeChoice) Unmarshaller
224:                        .unmarshal(
225:                                org.exolab.castor.builder.binding.xml.ComponentBindingTypeChoice.class,
226:                                reader);
227:            }
228:
229:            /**
230:             * 
231:             * 
232:             * @throws org.exolab.castor.xml.ValidationException if this
233:             * object is an invalid instance according to the schema
234:             */
235:            public void validate()
236:                    throws org.exolab.castor.xml.ValidationException {
237:                org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
238:                validator.validate(this);
239:            }
240:
241:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.