Java Doc for PersonDataStruct.java in  » J2EE » enhydra » jspPhoneBook » data » 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 » enhydra » jspPhoneBook.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


jspPhoneBook.data.PersonDataStruct

PersonDataStruct
public class PersonDataStruct extends CoreDataStruct implements Cloneable,Serializable(Code)
Data structure for DO class. A container for data members of a DO class. A DO class contains a reference to a DataStruct class. This reference can be null (a DO whose data has not yet been retrieved from the database), allowing a DO object to be a lightweight placeholder until its data is needed.
version:
   $Revision: 1.1 $
author:
   EnhydraTeam
since:
   PhoneList;


Field Summary
final public static  intCOLUMN_FIRSTNAME
     Used for query caching.
final public static  intCOLUMN_LASTNAME
     Used for query caching.
final public static  intCOLUMN_OID
     Used for query caching.
final public static  intCOLUMN_PHONENUMBER
     Used for query caching.
protected  booleanisEmpty
     Since originalData is being constructed for every DO, this flag "knows" if DataStruct has any useful content.
public  booleanreadOnly
     A DO refers to this DataStruct.


Method Summary
public  booleancompareCond(Condition cond)
     Compares whether this DataStruct object satisfies condition cond.
Parameters:
  cond - Condition of the query.
public  PersonDataStructduplicate()
     Create a copy of the guts of a DO.
public  StringgetFirstName()
    
public  StringgetLastName()
    
public  ObjectIdgetOId()
    
public  StringgetPhoneNumber()
    
protected  intgetVersion()
    
public  Stringget_CacheHandle()
     Returns this object's cache handle (String in the form: ".").
public  Stringget_Database()
    
public  Stringget_Handle()
     Returns this object's handle (identifier as a string).
public  ObjectIdget_OId()
     Returns this object's identifier.
protected  intget_Version()
    
public  voidsetFirstName(String _firstName)
    
public  voidsetLastName(String _lastName)
    
protected  voidsetOId(ObjectId oId)
    
public  voidsetPhoneNumber(String _phoneNumber)
    
protected  voidsetVersion(int v)
    
public  voidset_Database(String dbName)
    
protected  voidset_OId(ObjectId oId)
     Sets this object's identifier.
protected  voidset_Version(int v)
    

Field Detail
COLUMN_FIRSTNAME
final public static int COLUMN_FIRSTNAME(Code)
Used for query caching.



COLUMN_LASTNAME
final public static int COLUMN_LASTNAME(Code)
Used for query caching.



COLUMN_OID
final public static int COLUMN_OID(Code)
Used for query caching.



COLUMN_PHONENUMBER
final public static int COLUMN_PHONENUMBER(Code)
Used for query caching.



isEmpty
protected boolean isEmpty(Code)
Since originalData is being constructed for every DO, this flag "knows" if DataStruct has any useful content.



readOnly
public boolean readOnly(Code)
A DO refers to this DataStruct. readOnly is set to true when the DO is stored in its class cache.





Method Detail
compareCond
public boolean compareCond(Condition cond)(Code)
Compares whether this DataStruct object satisfies condition cond.
Parameters:
  cond - Condition of the query. true if this DataStruct object satisfies condition of this query,otherwise false.



duplicate
public PersonDataStruct duplicate() throws DatabaseManagerException, ObjectIdException(Code)
Create a copy of the guts of a DO. Copied DataStruct object.
exception:
  DatabaseManagerException - if createExisting() fails for a contained DO
exception:
  ObjectIdException - if GenericDO has trouble obtaining a valid id.



getFirstName
public String getFirstName()(Code)



getLastName
public String getLastName()(Code)



getOId
public ObjectId getOId()(Code)
this object's identifier.



getPhoneNumber
public String getPhoneNumber()(Code)



getVersion
protected int getVersion()(Code)
version



get_CacheHandle
public String get_CacheHandle() throws DatabaseManagerException(Code)
Returns this object's cache handle (String in the form: "."). cache handle.
exception:
  DatabaseManagerException - If a connection to the database cannot be established, etc.



get_Database
public String get_Database()(Code)
name of the logical database this DataStruct belongs to.



get_Handle
public String get_Handle() throws DatabaseManagerException(Code)
Returns this object's handle (identifier as a string). This object's identifier as a string.
exception:
  DatabaseManagerException - If a connection to the database cannot be established, etc.



get_OId
public ObjectId get_OId()(Code)
Returns this object's identifier. this object's identifier.



get_Version
protected int get_Version()(Code)
version



setFirstName
public void setFirstName(String _firstName)(Code)



setLastName
public void setLastName(String _lastName)(Code)



setOId
protected void setOId(ObjectId oId)(Code)

Parameters:
  oId - this object's identifier.



setPhoneNumber
public void setPhoneNumber(String _phoneNumber)(Code)



setVersion
protected void setVersion(int v)(Code)
version



set_Database
public void set_Database(String dbName)(Code)

Parameters:
  dbName - - name of the logical database this DataStruct should belong to.



set_OId
protected void set_OId(ObjectId oId)(Code)
Sets this object's identifier.
Parameters:
  oId - this object's identifier.



set_Version
protected void set_Version(int v)(Code)

Parameters:
  v -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.