Source Code Cross Referenced for OptimisticLocking.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 javax.xml.bind.annotation.XmlAccessType;
019:        import javax.xml.bind.annotation.XmlAccessorType;
020:        import javax.xml.bind.annotation.XmlElement;
021:        import javax.xml.bind.annotation.XmlRootElement;
022:        import javax.xml.bind.annotation.XmlType;
023:
024:        /**
025:         * <p>Java class for anonymous complex type.
026:         * 
027:         * <p>The following schema fragment specifies the expected content contained within this class.
028:         * 
029:         * <pre>
030:         * &lt;complexType>
031:         *   &lt;complexContent>
032:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033:         *       &lt;choice>
034:         *         &lt;element ref="{http://jboss.org}group-name"/>
035:         *         &lt;element ref="{http://jboss.org}modified-strategy"/>
036:         *         &lt;element ref="{http://jboss.org}read-strategy"/>
037:         *         &lt;sequence>
038:         *           &lt;choice>
039:         *             &lt;element ref="{http://jboss.org}version-column"/>
040:         *             &lt;element ref="{http://jboss.org}timestamp-column"/>
041:         *             &lt;sequence>
042:         *               &lt;element ref="{http://jboss.org}key-generator-factory"/>
043:         *               &lt;element ref="{http://jboss.org}field-type"/>
044:         *             &lt;/sequence>
045:         *           &lt;/choice>
046:         *           &lt;element ref="{http://jboss.org}field-name" minOccurs="0"/>
047:         *           &lt;element ref="{http://jboss.org}column-name" minOccurs="0"/>
048:         *           &lt;sequence minOccurs="0">
049:         *             &lt;element ref="{http://jboss.org}jdbc-type"/>
050:         *             &lt;element ref="{http://jboss.org}sql-type"/>
051:         *           &lt;/sequence>
052:         *         &lt;/sequence>
053:         *       &lt;/choice>
054:         *     &lt;/restriction>
055:         *   &lt;/complexContent>
056:         * &lt;/complexType>
057:         * </pre>
058:         * 
059:         * 
060:         */
061:        @XmlAccessorType(XmlAccessType.FIELD)
062:        @XmlType(name="",propOrder={"groupName","modifiedStrategy","readStrategy","versionColumn","timestampColumn","keyGeneratorFactory","fieldType","fieldName","columnName","jdbcType","sqlType"})
063:        @XmlRootElement(name="optimistic-locking")
064:        public class OptimisticLocking {
065:
066:            @XmlElement(name="group-name")
067:            protected GroupName groupName;
068:            @XmlElement(name="modified-strategy")
069:            protected ModifiedStrategy modifiedStrategy;
070:            @XmlElement(name="read-strategy")
071:            protected ReadStrategy readStrategy;
072:            @XmlElement(name="version-column")
073:            protected VersionColumn versionColumn;
074:            @XmlElement(name="timestamp-column")
075:            protected TimestampColumn timestampColumn;
076:            @XmlElement(name="key-generator-factory")
077:            protected KeyGeneratorFactory keyGeneratorFactory;
078:            @XmlElement(name="field-type")
079:            protected FieldType fieldType;
080:            @XmlElement(name="field-name")
081:            protected FieldName fieldName;
082:            @XmlElement(name="column-name")
083:            protected ColumnName columnName;
084:            @XmlElement(name="jdbc-type")
085:            protected JdbcType jdbcType;
086:            @XmlElement(name="sql-type")
087:            protected SqlType sqlType;
088:
089:            /**
090:             * Gets the value of the groupName property.
091:             * 
092:             * @return
093:             *     possible object is
094:             *     {@link GroupName }
095:             *     
096:             */
097:            public GroupName getGroupName() {
098:                return groupName;
099:            }
100:
101:            /**
102:             * Sets the value of the groupName property.
103:             * 
104:             * @param value
105:             *     allowed object is
106:             *     {@link GroupName }
107:             *     
108:             */
109:            public void setGroupName(GroupName value) {
110:                this .groupName = value;
111:            }
112:
113:            /**
114:             * Gets the value of the modifiedStrategy property.
115:             * 
116:             * @return
117:             *     possible object is
118:             *     {@link ModifiedStrategy }
119:             *     
120:             */
121:            public ModifiedStrategy getModifiedStrategy() {
122:                return modifiedStrategy;
123:            }
124:
125:            /**
126:             * Sets the value of the modifiedStrategy property.
127:             * 
128:             * @param value
129:             *     allowed object is
130:             *     {@link ModifiedStrategy }
131:             *     
132:             */
133:            public void setModifiedStrategy(ModifiedStrategy value) {
134:                this .modifiedStrategy = value;
135:            }
136:
137:            /**
138:             * Gets the value of the readStrategy property.
139:             * 
140:             * @return
141:             *     possible object is
142:             *     {@link ReadStrategy }
143:             *     
144:             */
145:            public ReadStrategy getReadStrategy() {
146:                return readStrategy;
147:            }
148:
149:            /**
150:             * Sets the value of the readStrategy property.
151:             * 
152:             * @param value
153:             *     allowed object is
154:             *     {@link ReadStrategy }
155:             *     
156:             */
157:            public void setReadStrategy(ReadStrategy value) {
158:                this .readStrategy = value;
159:            }
160:
161:            /**
162:             * Gets the value of the versionColumn property.
163:             * 
164:             * @return
165:             *     possible object is
166:             *     {@link VersionColumn }
167:             *     
168:             */
169:            public VersionColumn getVersionColumn() {
170:                return versionColumn;
171:            }
172:
173:            /**
174:             * Sets the value of the versionColumn property.
175:             * 
176:             * @param value
177:             *     allowed object is
178:             *     {@link VersionColumn }
179:             *     
180:             */
181:            public void setVersionColumn(VersionColumn value) {
182:                this .versionColumn = value;
183:            }
184:
185:            /**
186:             * Gets the value of the timestampColumn property.
187:             * 
188:             * @return
189:             *     possible object is
190:             *     {@link TimestampColumn }
191:             *     
192:             */
193:            public TimestampColumn getTimestampColumn() {
194:                return timestampColumn;
195:            }
196:
197:            /**
198:             * Sets the value of the timestampColumn property.
199:             * 
200:             * @param value
201:             *     allowed object is
202:             *     {@link TimestampColumn }
203:             *     
204:             */
205:            public void setTimestampColumn(TimestampColumn value) {
206:                this .timestampColumn = value;
207:            }
208:
209:            /**
210:             * Gets the value of the keyGeneratorFactory property.
211:             * 
212:             * @return
213:             *     possible object is
214:             *     {@link KeyGeneratorFactory }
215:             *     
216:             */
217:            public KeyGeneratorFactory getKeyGeneratorFactory() {
218:                return keyGeneratorFactory;
219:            }
220:
221:            /**
222:             * Sets the value of the keyGeneratorFactory property.
223:             * 
224:             * @param value
225:             *     allowed object is
226:             *     {@link KeyGeneratorFactory }
227:             *     
228:             */
229:            public void setKeyGeneratorFactory(KeyGeneratorFactory value) {
230:                this .keyGeneratorFactory = value;
231:            }
232:
233:            /**
234:             * Gets the value of the fieldType property.
235:             * 
236:             * @return
237:             *     possible object is
238:             *     {@link FieldType }
239:             *     
240:             */
241:            public FieldType getFieldType() {
242:                return fieldType;
243:            }
244:
245:            /**
246:             * Sets the value of the fieldType property.
247:             * 
248:             * @param value
249:             *     allowed object is
250:             *     {@link FieldType }
251:             *     
252:             */
253:            public void setFieldType(FieldType value) {
254:                this .fieldType = value;
255:            }
256:
257:            /**
258:             * Gets the value of the fieldName property.
259:             * 
260:             * @return
261:             *     possible object is
262:             *     {@link FieldName }
263:             *     
264:             */
265:            public FieldName getFieldName() {
266:                return fieldName;
267:            }
268:
269:            /**
270:             * Sets the value of the fieldName property.
271:             * 
272:             * @param value
273:             *     allowed object is
274:             *     {@link FieldName }
275:             *     
276:             */
277:            public void setFieldName(FieldName value) {
278:                this .fieldName = value;
279:            }
280:
281:            /**
282:             * Gets the value of the columnName property.
283:             * 
284:             * @return
285:             *     possible object is
286:             *     {@link ColumnName }
287:             *     
288:             */
289:            public ColumnName getColumnName() {
290:                return columnName;
291:            }
292:
293:            /**
294:             * Sets the value of the columnName property.
295:             * 
296:             * @param value
297:             *     allowed object is
298:             *     {@link ColumnName }
299:             *     
300:             */
301:            public void setColumnName(ColumnName value) {
302:                this .columnName = value;
303:            }
304:
305:            /**
306:             * Gets the value of the jdbcType property.
307:             * 
308:             * @return
309:             *     possible object is
310:             *     {@link JdbcType }
311:             *     
312:             */
313:            public JdbcType getJdbcType() {
314:                return jdbcType;
315:            }
316:
317:            /**
318:             * Sets the value of the jdbcType property.
319:             * 
320:             * @param value
321:             *     allowed object is
322:             *     {@link JdbcType }
323:             *     
324:             */
325:            public void setJdbcType(JdbcType value) {
326:                this .jdbcType = value;
327:            }
328:
329:            /**
330:             * Gets the value of the sqlType property.
331:             * 
332:             * @return
333:             *     possible object is
334:             *     {@link SqlType }
335:             *     
336:             */
337:            public SqlType getSqlType() {
338:                return sqlType;
339:            }
340:
341:            /**
342:             * Sets the value of the sqlType property.
343:             * 
344:             * @param value
345:             *     allowed object is
346:             *     {@link SqlType }
347:             *     
348:             */
349:            public void setSqlType(SqlType value) {
350:                this.sqlType = value;
351:            }
352:
353:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.