Source Code Cross Referenced for CmpField.java in  » J2EE » openejb3 » org » apache » openejb » jee » jba » cmp » 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 » J2EE » openejb3 » org.apache.openejb.jee.jba.cmp 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Licensed to the Apache Software Foundation (ASF) under one or more
003:         * contributor license agreements.  See the NOTICE file distributed with
004:         * this work for additional information regarding copyright ownership.
005:         * The ASF licenses this file to You under the Apache License, Version 2.0
006:         * (the "License"); you may not use this file except in compliance with
007:         * the License.  You may obtain a copy of the License at
008:         *
009:         *     http://www.apache.org/licenses/LICENSE-2.0
010:         *
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */package org.apache.openejb.jee.jba.cmp;
017:
018:        import java.util.ArrayList;
019:        import java.util.List;
020:        import javax.xml.bind.annotation.XmlAccessType;
021:        import javax.xml.bind.annotation.XmlAccessorType;
022:        import javax.xml.bind.annotation.XmlElement;
023:        import javax.xml.bind.annotation.XmlRootElement;
024:        import javax.xml.bind.annotation.XmlType;
025:
026:        /**
027:         * <p>Java class for anonymous complex type.
028:         * 
029:         * <p>The following schema fragment specifies the expected content contained within this class.
030:         * 
031:         * <pre>
032:         * &lt;complexType>
033:         *   &lt;complexContent>
034:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
035:         *       &lt;sequence>
036:         *         &lt;element ref="{http://jboss.org}field-name"/>
037:         *         &lt;element ref="{http://jboss.org}read-only" minOccurs="0"/>
038:         *         &lt;element ref="{http://jboss.org}read-time-out" minOccurs="0"/>
039:         *         &lt;element ref="{http://jboss.org}column-name" minOccurs="0"/>
040:         *         &lt;element ref="{http://jboss.org}not-null" minOccurs="0"/>
041:         *         &lt;choice minOccurs="0">
042:         *           &lt;sequence>
043:         *             &lt;element ref="{http://jboss.org}jdbc-type"/>
044:         *             &lt;element ref="{http://jboss.org}sql-type"/>
045:         *           &lt;/sequence>
046:         *           &lt;sequence>
047:         *             &lt;element ref="{http://jboss.org}property" maxOccurs="unbounded"/>
048:         *           &lt;/sequence>
049:         *         &lt;/choice>
050:         *         &lt;element ref="{http://jboss.org}auto-increment" minOccurs="0"/>
051:         *         &lt;element ref="{http://jboss.org}dbindex" minOccurs="0"/>
052:         *         &lt;element ref="{http://jboss.org}check-dirty-after-get" minOccurs="0"/>
053:         *         &lt;element ref="{http://jboss.org}state-factory" minOccurs="0"/>
054:         *       &lt;/sequence>
055:         *     &lt;/restriction>
056:         *   &lt;/complexContent>
057:         * &lt;/complexType>
058:         * </pre>
059:         * 
060:         * 
061:         */
062:        @XmlAccessorType(XmlAccessType.FIELD)
063:        @XmlType(name="",propOrder={"fieldName","readOnly","readTimeOut","columnName","notNull","jdbcType","sqlType","property","autoIncrement","dbindex","checkDirtyAfterGet","stateFactory"})
064:        @XmlRootElement(name="cmp-field")
065:        public class CmpField {
066:
067:            @XmlElement(name="field-name",required=true)
068:            protected FieldName fieldName;
069:            @XmlElement(name="read-only")
070:            protected ReadOnly readOnly;
071:            @XmlElement(name="read-time-out")
072:            protected ReadTimeOut readTimeOut;
073:            @XmlElement(name="column-name")
074:            protected ColumnName columnName;
075:            @XmlElement(name="not-null")
076:            protected NotNull notNull;
077:            @XmlElement(name="jdbc-type")
078:            protected JdbcType jdbcType;
079:            @XmlElement(name="sql-type")
080:            protected SqlType sqlType;
081:            protected List<Property> property;
082:            @XmlElement(name="auto-increment")
083:            protected AutoIncrement autoIncrement;
084:            protected Dbindex dbindex;
085:            @XmlElement(name="check-dirty-after-get")
086:            protected CheckDirtyAfterGet checkDirtyAfterGet;
087:            @XmlElement(name="state-factory")
088:            protected StateFactory stateFactory;
089:
090:            /**
091:             * Gets the value of the fieldName property.
092:             * 
093:             * @return
094:             *     possible object is
095:             *     {@link FieldName }
096:             *     
097:             */
098:            public FieldName getFieldName() {
099:                return fieldName;
100:            }
101:
102:            /**
103:             * Sets the value of the fieldName property.
104:             * 
105:             * @param value
106:             *     allowed object is
107:             *     {@link FieldName }
108:             *     
109:             */
110:            public void setFieldName(FieldName value) {
111:                this .fieldName = value;
112:            }
113:
114:            /**
115:             * Gets the value of the readOnly property.
116:             * 
117:             * @return
118:             *     possible object is
119:             *     {@link ReadOnly }
120:             *     
121:             */
122:            public ReadOnly getReadOnly() {
123:                return readOnly;
124:            }
125:
126:            /**
127:             * Sets the value of the readOnly property.
128:             * 
129:             * @param value
130:             *     allowed object is
131:             *     {@link ReadOnly }
132:             *     
133:             */
134:            public void setReadOnly(ReadOnly value) {
135:                this .readOnly = value;
136:            }
137:
138:            /**
139:             * Gets the value of the readTimeOut property.
140:             * 
141:             * @return
142:             *     possible object is
143:             *     {@link ReadTimeOut }
144:             *     
145:             */
146:            public ReadTimeOut getReadTimeOut() {
147:                return readTimeOut;
148:            }
149:
150:            /**
151:             * Sets the value of the readTimeOut property.
152:             * 
153:             * @param value
154:             *     allowed object is
155:             *     {@link ReadTimeOut }
156:             *     
157:             */
158:            public void setReadTimeOut(ReadTimeOut value) {
159:                this .readTimeOut = value;
160:            }
161:
162:            /**
163:             * Gets the value of the columnName property.
164:             * 
165:             * @return
166:             *     possible object is
167:             *     {@link ColumnName }
168:             *     
169:             */
170:            public ColumnName getColumnName() {
171:                return columnName;
172:            }
173:
174:            /**
175:             * Sets the value of the columnName property.
176:             * 
177:             * @param value
178:             *     allowed object is
179:             *     {@link ColumnName }
180:             *     
181:             */
182:            public void setColumnName(ColumnName value) {
183:                this .columnName = value;
184:            }
185:
186:            /**
187:             * Gets the value of the notNull property.
188:             * 
189:             * @return
190:             *     possible object is
191:             *     {@link NotNull }
192:             *     
193:             */
194:            public NotNull getNotNull() {
195:                return notNull;
196:            }
197:
198:            /**
199:             * Sets the value of the notNull property.
200:             * 
201:             * @param value
202:             *     allowed object is
203:             *     {@link NotNull }
204:             *     
205:             */
206:            public void setNotNull(NotNull value) {
207:                this .notNull = value;
208:            }
209:
210:            /**
211:             * Gets the value of the jdbcType property.
212:             * 
213:             * @return
214:             *     possible object is
215:             *     {@link JdbcType }
216:             *     
217:             */
218:            public JdbcType getJdbcType() {
219:                return jdbcType;
220:            }
221:
222:            /**
223:             * Sets the value of the jdbcType property.
224:             * 
225:             * @param value
226:             *     allowed object is
227:             *     {@link JdbcType }
228:             *     
229:             */
230:            public void setJdbcType(JdbcType value) {
231:                this .jdbcType = value;
232:            }
233:
234:            /**
235:             * Gets the value of the sqlType property.
236:             * 
237:             * @return
238:             *     possible object is
239:             *     {@link SqlType }
240:             *     
241:             */
242:            public SqlType getSqlType() {
243:                return sqlType;
244:            }
245:
246:            /**
247:             * Sets the value of the sqlType property.
248:             * 
249:             * @param value
250:             *     allowed object is
251:             *     {@link SqlType }
252:             *     
253:             */
254:            public void setSqlType(SqlType value) {
255:                this .sqlType = value;
256:            }
257:
258:            /**
259:             * Gets the value of the property property.
260:             * 
261:             * <p>
262:             * This accessor method returns a reference to the live list,
263:             * not a snapshot. Therefore any modification you make to the
264:             * returned list will be present inside the JAXB object.
265:             * This is why there is not a <CODE>set</CODE> method for the property property.
266:             * 
267:             * <p>
268:             * For example, to add a new item, do as follows:
269:             * <pre>
270:             *    getProperty().add(newItem);
271:             * </pre>
272:             * 
273:             * 
274:             * <p>
275:             * Objects of the following type(s) are allowed in the list
276:             * {@link Property }
277:             * 
278:             * 
279:             */
280:            public List<Property> getProperty() {
281:                if (property == null) {
282:                    property = new ArrayList<Property>();
283:                }
284:                return this .property;
285:            }
286:
287:            /**
288:             * Gets the value of the autoIncrement property.
289:             * 
290:             * @return
291:             *     possible object is
292:             *     {@link AutoIncrement }
293:             *     
294:             */
295:            public AutoIncrement getAutoIncrement() {
296:                return autoIncrement;
297:            }
298:
299:            /**
300:             * Sets the value of the autoIncrement property.
301:             * 
302:             * @param value
303:             *     allowed object is
304:             *     {@link AutoIncrement }
305:             *     
306:             */
307:            public void setAutoIncrement(AutoIncrement value) {
308:                this .autoIncrement = value;
309:            }
310:
311:            /**
312:             * Gets the value of the dbindex property.
313:             * 
314:             * @return
315:             *     possible object is
316:             *     {@link Dbindex }
317:             *     
318:             */
319:            public Dbindex getDbindex() {
320:                return dbindex;
321:            }
322:
323:            /**
324:             * Sets the value of the dbindex property.
325:             * 
326:             * @param value
327:             *     allowed object is
328:             *     {@link Dbindex }
329:             *     
330:             */
331:            public void setDbindex(Dbindex value) {
332:                this .dbindex = value;
333:            }
334:
335:            /**
336:             * Gets the value of the checkDirtyAfterGet property.
337:             * 
338:             * @return
339:             *     possible object is
340:             *     {@link CheckDirtyAfterGet }
341:             *     
342:             */
343:            public CheckDirtyAfterGet getCheckDirtyAfterGet() {
344:                return checkDirtyAfterGet;
345:            }
346:
347:            /**
348:             * Sets the value of the checkDirtyAfterGet property.
349:             * 
350:             * @param value
351:             *     allowed object is
352:             *     {@link CheckDirtyAfterGet }
353:             *     
354:             */
355:            public void setCheckDirtyAfterGet(CheckDirtyAfterGet value) {
356:                this .checkDirtyAfterGet = value;
357:            }
358:
359:            /**
360:             * Gets the value of the stateFactory property.
361:             * 
362:             * @return
363:             *     possible object is
364:             *     {@link StateFactory }
365:             *     
366:             */
367:            public StateFactory getStateFactory() {
368:                return stateFactory;
369:            }
370:
371:            /**
372:             * Sets the value of the stateFactory property.
373:             * 
374:             * @param value
375:             *     allowed object is
376:             *     {@link StateFactory }
377:             *     
378:             */
379:            public void setStateFactory(StateFactory value) {
380:                this.stateFactory = value;
381:            }
382:
383:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.