Java Doc for AmberMappedComponent.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » amber » gen » 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 » EJB Server resin 3.1.5 » resin » com.caucho.amber.gen 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.java.gen.ClassComponent
      com.caucho.amber.gen.AmberMappedComponent

All known Subclasses:   com.caucho.amber.gen.EntityComponent,  com.caucho.amber.gen.MappedSuperclassComponent,
AmberMappedComponent
abstract public class AmberMappedComponent extends ClassComponent (Code)
Generates the Java code for the wrapped object.


Field Summary
 String_baseClassName
    
 String_extClassName
    
 RelatedType_relatedType
    

Constructor Summary
public  AmberMappedComponent()
    

Method Summary
 voidgenerateAfterCommit(JavaWriter out, boolean isEntityParent)
    
 voidgenerateAfterRollback(JavaWriter out)
    
 voidgenerateCallbacks(JavaWriter out, String object, ArrayList<JMethod> callbacks)
    
 voidgenerateCascadePersist(JavaWriter out)
    
 voidgenerateCascadeRemove(JavaWriter out)
    
 voidgenerateCopy(JavaWriter out)
    
 voidgenerateCreate(JavaWriter out)
    
 voidgenerateDelete(JavaWriter out)
    
 voidgenerateDeleteForeign(JavaWriter out)
    
 voidgenerateDetach(JavaWriter out, boolean isEntityParent)
    
 voidgenerateDumpRelationships(JavaWriter out)
     Generates checks for entity-relationship consistency.
 voidgenerateExpire(JavaWriter out)
     Generates the expire code.
 voidgenerateFields(JavaWriter out)
     Generates the fields.
 voidgenerateFlush(JavaWriter out)
    
 voidgenerateFlushUpdate(JavaWriter out, boolean isEntityParent)
    
 voidgenerateGetCacheEntity(JavaWriter out)
    
 voidgenerateGetEntityState(JavaWriter out)
    
 voidgenerateGetEntityType(JavaWriter out)
    
 voidgenerateHeader(JavaWriter out, boolean isEntityParent)
     Generates the class header for the generated code.
 voidgenerateHome(JavaWriter out)
    
 voidgenerateHomeFind(JavaWriter out)
    
 voidgenerateHomeFindNew(JavaWriter out)
    
 voidgenerateHomeNew(JavaWriter out)
    
 voidgenerateHomeNewLoading(JavaWriter out, String discriminatorVar)
    
 voidgenerateIncrementVersion(JavaWriter out)
    
 voidgenerateInit(JavaWriter out, boolean isEntityParent)
     Generates the init generated code.
 voidgenerateInternals(JavaWriter out)
    
 voidgenerateIsDirty(JavaWriter out)
     Generates the isDirty code.
 voidgenerateLoad(JavaWriter out, boolean isEntityParent)
    
 voidgenerateLoadFromObject(JavaWriter out, boolean isEntityParent)
    
 voidgenerateLoadGroup(JavaWriter out, int groupIndex)
     Generates the load group.
 voidgenerateLoadKey(JavaWriter out)
     Generates the load key.
 voidgenerateMakePersistent(JavaWriter out)
    
 voidgenerateMatch(JavaWriter out)
     Generates the match code.
 voidgenerateMethods(JavaWriter out)
    
 voidgeneratePrologue(JavaWriter out, HashSet<Object> completedSet)
     Generates the prologue.
 voidgenerateResultSetLoad(JavaWriter out, boolean isEntityParent)
    
 voidgenerateSetLoadMask(JavaWriter out)
    
 voidgenerateSetQuery(JavaWriter out, boolean isEntityParent)
    
 voidgenerateUpdateCacheItem(JavaWriter out, boolean isEntityParent)
     Generates the update cache item.
public  StringgetBaseClassName()
    
public  StringgetBeanClassName()
     Get bean class name.
public  StringgetClassName()
    
 StringgetDebug()
    
public  ArrayList<PersistentDependency>getDependencies()
     Returns the dependencies.
public  voidsetBaseClassName(String baseClassName)
    
public  voidsetExtClassName(String extClassName)
    
 voidsetRelatedType(RelatedType relatedType)
    

Field Detail
_baseClassName
String _baseClassName(Code)



_extClassName
String _extClassName(Code)



_relatedType
RelatedType _relatedType(Code)




Constructor Detail
AmberMappedComponent
public AmberMappedComponent()(Code)




