Source Code Cross Referenced for TiemorValue.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » jtests » beans » relation » tier » 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 » JOnAS 4.8.6 » org.objectweb.jonas.jtests.beans.relation.tier 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.objectweb.jonas.jtests.beans.relation.tier;
002:
003:        /**
004:         * Value object for TIEMOR.
005:         */
006:
007:        public class TiemorValue extends java.lang.Object implements 
008:                java.io.Serializable {
009:
010:            // define attributes
011:            // define column 'numinttie' and update flag
012:            private java.lang.Integer numinttie;
013:
014:            private boolean numinttieHasBeenSet = false;
015:
016:            // define column 'raisoctie' and update flag
017:            private java.lang.String raisoctie;
018:
019:            private boolean raisoctieHasBeenSet = false;
020:
021:            // define primary key
022:            private java.lang.Integer __pk;
023:
024:            // public constructor
025:            public TiemorValue() {
026:            }
027:
028:            // copy constructor ..
029:            // TODO Cloneable is better than this !
030:            public TiemorValue(TiemorValue otherValue) {
031:                this .numinttie = otherValue.numinttie;
032:                numinttieHasBeenSet = true;
033:
034:                this .raisoctie = otherValue.raisoctie;
035:                raisoctieHasBeenSet = true;
036:
037:                //TODO ? correct ?
038:                // pk = otherValue.getPrimaryKey();
039:            }
040:
041:            /*
042:             * ALL FIELDS EXCEPT PRIMARY KEY
043:             */
044:
045:            // getter-setter for raisoctie
046:            public java.lang.String getRaisoctie() {
047:                return this .raisoctie;
048:            }
049:
050:            public void setRaisoctie(java.lang.String raisoctie) {
051:                this .raisoctie = raisoctie;
052:                this .raisoctieHasBeenSet = true;
053:            }
054:
055:            public boolean raisoctieHasBeenSet() {
056:                return raisoctieHasBeenSet;
057:            }
058:
059:            /*
060:             * PRIMARY KEY(s)
061:             */
062:            public java.lang.Integer getPrimaryKey() {
063:                return __pk;
064:            }
065:
066:            public java.lang.Integer getNuminttie() {
067:                return this .numinttie;
068:            }
069:
070:            public void setNuminttie(java.lang.Integer numinttie) {
071:                this .numinttie = numinttie;
072:                __pk = numinttie;
073:                numinttieHasBeenSet = true;
074:
075:            }
076:
077:            public void setPrimaryKey(java.lang.Integer numinttie) {
078:                setNuminttie(numinttie);
079:            }
080:
081:            protected boolean numinttieHasBeenSet() {
082:                return numinttieHasBeenSet;
083:            }
084:
085:            /*
086:             * Exposes getMethod of type getXXXXValue(), for each related table.
087:             */
088:            public java.lang.Integer getTierPK() {
089:                return getNuminttie();
090:            }
091:
092:            /*
093:             * Generated toString() method, includes all fields and inherited fields
094:             * from superclass toString
095:             */
096:            public String toString() {
097:
098:                StringBuffer str = new StringBuffer("{");
099:
100:                str.append("{[Tiemor], ");
101:
102:                str.append("numinttie" + getNuminttie() + ", "); // table isSimplePk ?
103:                // true column isPk ?
104:                // true
105:                str.append("raisoctie" + getRaisoctie() + ", "); // table isSimplePk ?
106:                // true column isPk ?
107:                // false
108:
109:                str.append("{[Tiemor]");
110:                return (str.toString());
111:            }
112:
113:            /*
114:             * ToXML builds an XML String of fields and inherited fields
115:             */
116:            public String toXML() {
117:
118:                StringBuffer str = new StringBuffer("{");
119:                str.append("<docTiemor>");
120:                str.append("<numinttie>" + getNuminttie() + "</numinttie>");
121:                str.append("<raisoctie>" + getRaisoctie() + "</raisoctie>");
122:
123:                str.append("</docTiemor>");
124:                return (str.toString());
125:            }
126:
127:            public boolean hasIdentity() {
128:                return numinttieHasBeenSet();
129:            }
130:
131:            public void validateData() throws Exception {
132:                // mandatory columns
133:                if (numinttie == null)
134:                    throw new Exception(
135:                            "the field : 'numinttie' must not be null !");
136:                if (raisoctie == null)
137:                    throw new Exception(
138:                            "the field : 'raisoctie' must not be null !");
139:            }
140:        }
w_w___w__.j__av___a_2_s__.___co_m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.