Source Code Cross Referenced for Reptile.java in  » Database-ORM » db-ojb » org » apache » ojb » broker » 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 » db ojb » org.apache.ojb.broker 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.apache.ojb.broker;
002:
003:        import java.io.Serializable;
004:
005:        /**
006:         * @author <a href="mailto:schneider@mendel.imp.univie.ac.at">Georg Schneider</a>
007:         *
008:         */
009:        public class Reptile implements  InterfaceAnimal, Serializable {
010:            private int animalId;
011:            private int age;
012:            private String name;
013:            private String color;
014:            private int zooId;
015:
016:            /**
017:             * Constructor for Plant.
018:             */
019:            public Reptile() {
020:                super ();
021:            }
022:
023:            public Reptile(int age, String name, String color) {
024:                this .age = age;
025:                this .name = name;
026:                this .color = color;
027:            }
028:
029:            public int getAge() {
030:                return age;
031:            }
032:
033:            public String getName() {
034:                return name;
035:            }
036:
037:            public String getColor() {
038:                return color;
039:            }
040:
041:            public String toString() {
042:                return "Reptile: id = " + animalId + "\n name = " + name
043:                        + "\n age = " + age + "\n color = " + color
044:                        + "\n zooId = " + zooId;
045:            }
046:
047:            /**
048:             * Returns the animalId.
049:             * @return int
050:             */
051:            public int getAnimalId() {
052:                return animalId;
053:            }
054:
055:            /**
056:             * Returns the zooId.
057:             * @return int
058:             */
059:            public int getZooId() {
060:                return zooId;
061:            }
062:
063:            /**
064:             * Sets the age.
065:             * @param age The age to set
066:             */
067:            public void setAge(int age) {
068:                this .age = age;
069:            }
070:
071:            /**
072:             * Sets the animalId.
073:             * @param animalId The animalId to set
074:             */
075:            public void setAnimalId(int animalId) {
076:                this .animalId = animalId;
077:            }
078:
079:            /**
080:             * Sets the color.
081:             * @param color The color to set
082:             */
083:            public void setColor(String color) {
084:                this .color = color;
085:            }
086:
087:            /**
088:             * Sets the name.
089:             * @param name The name to set
090:             */
091:            public void setName(String name) {
092:                this .name = name;
093:            }
094:
095:            /**
096:             * Sets the zooId.
097:             * @param zooId The zooId to set
098:             */
099:            public void setZooId(int zooId) {
100:                this.zooId = zooId;
101:            }
102:
103:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.