Source Code Cross Referenced for PersistentPropertyInfo.java in  » Testing » Ejb3Unit » com » bm » introspectors » 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 » Testing » Ejb3Unit » com.bm.introspectors 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.bm.introspectors;
002:
003:        import com.bm.introspectors.relations.EntityReleationInfo;
004:
005:        /**
006:         * This class represents all informations about persitent fields.
007:         * 
008:         * @author Daniel Wiese
009:         * @since 07.10.2005
010:         */
011:        public class PersistentPropertyInfo {
012:
013:            private int length = 255;
014:
015:            private boolean isNullable = false;
016:
017:            private boolean isEmbeddedClass = false;
018:
019:            private boolean isReleation = false;
020:
021:            private EntityReleationInfo entityReleationInfo = null;
022:
023:            private String dbName;
024:
025:            /**
026:             * Returns the isNullable.
027:             * 
028:             * @return Returns the isNullable.
029:             */
030:            public boolean isNullable() {
031:                return isNullable;
032:            }
033:
034:            /**
035:             * Sets the isNullable.
036:             * 
037:             * @param isNullable
038:             *            The isNullable to set.
039:             */
040:            public void setNullable(boolean isNullable) {
041:                this .isNullable = isNullable;
042:            }
043:
044:            /**
045:             * Returns the length.
046:             * 
047:             * @return Returns the length.
048:             */
049:            public int getLength() {
050:                return length;
051:            }
052:
053:            /**
054:             * The length to set.
055:             * 
056:             * @param length
057:             *            The length to set.
058:             */
059:            public void setLength(int length) {
060:                this .length = length;
061:            }
062:
063:            /**
064:             * Returns the dbName.
065:             * 
066:             * @return Returns the dbName.
067:             */
068:            public String getDbName() {
069:                return dbName;
070:            }
071:
072:            /**
073:             * The dbName to set.
074:             * 
075:             * @param dbName
076:             *            The dbName to set.
077:             */
078:            public void setDbName(String dbName) {
079:                this .dbName = dbName;
080:            }
081:
082:            /**
083:             * Returns the isEmbeddedClass.
084:             * 
085:             * @return Returns the isEmbeddedClass.
086:             */
087:            public boolean isEmbeddedClass() {
088:                return isEmbeddedClass;
089:            }
090:
091:            /**
092:             * The isEmbeddedClass to set.
093:             * 
094:             * @param isEmbeddedClass
095:             *            The isEmbeddedClass to set.
096:             */
097:            public void setEmbeddedClass(boolean isEmbeddedClass) {
098:                this .isEmbeddedClass = isEmbeddedClass;
099:            }
100:
101:            /**
102:             * Returns true if thisproperty represents a relation and returns true if
103:             * this is a case (the EntityReleationInfo is not null and contains the
104:             * relevant informations).
105:             * 
106:             * @return Returns the isReleation.
107:             */
108:            public boolean isReleation() {
109:                return isReleation;
110:            }
111:
112:            /**
113:             * Returns the entityReleationInfo.
114:             * 
115:             * @return Returns the entityReleationInfo.
116:             */
117:            public EntityReleationInfo getEntityReleationInfo() {
118:                return entityReleationInfo;
119:            }
120:
121:            /**
122:             * The entityReleationInfo to set.
123:             * 
124:             * @param entityReleationInfo
125:             *            The entityReleationInfo to set.
126:             */
127:            public void setEntityReleationInfo(
128:                    EntityReleationInfo entityReleationInfo) {
129:                this .entityReleationInfo = entityReleationInfo;
130:                if (this .entityReleationInfo == null) {
131:                    this .isReleation = false;
132:                } else {
133:                    this .isReleation = true;
134:                }
135:            }
136:
137:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.