Java Doc for SpeedoGenClassPO.java in  » Database-ORM » Speedo_1.4.5 » org » objectweb » speedo » genclass » api » 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 » Speedo_1.4.5 » org.objectweb.speedo.genclass.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.speedo.genclass.api.SpeedoGenClassPO

All known Subclasses:   org.objectweb.speedo.genclass.map.HashtableImpl,  org.objectweb.speedo.genclass.collection.ArrayListImpl,  org.objectweb.speedo.genclass.collection.HashSetImpl,  org.objectweb.speedo.genclass.GenClass,  org.objectweb.speedo.genclass.collection.VectorImpl,  org.objectweb.speedo.genclass.map.HashMapImpl,  org.objectweb.speedo.genclass.map.PropertiesImpl,  org.objectweb.speedo.genclass.collection.LinkedListImpl,  org.objectweb.speedo.genclass.map.TreeMapImpl,
SpeedoGenClassPO
public interface SpeedoGenClassPO extends PersistentObjectItf,SpeedoGenClassCoherence(Code)
This interfaces represents a PersistentObjectItf for a generic class (Collectio, Set, Map, ...) It permits to specify the mapper throught the generic class is persistent. The Mapper name permits to know the type of GenClassMapping and GenClassBinding (rdb, fos, ...). The PType of the generic class permit to known which is GenClassMapping instance to use.
author:
   S.Chassande-Barrioz




Method Summary
 voidclear()
    
 ObjectcreateGenClass()
    
 voidfireSpeedoElementAdded(Object elem)
     Notifies the listeners of this gen class that an element has been added to this gen class.
 voidfireSpeedoElementRemoved(Object elem)
     Notifies the listeners of this gen class that an element has been removed to this gen class.
 voidinit(PType ptype, String linkedField, Object pnameHints, Logger logger)
    
 voidsetElements(Object o)
     Assignes the new value of the generic class (Collection, Map or Array or ...).
 voidspeedoAddGenClassListener(SpeedoGenClassListener l)
     Adds a listener to this gen class instance.
 StringspeedoGetGenClassId()
    
 PBindingspeedoGetPBinding()
     the pbinding associated to the generic class.
 PTypespeedoGetPType()
    
 voidspeedoSetGcId(int gcid)
     Sets the id of this gen class instance (id of the field that references this instance).
 voidspeedoSetLinkedField(String lf)
     Assignes the linked field name for this generic class.
 voidspeedoSetPBinding(PBinding pb)
     assignes the PBinding to use to load/store the generic class Call this method with null value means that the generic is no more persistent.
 voidspeedoSetPNameHints(Object hints)
     Assignes the hints needed to build the PName of the persistent object during the export action.
 voidspeedoSetPType(PType ptype)
     Assignes the PType of the generic class.



Method Detail
clear
void clear()(Code)



createGenClass
Object createGenClass()(Code)



fireSpeedoElementAdded
void fireSpeedoElementAdded(Object elem)(Code)
Notifies the listeners of this gen class that an element has been added to this gen class.
Parameters:
  elem - the element that has been added.



fireSpeedoElementRemoved
void fireSpeedoElementRemoved(Object elem)(Code)
Notifies the listeners of this gen class that an element has been removed to this gen class.
Parameters:
  elem - the element that has been removed.



init
void init(PType ptype, String linkedField, Object pnameHints, Logger logger)(Code)
Initializes a Genclass instance
Parameters:
  ptype - is the PType of the genclass
Parameters:
  linkedField - is the name of the field referencing the genclass
Parameters:
  pnameHints - is a helper using for the identifier allocation (export)persistent
Parameters:
  logger - is the logger instance for logging.



setElements
void setElements(Object o)(Code)
Assignes the new value of the generic class (Collection, Map or Array or ...).



speedoAddGenClassListener
void speedoAddGenClassListener(SpeedoGenClassListener l)(Code)
Adds a listener to this gen class instance. This listener will be notified each time an element is added or removed for this gen class.
Parameters:
  l - a gen class listener.



speedoGetGenClassId
String speedoGetGenClassId()(Code)
a string which represents the fully path of the persistent fieldof the class with wich the generic class is persistent.If the linked fiekf is the 'f1' provided by the class 'com.foo.Bar'then the returned string will be 'com.foo.Bar/f1'



speedoGetPBinding
PBinding speedoGetPBinding()(Code)
the pbinding associated to the generic class. The value is notused if the generic class is not persistent.



speedoGetPType
PType speedoGetPType()(Code)
the PType of the generic class.



speedoSetGcId
void speedoSetGcId(int gcid)(Code)
Sets the id of this gen class instance (id of the field that references this instance).
Parameters:
  gcid - the new id of this gen class instance.



speedoSetLinkedField
void speedoSetLinkedField(String lf)(Code)
Assignes the linked field name for this generic class.
Parameters:
  lf - is tring which represents the fully path of the persistentfield of the class with wich the generic class is persistent.If the linked fiekf is the 'f1' provided by the class 'com.foo.Bar'then the expected string is 'com.foo.Bar/f1'



speedoSetPBinding
void speedoSetPBinding(PBinding pb)(Code)
assignes the PBinding to use to load/store the generic class Call this method with null value means that the generic is no more persistent.
Parameters:
  pb - is the PBinding.



speedoSetPNameHints
void speedoSetPNameHints(Object hints)(Code)
Assignes the hints needed to build the PName of the persistent object during the export action.



speedoSetPType
void speedoSetPType(PType ptype)(Code)
Assignes the PType of the generic class.
Parameters:
  ptype - of the generic class



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