Method Detail
generateAfterCommit
void generateAfterCommit(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the after-commit



generateAfterRollback
void generateAfterRollback(JavaWriter out) throws IOException(Code)
Generates the after-rollback



generateCallbacks
void generateCallbacks(JavaWriter out, String object, ArrayList<JMethod> callbacks) throws IOException(Code)



generateCascadePersist
void generateCascadePersist(JavaWriter out) throws IOException(Code)
Generates the cascade persist



generateCascadeRemove
void generateCascadeRemove(JavaWriter out) throws IOException(Code)
Generates the cascade remove



generateCopy
void generateCopy(JavaWriter out) throws IOException(Code)
Generates the create



generateCreate
void generateCreate(JavaWriter out) throws IOException(Code)
Generates the update



generateDelete
void generateDelete(JavaWriter out) throws IOException(Code)
Generates the delete



generateDeleteForeign
void generateDeleteForeign(JavaWriter out) throws IOException(Code)
Generates the foreign delete



generateDetach
void generateDetach(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the detach



generateDumpRelationships
void generateDumpRelationships(JavaWriter out) throws IOException(Code)
Generates checks for entity-relationship consistency.



generateExpire
void generateExpire(JavaWriter out) throws IOException(Code)
Generates the expire code.



generateFields
void generateFields(JavaWriter out) throws IOException(Code)
Generates the fields.



generateFlush
void generateFlush(JavaWriter out) throws IOException(Code)
Generates the flush



generateFlushUpdate
void generateFlushUpdate(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the update



generateGetCacheEntity
void generateGetCacheEntity(JavaWriter out) throws IOException(Code)
Generates the __caucho_getCacheEntity()



generateGetEntityState
void generateGetEntityState(JavaWriter out) throws IOException(Code)
Generates the get entity state



generateGetEntityType
void generateGetEntityType(JavaWriter out) throws IOException(Code)
Generates the entity type



generateHeader
void generateHeader(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the class header for the generated code.



generateHome
void generateHome(JavaWriter out) throws IOException(Code)
Generates the home methods



generateHomeFind
void generateHomeFind(JavaWriter out) throws IOException(Code)
Generates the home methods



generateHomeFindNew
void generateHomeFindNew(JavaWriter out) throws IOException(Code)



generateHomeNew
void generateHomeNew(JavaWriter out) throws IOException(Code)
Generates the home methods



generateHomeNewLoading
void generateHomeNewLoading(JavaWriter out, String discriminatorVar) throws IOException(Code)
Generates the loading for home_new



generateIncrementVersion
void generateIncrementVersion(JavaWriter out) throws IOException(Code)
Generates the increment version



generateInit
void generateInit(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the init generated code.



generateInternals
void generateInternals(JavaWriter out) throws IOException(Code)



generateIsDirty
void generateIsDirty(JavaWriter out) throws IOException(Code)
Generates the isDirty code.



generateLoad
void generateLoad(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the load



generateLoadFromObject
void generateLoadFromObject(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the cache load



generateLoadGroup
void generateLoadGroup(JavaWriter out, int groupIndex) throws IOException(Code)
Generates the load group.



generateLoadKey
void generateLoadKey(JavaWriter out) throws IOException(Code)
Generates the load key.



generateMakePersistent
void generateMakePersistent(JavaWriter out) throws IOException(Code)
Generates the copy



generateMatch
void generateMatch(JavaWriter out) throws IOException(Code)
Generates the match code.



generateMethods
void generateMethods(JavaWriter out) throws IOException(Code)
Generates the stub methods (needed for EJB)



generatePrologue
void generatePrologue(JavaWriter out, HashSet<Object> completedSet) throws IOException(Code)
Generates the prologue.



generateResultSetLoad
void generateResultSetLoad(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the load



generateSetLoadMask
void generateSetLoadMask(JavaWriter out) throws IOException(Code)



generateSetQuery
void generateSetQuery(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the load



generateUpdateCacheItem
void generateUpdateCacheItem(JavaWriter out, boolean isEntityParent) throws IOException(Code)
Generates the update cache item.



getBaseClassName
public String getBaseClassName()(Code)
Gets the base class name



getBeanClassName
public String getBeanClassName()(Code)
Get bean class name.



getClassName
public String getClassName()(Code)
Sets the ext class name



getDebug
String getDebug()(Code)



getDependencies
public ArrayList<PersistentDependency> getDependencies()(Code)
Returns the dependencies.



setBaseClassName
public void setBaseClassName(String baseClassName)(Code)
Sets the base class name



setExtClassName
public void setExtClassName(String extClassName)(Code)
Sets the ext class name



setRelatedType
void setRelatedType(RelatedType relatedType)(Code)
Sets the bean info for the generator



Methods inherited from com.caucho.java.gen.ClassComponent
protected void generate(JavaWriter out) throws IOException(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.