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


java.lang.Object
   org.objectweb.speedo.genclass.GenClass

All known Subclasses:   org.objectweb.speedo.genclass.map.MapImpl,  org.objectweb.speedo.genclass.ejb.EJBGenClass,  org.objectweb.speedo.genclass.collection.CollectionImpl,  org.objectweb.speedo.genclass.jdo.JDOGenClass,
GenClass
abstract public class GenClass implements SpeedoGenClassPO,SpeedoGenClassSerializable,Loggable,PBindingCtrl(Code)
This class is a basic implementation of the SpeedoGenClassPO interface. It uses a delegate PBinding.
author:
   S.Chassande-Barrioz


Field Summary
protected  longage
    
protected  ObjectencodedPName
    
protected  intfix
    
protected  intgcid
    
protected  StringlinkedField
    
protected  Listlisteners
    
public transient  Loggerlogger
     The logger used to trace this generic class Defined as transient.
protected  StringmapperName
    
protected  PBindingCtrlpbinding
    
protected  ObjectpnameHints
    
protected  StringprojectName
     is the name of the project name inside which the generic class is used.
protected  PTypeptype
    
protected  booleanspeedoIsActive
    


Method Summary
public  voidbind(PName name)
    
public  booleanelementIsReference()
    
public  booleanexist(Object o)
    
public  PNameexport(Object o)
    
public  PNameexport(Object o, Object o1)
    
public  voidfireSpeedoElementAdded(Object elem)
    
public  voidfireSpeedoElementRemoved(Object elem)
    
public  voidfixCe()
    
public  longgetCeAge()
    
public  intgetCeFixCount()
    
public  ObjectgetCeIdentifier()
    
public  ObjectgetCeObject()
    
public  ObjectgetDataIdentifier(Object o)
    
public  CollectiongetDataIdentifiers(Collection os)
    
public  LoggergetLogger()
    
public  LoggerFactorygetLoggerFactory()
    
public  PClassMappinggetPClassMapping()
    
public  PNamegetPName()
    
public  CollectiongetSpeedoAccessors()
    
public  bytegetStatus()
    
public  voidinit(PType _ptype, String _linkedField, Object _pnameHints, Logger _logger)
    
public  voidinit(PClassMapping mapping)
    
public  voidread(Object o, PAccessor accessor)
    
public  voidread(Object o, PAccessor pAccessor, Object o1)
    
public  voidread(Object o, PAccessor pAccessor, Object o1, boolean forUpdate)
    
public  voidremoveSpeedoAccessor(StateItf sa)
    
public  voidsetCeAge(long l)
    
public  voidsetElements(Object o)
     Assignes the new value of the generic class (Collection, Map or Array or ...).
public  voidsetLogger(Logger _logger)
    
public  voidsetLoggerFactory(LoggerFactory loggerfactory)
    
public  voidsetPName(PName pName)
    
public  voidsetStatus(byte b)
    
public  voidspeedoAdd(Object elem, int gcFieldNumber)
    
public  booleanspeedoAdd(Object elemToAdd, Object hints)
    
public  voidspeedoAddGenClassListener(SpeedoGenClassListener l)
    
public  voidspeedoCopyState(StateItf src, StateItf dest)
    
abstract public  StateItfspeedoCreateState()
    
public  ObjectspeedoGetEncodedPName()
    
public  StringspeedoGetGenClassId()
    
public  HomeItfspeedoGetHome()
    
public  PBindingspeedoGetPBinding()
     the pbinding associated to the generic class.
public  ObjectspeedoGetPNameHints()
    
public  POManagerItfspeedoGetPOManager()
    
public  PTypespeedoGetPType()
    
abstract public  StateItfspeedoGetReferenceState()
    
public  StateItfspeedoGetState()
    
public  booleanspeedoIsActive()
    
public  voidspeedoIsActive(boolean newvalue)
    
public  booleanspeedoIsPersistent()
    
public  booleanspeedoRemove(Object elemToRemove, Object hints)
    
public  voidspeedoSetEncodedPName(Object _encodedPName)
    
public  voidspeedoSetGcId(int _gcid)
    
public  voidspeedoSetLinkedField(String lf)
     Assignes the linked field name for this generic class.
public  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.
public  voidspeedoSetPNameHints(Object hints)
    
public  voidspeedoSetPType(PType _ptype)
     Assignes the PType of the generic class.
abstract public  voidspeedoSetReferenceState(StateItf refAcc)
    
public  voidunbind()
    
public  voidunexport(Object o)
    
public  voidunfixCe()
    
public  voidwrite(Object o, PAccessor accessor)
    

Field Detail
age
protected long age(Code)



encodedPName
protected Object encodedPName(Code)



fix
protected int fix(Code)



gcid
protected int gcid(Code)
Id of the field that references this gen class instance



