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