Java Doc for AbstractGenClassHome.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.mim.lib.AbstractHomeImpl
      org.objectweb.speedo.genclass.AbstractGenClassHome

All known Subclasses:   org.objectweb.speedo.genclass.ejb.EJBGenClassHome,  org.objectweb.speedo.genclass.jdo.JDOGenClassHome,
AbstractGenClassHome
abstract public class AbstractGenClassHome extends AbstractHomeImpl (Code)
This implementation of HomeItf delegated the PClassMapping roles to another instance. This implementation is dedicated to GenClass (Collection, List, Vector, Map, ...).
author:
   S.Chassande-Barrioz


Field Summary
 Stringpath
    
 PClassMappingpcm
     The real PClassMapping instance.

Constructor Summary
public  AbstractGenClassHome(Personality p)
    

Method Summary
public  voidaddAssociation(PClassMapping targetClass, int[] indexes)
    
public  voidclassDefined(PMappingStructuresManager pmsm)
    
public  voidconfigureRefFields(ReferenceConfigurator rc)
    
public  PBindingcreatePBinding()
    
public  booleanexist(PBinding pb, Object conn)
    
public  HashMapgetAssociationTable()
    
public  StringgetClassName()
    
public  PNameCodergetClassPNameCoder()
    
public  PropertiesgetClassProperties()
    
public  PNamegetDecodedPName(TupleCollection tc, PName pname, boolean intermediaryTuple)
    
public  PClassMappinggetGenClassMapping()
    
public  PClassMappinggetGenClassMapping(String fn)
    
public  int[]getIndexesTable(PClassMapping targetClass)
    
public  LoggergetLogger()
    
public  LoggerFactorygetLoggerFactory()
    
public  MetaObjectgetMetaInfo()
    
public  PBindergetPBinder()
    
public  PMappergetPMapper()
    
public  PNameCodergetPNameCoder()
    
public  PNameCodergetPNameCoder(String fn)
    
public  PNameIteratorgetPNameIterator(Object conn, boolean withSubType, boolean prefetching, Object txctx)
    
public  IteratorgetPNameIterator(Object conn)
    
public  PTypegetPType()
    
public  StringgetPath()
    
public  StringgetProjectName()
    
public  PClassMappinggetRealPClassMapping()
    
public  PClassMapping[]getSubPCMs()
    
public  bytegetVersioningStrategy()
    
public  voidinit(PClassMapping _pcm, TransactionalPersistenceManager _tpm, POManagerFactoryItf _pmf, String p)
    
public  voidinit(PMappingCallback mapper, MetaObject metaclass)
    
public  voidinit(PMappingStructuresManager pmsm)
    
public  booleanisConform(String mappername)
    
public  booleanisDetachable()
    
public  voidmakePersistent(POManagerItf pm, PersistentObjectItf sp, SpeedoGenClassPO thepo, Map map)
    
public  voidmakePersistent(POManagerItf pm, Iterator it, SpeedoGenClassPO thepo, Map map)
    
public  booleanmatch(Object obj, boolean b)
    
public  voidread(PBinding pb, Object conn, PAccessor pa)
    
public  voidread(PBinding pb, Object conn, PAccessor pa, Object txctx)
    
public  voidread(PBinding pb, Object conn, PAccessor pa, Object txctx, boolean forUpdate)
    
public  PNameresolve(Object conn, PName pname)
    
public  voidsetLogger(Logger logger)
    
public  voidsetLoggerFactory(LoggerFactory loggerfactory)
    
public  voidsetPBinder(PBinder pb)
    
public  voidsetPrefetchOnGenClass(boolean prefetch)
    
public  voidwrite(PBinding pb, Object conn, PAccessor pa)
    

