Source Code Cross Referenced for CmpAccount.java in  » Database-ORM » ODAL » com » odal » petstore » persistence » gen » 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 » Database ORM » ODAL » com.odal.petstore.persistence.gen.cmp 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * GENERATED CODE: DO NOT MODIFY IT UNDER ANY CIRCUMSTANCES!!!
003:         */package com.odal.petstore.persistence.gen.cmp;
004:
005:        import com.completex.objective.components.persistency.*;
006:        import java.sql.SQLException;
007:
008:        public class CmpAccount extends
009:                com.odal.petstore.persistence.gen.pos.AccountPO implements 
010:                java.io.Externalizable {
011:
012:            public CmpAccount() {
013:            }
014:
015:            public CmpAccount(String userId) {
016:                super (userId);
017:            }
018:
019:            //
020:            // Complex object part:
021:            //
022:
023:            //
024:            // Compound object part: 
025:            //        
026:
027:            private static com.odal.petstore.persistence.gen.pos.SignonPO CPD_FACTORY_SIGNON;
028:            private static com.odal.petstore.persistence.gen.pos.ProfilePO CPD_FACTORY_PROFILE;
029:            private static com.odal.petstore.persistence.gen.pos.BannerDataPO CPD_FACTORY_BANNERDATA;
030:
031:            private transient int cpdIndexsignon;
032:            private transient int cpdIndexprofile;
033:            private transient int cpdIndexbannerdata;
034:
035:            protected void doSetupCompound() {
036:                super .doSetupCompound();
037:                cpdIndexsignon = nextCompoundIndex();
038:                compoundEntry(cpdIndexsignon,
039:                        (PersistentObject) cpdFactorySignon()
040:                                .newPersistentInstance());
041:                compoundCascadeDelete(cpdIndexsignon, true);
042:                compoundCascadeInsert(cpdIndexsignon, true);
043:                cpdIndexprofile = nextCompoundIndex();
044:                compoundEntry(cpdIndexprofile,
045:                        (PersistentObject) cpdFactoryProfile()
046:                                .newPersistentInstance());
047:                compoundCascadeDelete(cpdIndexprofile, true);
048:                compoundCascadeInsert(cpdIndexprofile, true);
049:                cpdIndexbannerdata = nextCompoundIndex();
050:                compoundEntry(cpdIndexbannerdata,
051:                        (PersistentObject) cpdFactoryBannerdata()
052:                                .newPersistentInstance());
053:                compoundCascadeDelete(cpdIndexbannerdata, false);
054:                compoundCascadeInsert(cpdIndexbannerdata, false);
055:            }
056:
057:            protected com.odal.petstore.persistence.gen.pos.SignonPO cpdFactorySignon() {
058:                if (CPD_FACTORY_SIGNON == null) {
059:                    synchronized (com.odal.petstore.persistence.gen.pos.SignonPO.class) {
060:                        if (CPD_FACTORY_SIGNON == null) {
061:                            CPD_FACTORY_SIGNON = new com.odal.petstore.persistence.gen.pos.SignonPO();
062:                        }
063:                    }
064:                }
065:                return CPD_FACTORY_SIGNON;
066:            }
067:
068:            // Containment type - "is"
069:            protected com.odal.petstore.persistence.gen.pos.SignonPO extractCpdEntrySignon() {
070:                return (com.odal.petstore.persistence.gen.pos.SignonPO) compoundEntry(cpdIndexsignon);
071:            }
072:
073:            //
074:            // userName:
075:            //
076:            public String getUserName() {
077:                return extractCpdEntrySignon().getUserName();
078:            }
079:
080:            public void setUserName(String userName) {
081:                extractCpdEntrySignon().setUserName(userName);
082:            }
083:
084:            public boolean izNullUserName() {
085:                return extractCpdEntrySignon().izNullUserName();
086:            }
087:
088:            public void setNullUserName() {
089:                extractCpdEntrySignon().setNullUserName();
090:            }
091:
092:            //
093:            // password:
094:            //
095:            public String getPassword() {
096:                return extractCpdEntrySignon().getPassword();
097:            }
098:
099:            public void setPassword(String password) {
100:                extractCpdEntrySignon().setPassword(password);
101:            }
102:
103:            public boolean izNullPassword() {
104:                return extractCpdEntrySignon().izNullPassword();
105:            }
106:
107:            public void setNullPassword() {
108:                extractCpdEntrySignon().setNullPassword();
109:            }
110:
111:            protected com.odal.petstore.persistence.gen.pos.ProfilePO cpdFactoryProfile() {
112:                if (CPD_FACTORY_PROFILE == null) {
113:                    synchronized (com.odal.petstore.persistence.gen.pos.ProfilePO.class) {
114:                        if (CPD_FACTORY_PROFILE == null) {
115:                            CPD_FACTORY_PROFILE = new com.odal.petstore.persistence.gen.pos.ProfilePO();
116:                        }
117:                    }
118:                }
119:                return CPD_FACTORY_PROFILE;
120:            }
121:
122:            // Containment type - "is"
123:            protected com.odal.petstore.persistence.gen.pos.ProfilePO extractCpdEntryProfile() {
124:                return (com.odal.petstore.persistence.gen.pos.ProfilePO) compoundEntry(cpdIndexprofile);
125:            }
126:
127:            //
128:            // langPref:
129:            //
130:            public String getLangPref() {
131:                return extractCpdEntryProfile().getLangPref();
132:            }
133:
134:            public void setLangPref(String langPref) {
135:                extractCpdEntryProfile().setLangPref(langPref);
136:            }
137:
138:            public boolean izNullLangPref() {
139:                return extractCpdEntryProfile().izNullLangPref();
140:            }
141:
142:            public void setNullLangPref() {
143:                extractCpdEntryProfile().setNullLangPref();
144:            }
145:
146:            //
147:            // myListOpt:
148:            //
149:            public Long getMyListOpt() {
150:                return extractCpdEntryProfile().getMyListOpt();
151:            }
152:
153:            public void setMyListOpt(Long myListOpt) {
154:                extractCpdEntryProfile().setMyListOpt(myListOpt);
155:            }
156:
157:            public boolean izNullMyListOpt() {
158:                return extractCpdEntryProfile().izNullMyListOpt();
159:            }
160:
161:            public void setNullMyListOpt() {
162:                extractCpdEntryProfile().setNullMyListOpt();
163:            }
164:
165:            //
166:            // bannerOpt:
167:            //
168:            public Long getBannerOpt() {
169:                return extractCpdEntryProfile().getBannerOpt();
170:            }
171:
172:            public void setBannerOpt(Long bannerOpt) {
173:                extractCpdEntryProfile().setBannerOpt(bannerOpt);
174:            }
175:
176:            public boolean izNullBannerOpt() {
177:                return extractCpdEntryProfile().izNullBannerOpt();
178:            }
179:
180:            public void setNullBannerOpt() {
181:                extractCpdEntryProfile().setNullBannerOpt();
182:            }
183:
184:            protected com.odal.petstore.persistence.gen.pos.BannerDataPO cpdFactoryBannerdata() {
185:                if (CPD_FACTORY_BANNERDATA == null) {
186:                    synchronized (com.odal.petstore.persistence.gen.pos.BannerDataPO.class) {
187:                        if (CPD_FACTORY_BANNERDATA == null) {
188:                            CPD_FACTORY_BANNERDATA = new com.odal.petstore.persistence.gen.pos.BannerDataPO();
189:                        }
190:                    }
191:                }
192:                return CPD_FACTORY_BANNERDATA;
193:            }
194:
195:            // Containment type - "is"
196:            protected com.odal.petstore.persistence.gen.pos.BannerDataPO extractCpdEntryBannerdata() {
197:                return (com.odal.petstore.persistence.gen.pos.BannerDataPO) compoundEntry(cpdIndexbannerdata);
198:            }
199:
200:            //
201:            // favCategory:
202:            //
203:            public String getFavCategory() {
204:                return extractCpdEntryBannerdata().getFavCategory();
205:            }
206:
207:            public void setFavCategory(String favCategory) {
208:                extractCpdEntryBannerdata().setFavCategory(favCategory);
209:            }
210:
211:            public boolean izNullFavCategory() {
212:                return extractCpdEntryBannerdata().izNullFavCategory();
213:            }
214:
215:            public void setNullFavCategory() {
216:                extractCpdEntryBannerdata().setNullFavCategory();
217:            }
218:
219:            //
220:            // bannerName:
221:            //
222:            public String getBannerName() {
223:                return extractCpdEntryBannerdata().getBannerName();
224:            }
225:
226:            public void setBannerName(String bannerName) {
227:                extractCpdEntryBannerdata().setBannerName(bannerName);
228:            }
229:
230:            public boolean izNullBannerName() {
231:                return extractCpdEntryBannerdata().izNullBannerName();
232:            }
233:
234:            public void setNullBannerName() {
235:                extractCpdEntryBannerdata().setNullBannerName();
236:            }
237:
238:            public boolean compound() {
239:                return true;
240:            }
241:
242:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.