Source Code Cross Referenced for Spreadsheet.java in  » Database-ORM » ProjectJulp » org » julp » examples » 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 » ProjectJulp » org.julp.examples 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.julp.examples;
002:
003:        public class Spreadsheet extends org.julp.AbstractDomainObject
004:                implements  java.io.Serializable, Cloneable {
005:
006:            public Spreadsheet() {
007:            }
008:
009:            protected java.lang.Integer customerId;
010:            protected java.lang.String firstName;
011:            protected java.lang.String lastName;
012:            protected java.lang.String street;
013:            protected java.lang.String city;
014:            protected java.lang.String phone;
015:            protected java.lang.Integer invoiceId;
016:            protected java.lang.Integer invoiceCustomerId;
017:            protected java.math.BigDecimal total;
018:            protected java.lang.Integer itemInvoiceId;
019:            protected java.lang.Integer item;
020:            protected java.lang.Integer itemProductId;
021:            protected java.lang.Integer quantity;
022:            protected java.math.BigDecimal cost;
023:            protected java.lang.Integer productId;
024:            protected java.lang.String name;
025:            protected double price;
026:            protected java.lang.String comments;
027:
028:            public java.lang.Integer getCustomerId() {
029:                return this .customerId;
030:            }
031:
032:            public void setCustomerId(java.lang.Integer customerId) {
033:                if (!isLoading()) {
034:                    /* DBColumn nullability: NoNulls - modify as needed */
035:                    if (customerId == null) {
036:                        throw new IllegalArgumentException(
037:                                "Missing field: customerId");
038:                    }
039:                    if (!customerId.equals(this .customerId)) {
040:                        this .modified = true;
041:                    }
042:                }
043:                this .customerId = customerId;
044:            }
045:
046:            public java.lang.String getFirstName() {
047:                return this .firstName;
048:            }
049:
050:            public void setFirstName(java.lang.String firstName) {
051:                if (!isLoading()) {
052:                    /* DBColumn nullability: NoNulls - modify as needed */
053:                    if (firstName == null) {
054:                        throw new IllegalArgumentException(
055:                                "Missing field: firstName");
056:                    }
057:                    if (!firstName.equals(this .firstName)) {
058:                        this .modified = true;
059:                    }
060:                }
061:                this .firstName = firstName;
062:            }
063:
064:            public java.lang.String getLastName() {
065:                return this .lastName;
066:            }
067:
068:            public void setLastName(java.lang.String lastName) {
069:                if (!isLoading()) {
070:                    /* DBColumn nullability: NoNulls - modify as needed */
071:                    if (lastName == null) {
072:                        throw new IllegalArgumentException(
073:                                "Missing field: lastName");
074:                    }
075:                    if (!lastName.equals(this .lastName)) {
076:                        this .modified = true;
077:                    }
078:                }
079:                this .lastName = lastName;
080:            }
081:
082:            public java.lang.String getStreet() {
083:                return this .street;
084:            }
085:
086:            public void setStreet(java.lang.String street) {
087:                if (!isLoading()) {
088:                    /* DBColumn nullability: NoNulls - modify as needed */
089:                    if (street == null) {
090:                        throw new IllegalArgumentException(
091:                                "Missing field: street");
092:                    }
093:                    if (!street.equals(this .street)) {
094:                        this .modified = true;
095:                    }
096:                }
097:                this .street = street;
098:            }
099:
100:            public java.lang.String getCity() {
101:                return this .city;
102:            }
103:
104:            public void setCity(java.lang.String city) {
105:                if (!isLoading()) {
106:                    /* DBColumn nullability: NoNulls - modify as needed */
107:                    if (city == null) {
108:                        throw new IllegalArgumentException(
109:                                "Missing field: city");
110:                    }
111:                    if (!city.equals(this .city)) {
112:                        this .modified = true;
113:                    }
114:                }
115:                this .city = city;
116:            }
117:
118:            public java.lang.String getPhone() {
119:                return this .phone;
120:            }
121:
122:            public void setPhone(java.lang.String phone) {
123:                if (!isLoading()) {
124:                    /* DBColumn nullability: Nullable - modify as needed */
125:                    if (phone == null && this .phone != null) {
126:                        this .modified = true;
127:                    } else if (phone != null && this .phone == null) {
128:                        this .modified = true;
129:                    } else if (!phone.equals(this .phone)) {
130:                        this .modified = true;
131:                    }
132:                }
133:                this .phone = phone;
134:            }
135:
136:            public java.lang.Integer getInvoiceId() {
137:                return this .invoiceId;
138:            }
139:
140:            public void setInvoiceId(java.lang.Integer invoiceId) {
141:                if (!isLoading()) {
142:                    /* DBColumn nullability: Nullable - modify as needed */
143:                    if (invoiceId == null && this .invoiceId != null) {
144:                        this .modified = true;
145:                    } else if (invoiceId != null && this .invoiceId == null) {
146:                        this .modified = true;
147:                    } else if (!invoiceId.equals(this .invoiceId)) {
148:                        this .modified = true;
149:                    }
150:                }
151:                this .invoiceId = invoiceId;
152:            }
153:
154:            public java.lang.Integer getInvoiceCustomerId() {
155:                return this .invoiceCustomerId;
156:            }
157:
158:            public void setInvoiceCustomerId(java.lang.Integer invoiceCustomerId) {
159:                if (!isLoading()) {
160:                    /* DBColumn nullability: NoNulls - modify as needed */
161:                    if (invoiceCustomerId == null) {
162:                        throw new IllegalArgumentException(
163:                                "Missing field: invoiceCustomerId");
164:                    }
165:                    if (!invoiceCustomerId.equals(this .invoiceCustomerId)) {
166:                        this .modified = true;
167:                    }
168:                }
169:                this .invoiceCustomerId = invoiceCustomerId;
170:            }
171:
172:            public java.math.BigDecimal getTotal() {
173:                return this .total;
174:            }
175:
176:            public void setTotal(java.math.BigDecimal total) {
177:                if (!isLoading()) {
178:                    /* DBColumn nullability: Nullable - modify as needed */
179:                    if (total == null && this .total != null) {
180:                        this .modified = true;
181:                    } else if (total != null && this .total == null) {
182:                        this .modified = true;
183:                    } else if (!total.equals(this .total)) {
184:                        this .modified = true;
185:                    }
186:                }
187:                this .total = total;
188:            }
189:
190:            public java.lang.Integer getItemInvoiceId() {
191:                return this .itemInvoiceId;
192:            }
193:
194:            public void setItemInvoiceId(java.lang.Integer itemInvoiceId) {
195:                if (!isLoading()) {
196:                    /* DBColumn nullability: NoNulls - modify as needed */
197:                    if (itemInvoiceId == null) {
198:                        throw new IllegalArgumentException(
199:                                "Missing field: itemInvoiceId");
200:                    }
201:                    if (!itemInvoiceId.equals(this .itemInvoiceId)) {
202:                        this .modified = true;
203:                    }
204:                }
205:                this .itemInvoiceId = itemInvoiceId;
206:            }
207:
208:            public java.lang.Integer getItem() {
209:                return this .item;
210:            }
211:
212:            public void setItem(java.lang.Integer item) {
213:                if (!isLoading()) {
214:                    /* DBColumn nullability: Nullable - modify as needed */
215:                    if (item == null && this .item != null) {
216:                        this .modified = true;
217:                    } else if (item != null && this .item == null) {
218:                        this .modified = true;
219:                    } else if (!item.equals(this .item)) {
220:                        this .modified = true;
221:                    }
222:                }
223:                this .item = item;
224:            }
225:
226:            public java.lang.Integer getItemProductId() {
227:                return this .itemProductId;
228:            }
229:
230:            public void setItemProductId(java.lang.Integer itemPoductId) {
231:                if (!isLoading()) {
232:                    /* DBColumn nullability: NoNulls - modify as needed */
233:                    if (itemPoductId == null) {
234:                        throw new IllegalArgumentException(
235:                                "Missing field: itemPoductId");
236:                    }
237:                    if (!itemProductId.equals(this .itemProductId)) {
238:                        this .modified = true;
239:                    }
240:                }
241:                this .itemProductId = itemProductId;
242:            }
243:
244:            public java.lang.Integer getQuantity() {
245:                return this .quantity;
246:            }
247:
248:            public void setQuantity(java.lang.Integer quantity) {
249:                if (!isLoading()) {
250:                    /* DBColumn nullability: Nullable - modify as needed */
251:                    if (quantity == null && this .quantity != null) {
252:                        this .modified = true;
253:                    } else if (quantity != null && this .quantity == null) {
254:                        this .modified = true;
255:                    } else if (!quantity.equals(this .quantity)) {
256:                        this .modified = true;
257:                    }
258:                }
259:                this .quantity = quantity;
260:            }
261:
262:            public java.math.BigDecimal getCost() {
263:                return this .cost;
264:            }
265:
266:            public void setCost(java.math.BigDecimal cost) {
267:                if (!isLoading()) {
268:                    /* DBColumn nullability: Nullable - modify as needed */
269:                    if (cost == null && this .cost != null) {
270:                        this .modified = true;
271:                    } else if (cost != null && this .cost == null) {
272:                        this .modified = true;
273:                    } else if (!cost.equals(this .cost)) {
274:                        this .modified = true;
275:                    }
276:                }
277:                this .cost = cost;
278:            }
279:
280:            public java.lang.Integer getProductId() {
281:                return this .productId;
282:            }
283:
284:            public void setProductId(java.lang.Integer productId) {
285:                if (!isLoading()) {
286:                    /* DBColumn nullability: NoNulls - modify as needed */
287:                    if (productId == null) {
288:                        throw new IllegalArgumentException(
289:                                "Missing field: productId");
290:                    }
291:                    if (!productId.equals(this .productId)) {
292:                        this .modified = true;
293:                    }
294:                }
295:                this .productId = productId;
296:            }
297:
298:            public java.lang.String getName() {
299:                return this .name;
300:            }
301:
302:            public void setName(java.lang.String name) {
303:                if (!isLoading()) {
304:                    /* DBColumn nullability: NoNulls - modify as needed */
305:                    if (name == null) {
306:                        throw new IllegalArgumentException(
307:                                "Missing field: name");
308:                    }
309:                    if (!name.equals(this .name)) {
310:                        this .modified = true;
311:                    }
312:                }
313:                this .name = name;
314:            }
315:
316:            public double getPrice() {
317:                return this .price;
318:            }
319:
320:            public void setPrice(double price) {
321:                if (!isLoading()) {
322:                    /* DBColumn nullability: NoNulls - modify as needed */
323:                    if (price <= 0.0) {
324:                        throw new IllegalArgumentException("Invalid Price: "
325:                                + price);
326:                    }
327:                    if (price != this .price) {
328:                        this .modified = true;
329:                    }
330:                }
331:                this .price = price;
332:            }
333:
334:            public java.lang.String getComments() {
335:                return this .comments;
336:            }
337:
338:            public void setComments(java.lang.String comments) {
339:                if (!isLoading()) {
340:                    /* DBColumn nullability: Nullable - modify as needed */
341:                    if (comments == null && this .comments != null) {
342:                        this .modified = true;
343:                    } else if (comments != null && this .comments == null) {
344:                        this .modified = true;
345:                    } else if (!comments.equals(this .comments)) {
346:                        this .modified = true;
347:                    }
348:                }
349:                this.comments = comments;
350:            }
351:
352:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.