linkedField
protected String linkedField(Code)
The linked field associated to this gen class



listeners
protected List listeners(Code)
List of SpeedoGenClassListener



logger
public transient Logger logger(Code)
The logger used to trace this generic class Defined as transient.



mapperName
protected String mapperName(Code)
is the name of the mapper inside which the generic class is persistent



pbinding
protected PBindingCtrl pbinding(Code)
is the PBinding which permits to store/load the data into/from the support



pnameHints
protected Object pnameHints(Code)
Is the PName which



projectName
protected String projectName(Code)
is the name of the project name inside which the generic class is used.



ptype
protected PType ptype(Code)
is the type of the generic class



speedoIsActive
protected boolean speedoIsActive(Code)
This fields indicates if the po is active





Method Detail
bind
public void bind(PName name) throws PException(Code)



elementIsReference
public boolean elementIsReference()(Code)



exist
public boolean exist(Object o) throws PException(Code)



export
public PName export(Object o) throws PException(Code)



export
public PName export(Object o, Object o1) throws PException(Code)



fireSpeedoElementAdded
public void fireSpeedoElementAdded(Object elem)(Code)



fireSpeedoElementRemoved
public void fireSpeedoElementRemoved(Object elem)(Code)



fixCe
public void fixCe()(Code)



getCeAge
public long getCeAge()(Code)



getCeFixCount
public int getCeFixCount()(Code)



getCeIdentifier
public Object getCeIdentifier()(Code)



getCeObject
public Object getCeObject()(Code)



getDataIdentifier
public Object getDataIdentifier(Object o)(Code)



getDataIdentifiers
public Collection getDataIdentifiers(Collection os)(Code)



getLogger
public Logger getLogger()(Code)



getLoggerFactory
public LoggerFactory getLoggerFactory()(Code)



getPClassMapping
public PClassMapping getPClassMapping()(Code)



getPName
public PName getPName()(Code)



getSpeedoAccessors
public Collection getSpeedoAccessors()(Code)



getStatus
public byte getStatus()(Code)



init
public void init(PType _ptype, String _linkedField, Object _pnameHints, Logger _logger)(Code)



init
public void init(PClassMapping mapping) throws PException(Code)



read
public void read(Object o, PAccessor accessor) throws PException(Code)



read
public void read(Object o, PAccessor pAccessor, Object o1) throws PException(Code)



read
public void read(Object o, PAccessor pAccessor, Object o1, boolean forUpdate) throws PException(Code)



removeSpeedoAccessor
public void removeSpeedoAccessor(StateItf sa)(Code)



setCeAge
public void setCeAge(long l)(Code)



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



setLogger
public void setLogger(Logger _logger)(Code)



setLoggerFactory
public void setLoggerFactory(LoggerFactory loggerfactory)(Code)



setPName
public void setPName(PName pName)(Code)



setStatus
public void setStatus(byte b)(Code)



speedoAdd
public void speedoAdd(Object elem, int gcFieldNumber)(Code)



speedoAdd
public boolean speedoAdd(Object elemToAdd, Object hints)(Code)



speedoAddGenClassListener
public void speedoAddGenClassListener(SpeedoGenClassListener l)(Code)



speedoCopyState
public void speedoCopyState(StateItf src, StateItf dest)(Code)



speedoCreateState
abstract public StateItf speedoCreateState()(Code)



speedoGetEncodedPName
public Object speedoGetEncodedPName()(Code)



speedoGetGenClassId
public 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'



speedoGetHome
public HomeItf speedoGetHome()(Code)



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



speedoGetPNameHints
public Object speedoGetPNameHints()(Code)



speedoGetPOManager
public POManagerItf speedoGetPOManager()(Code)



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



speedoGetReferenceState
abstract public StateItf speedoGetReferenceState()(Code)



speedoGetState
public StateItf speedoGetState()(Code)



speedoIsActive
public boolean speedoIsActive()(Code)



speedoIsActive
public void speedoIsActive(boolean newvalue)(Code)



speedoIsPersistent
public boolean speedoIsPersistent()(Code)



speedoRemove
public boolean speedoRemove(Object elemToRemove, Object hints)(Code)



speedoSetEncodedPName
public void speedoSetEncodedPName(Object _encodedPName)(Code)



speedoSetGcId
public void speedoSetGcId(int _gcid)(Code)



speedoSetLinkedField
public 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
public 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
public void speedoSetPNameHints(Object hints)(Code)



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



speedoSetReferenceState
abstract public void speedoSetReferenceState(StateItf refAcc)(Code)



unbind
public void unbind() throws PException(Code)



unexport
public void unexport(Object o) throws PException(Code)



unfixCe
public void unfixCe() throws UnFixProtocolException(Code)



write
public void write(Object o, PAccessor accessor) throws PException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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