Field Detail
path
String path(Code)
The path of the genclass (source_class_name#gc_field_name)



pcm
PClassMapping pcm(Code)
The real PClassMapping instance.




Constructor Detail
AbstractGenClassHome
public AbstractGenClassHome(Personality p)(Code)




Method Detail
addAssociation
public void addAssociation(PClassMapping targetClass, int[] indexes)(Code)



classDefined
public void classDefined(PMappingStructuresManager pmsm) throws PException(Code)



configureRefFields
public void configureRefFields(ReferenceConfigurator rc) throws PException, UnsupportedOperationException(Code)



createPBinding
public PBinding createPBinding() throws PException(Code)



exist
public boolean exist(PBinding pb, Object conn) throws PException(Code)



getAssociationTable
public HashMap getAssociationTable()(Code)



getClassName
public String getClassName()(Code)



getClassPNameCoder
public PNameCoder getClassPNameCoder()(Code)



getClassProperties
public Properties getClassProperties()(Code)



getDecodedPName
public PName getDecodedPName(TupleCollection tc, PName pname, boolean intermediaryTuple) throws PException(Code)



getGenClassMapping
public PClassMapping getGenClassMapping() throws UnsupportedOperationException(Code)



getGenClassMapping
public PClassMapping getGenClassMapping(String fn) throws UnsupportedOperationException(Code)



getIndexesTable
public int[] getIndexesTable(PClassMapping targetClass)(Code)



getLogger
public Logger getLogger()(Code)



getLoggerFactory
public LoggerFactory getLoggerFactory()(Code)



getMetaInfo
public MetaObject getMetaInfo()(Code)



getPBinder
public PBinder getPBinder()(Code)



getPMapper
public PMapper getPMapper()(Code)



getPNameCoder
public PNameCoder getPNameCoder() throws UnsupportedOperationException(Code)



getPNameCoder
public PNameCoder getPNameCoder(String fn) throws UnsupportedOperationException(Code)



getPNameIterator
public PNameIterator getPNameIterator(Object conn, boolean withSubType, boolean prefetching, Object txctx) throws PException(Code)



getPNameIterator
public Iterator getPNameIterator(Object conn) throws PException(Code)



getPType
public PType getPType()(Code)



getPath
public String getPath()(Code)



getProjectName
public String getProjectName()(Code)



getRealPClassMapping
public PClassMapping getRealPClassMapping()(Code)



getSubPCMs
public PClassMapping[] getSubPCMs() throws PException(Code)



getVersioningStrategy
public byte getVersioningStrategy()(Code)



init
public void init(PClassMapping _pcm, TransactionalPersistenceManager _tpm, POManagerFactoryItf _pmf, String p)(Code)



init
public void init(PMappingCallback mapper, MetaObject metaclass) throws PException(Code)



init
public void init(PMappingStructuresManager pmsm) throws PException(Code)



isConform
public boolean isConform(String mappername)(Code)



isDetachable
public boolean isDetachable()(Code)



makePersistent
public void makePersistent(POManagerItf pm, PersistentObjectItf sp, SpeedoGenClassPO thepo, Map map)(Code)



makePersistent
public void makePersistent(POManagerItf pm, Iterator it, SpeedoGenClassPO thepo, Map map)(Code)



match
public boolean match(Object obj, boolean b) throws PException(Code)



read
public void read(PBinding pb, Object conn, PAccessor pa) throws PException(Code)



read
public void read(PBinding pb, Object conn, PAccessor pa, Object txctx) throws PException(Code)



read
public void read(PBinding pb, Object conn, PAccessor pa, Object txctx, boolean forUpdate) throws PException(Code)



resolve
public PName resolve(Object conn, PName pname) throws PException(Code)



setLogger
public void setLogger(Logger logger)(Code)



setLoggerFactory
public void setLoggerFactory(LoggerFactory loggerfactory)(Code)



setPBinder
public void setPBinder(PBinder pb) throws PException(Code)



setPrefetchOnGenClass
public void setPrefetchOnGenClass(boolean prefetch)(Code)



write
public void write(PBinding pb, Object conn, PAccessor pa) throws PException(Code)



Fields inherited from org.objectweb.speedo.mim.lib.AbstractHomeImpl
protected Map namedQueries(Code)(Java Doc)
protected Personality personality(Code)(Java Doc)
protected POManagerFactoryItf pmf(Code)(Java Doc)
protected TransactionalPersistenceManager tpm(Code)(Java Doc)
protected UserCache[] userCaches(Code)(Java Doc)

Methods inherited from org.objectweb.speedo.mim.lib.AbstractHomeImpl
public boolean activeUserCache(String cacheName)(Code)(Java Doc)
final public QueryDefinition addNamedQuery(String name, QueryDefinition query)(Code)(Java Doc)
protected synchronized UserCache addUserCache(String userCacheName, String[] fields, int id)(Code)(Java Doc)
public boolean allLoaded()(Code)(Java Doc)
final public void attachCopy(PersistentObjectItf sp, POManagerItf pm, Map map, Object clone, StateItf sa)(Code)(Java Doc)
final public PersistentObjectItf detachCopy(PersistentObjectItf sp, POManagerItf pm, Map map, Object clone, Collection fgHints)(Code)(Java Doc)
public Collection fgGetFieldsToLoad(String fgName)(Code)(Java Doc)
final public Collection fgGetFieldsToLoad(String fgName, boolean onlyDirectRef)(Code)(Java Doc)
public Collection fgGetNestedFetchGroups(String fgName)(Code)(Java Doc)
public boolean fgIsDefined(String fgName)(Code)(Java Doc)
public Collection getActiveUserCache()(Code)(Java Doc)
public Class getClassForQuery(String className, String queryName)(Code)(Java Doc)
final public QueryDefinition getNamedQuery(String name)(Code)(Java Doc)
final public POManagerFactoryItf getPOManagerFactory()(Code)(Java Doc)
public String getPath()(Code)(Java Doc)
public boolean getPrefetchOnExtent()(Code)(Java Doc)
public boolean getPrefetchOnGenClass()(Code)(Java Doc)
public boolean getPrefetchOnQuery()(Code)(Java Doc)
final public StateItf getState(PersistentObjectItf sp)(Code)(Java Doc)
final public TransactionalPersistenceManager getTransactionalPersistenceManager()(Code)(Java Doc)
public UserCache getUserCache(int cacheId)(Code)(Java Doc)
public UserCache getUserCache(Collection fieldNames)(Code)(Java Doc)
public boolean hasToFix()(Code)(Java Doc)
public void initSH()(Code)(Java Doc)
protected boolean isAbstract()(Code)(Java Doc)
public boolean isCacheable()(Code)(Java Doc)
public boolean isFieldLockingLevel()(Code)(Java Doc)
public boolean isShareable()(Code)(Java Doc)
protected PersistentObjectItf newSpeedoPOInstance(Class clazz) throws Exception(Code)(Java Doc)
final public StateItf readIntention(PersistentObjectItf sp, long[] fields)(Code)(Java Doc)
final public QueryDefinition removeNamedQuery(String name)(Code)(Java Doc)
public void setCachePolicy(byte v)(Code)(Java Doc)
public void setFieldLockingLevel(boolean val)(Code)(Java Doc)
final public void setPOManagerFactory(POManagerFactoryItf _pmf)(Code)(Java Doc)
public void setPrefetchOnExtent(boolean prefetch)(Code)(Java Doc)
public void setPrefetchOnGenClass(boolean prefetch)(Code)(Java Doc)
public void setPrefetchOnQuery(boolean prefetch)(Code)(Java Doc)
public void setShareable(boolean v)(Code)(Java Doc)
final public void setTransactionalPersistenceManager(TransactionalPersistenceManager _tpm)(Code)(Java Doc)
public void userCacheEntryUnbound(Object oid)(Code)(Java Doc)
final public StateItf writeIntention(PersistentObjectItf sp, long[] fields)(Code)(Java Doc)
public StateItf writeIntention(PersistentObjectItf sp, long[] fields, Object thinLock)(Code)(Java Doc)

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.