Source Code Cross Referenced for Table1IntegerEntity.java in  » EJB-Server-JBoss-4.2.1 » ejb3 » org » jboss » ejb3 » test » timestampentity » entity » 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 » EJB Server JBoss 4.2.1 » ejb3 » org.jboss.ejb3.test.timestampentity.entity 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /***********************************************************************************************************************************
002:         **
003:         ** Research In Motion.  Do not reproduce without permission in writing.
004:         **
005:         ** Copyright (c) 2006 Research In Motion.
006:         ** All rights reserved.
007:         **
008:         ************************************************************************************************************************************
009:         */package org.jboss.ejb3.test.timestampentity.entity;
010:
011:        import javax.persistence.AttributeOverride;
012:        import javax.persistence.AttributeOverrides;
013:        import javax.persistence.Column;
014:        import javax.persistence.EmbeddedId;
015:        import javax.persistence.Entity;
016:        import javax.persistence.Table;
017:        import javax.persistence.Version;
018:        import java.util.Date;
019:
020:        /***********************************************************************************************************************************
021:         **
022:         ** This is a entity bean primary key class for the BASAuthenticationCredentials table...Generated 4-Jan-2007 2:58:35 PM
023:         ** by Hibernate Tools 3.2.0.beta7
024:         **
025:         ** @author     jgrills
026:         ** @version    T.B.D
027:         **
028:         ************************************************************************************************************************************
029:         */
030:        @Entity
031:        @Table(name="Table1Integer")
032:        public class Table1IntegerEntity implements  java.io.Serializable {
033:
034:            /***********************************************************************************************************************************
035:             **
036:             ** The primary key class
037:             **
038:             ************************************************************************************************************************************
039:             */
040:            private Table1Key _table1Key;
041:
042:            /***********************************************************************************************************************************
043:             **
044:             ** The field1 attribute
045:             **
046:             ************************************************************************************************************************************
047:             */
048:            private String _field1;
049:
050:            /***********************************************************************************************************************************
051:             **
052:             ** The fiedl2 attribute
053:             **
054:             ************************************************************************************************************************************
055:             */
056:            private String _field2;
057:
058:            /***********************************************************************************************************************************
059:             **
060:             ** The field3 attribute
061:             **
062:             ************************************************************************************************************************************
063:             */
064:            private Date _field3;
065:
066:            /***********************************************************************************************************************************
067:             **
068:             ** The versionNumber attribute
069:             **
070:             ************************************************************************************************************************************
071:             */
072:            private int _versionNumber;
073:
074:            /***********************************************************************************************************************************
075:             **
076:             ** The default constructor for an Table1IntegerEntity
077:             **
078:             ************************************************************************************************************************************
079:             */
080:            public Table1IntegerEntity() {
081:
082:            }
083:
084:            /***********************************************************************************************************************************
085:             **
086:             ** The minimal constructor for an Table1IntegerEntity
087:             **
088:             ** @param      table1Key   the primary key class
089:             ** @param      field1   the field1
090:             ** @param      field2   the field2
091:             **
092:             ************************************************************************************************************************************
093:             */
094:            public Table1IntegerEntity(Table1Key table1Key, String field1,
095:                    String field2) {
096:
097:                _table1Key = table1Key;
098:                _field1 = field1;
099:                _field2 = field2;
100:            }
101:
102:            /***********************************************************************************************************************************
103:             **
104:             ** The full constructor for an Table1IntegerEntity
105:             **
106:             ** @param      table1Key   the primary key class
107:             ** @param      field1   the field1
108:             ** @param      field2   the field2
109:             ** @param      field3   the field3
110:             **
111:             ************************************************************************************************************************************
112:             */
113:            public Table1IntegerEntity(Table1Key table1Key, String field1,
114:                    String field2, Date field3) {
115:
116:                _table1Key = table1Key;
117:                _field1 = field1;
118:                _field2 = field2;
119:                _field3 = field3;
120:            }
121:
122:            /***********************************************************************************************************************************
123:             **
124:             ** The get method for the primary key class
125:             **
126:             ** @return     the primary key
127:             **
128:             ************************************************************************************************************************************
129:             */
130:            @EmbeddedId
131:            @AttributeOverrides({@AttributeOverride(name="keyfield1",column=@Column(name="Keyfield1")),@AttributeOverride(name="keyfield2",column=@Column(name="Keyfield2")),@AttributeOverride(name="keyfield3",column=@Column(name="Keyfield3"))})
132:            public Table1Key getId() {
133:
134:                return _table1Key;
135:            }
136:
137:            /***********************************************************************************************************************************
138:             **
139:             ** The set method for the primary key class
140:             **
141:             ** @param      table1Key   the primary key class
142:             **
143:             ************************************************************************************************************************************
144:             */
145:            public void setId(Table1Key table1Key) {
146:
147:                _table1Key = table1Key;
148:            }
149:
150:            /***********************************************************************************************************************************
151:             **
152:             ** The get method for the field1
153:             **
154:             ** @return     the field1
155:             **
156:             ************************************************************************************************************************************
157:             */
158:            public String getField1() {
159:
160:                return _field1;
161:            }
162:
163:            /***********************************************************************************************************************************
164:             **
165:             ** The set method for the field1
166:             **
167:             ** @param      field1   the field1
168:             **
169:             ************************************************************************************************************************************
170:             */
171:            public void setField1(String field1) {
172:
173:                _field1 = field1;
174:            }
175:
176:            /***********************************************************************************************************************************
177:             **
178:             ** The get method for the field2
179:             **
180:             ** @return     the field2
181:             **
182:             ************************************************************************************************************************************
183:             */
184:            public String getField2() {
185:
186:                return _field2;
187:            }
188:
189:            /***********************************************************************************************************************************
190:             **
191:             ** The set method for the field2
192:             **
193:             ** @param      field2   the field2
194:             **
195:             ************************************************************************************************************************************
196:             */
197:            public void setField2(String field2) {
198:
199:                _field2 = field2;
200:            }
201:
202:            /***********************************************************************************************************************************
203:             **
204:             ** The get method for the field3
205:             **
206:             ** @return     the field3
207:             **
208:             ************************************************************************************************************************************
209:             */
210:            public Date getField3() {
211:
212:                return _field3;
213:            }
214:
215:            /***********************************************************************************************************************************
216:             **
217:             ** The set method for the field3
218:             **
219:             ** @param      field3   the field3
220:             **
221:             ************************************************************************************************************************************
222:             */
223:            public void setField3(Date field3) {
224:
225:                _field3 = field3;
226:            }
227:
228:            /***********************************************************************************************************************************
229:             **
230:             ** The get method for the lurnum attribute
231:             **
232:             ** @return     the lurnum attribute
233:             **
234:             ************************************************************************************************************************************
235:             */
236:            @Version
237:            public int getVersionNumber() {
238:
239:                return _versionNumber;
240:            }
241:
242:            /***********************************************************************************************************************************
243:             **
244:             ** The set method for the versionNumber attribute
245:             **
246:             ** @param      versionNumber   the versionNumber attribute
247:             **
248:             ************************************************************************************************************************************
249:             */
250:            public void setVersionNumber(int versionNumber) {
251:
252:                _versionNumber = versionNumber;
253:            }
254:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.