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


java.lang.Object
   com.caucho.amber.type.Type
      com.caucho.amber.type.AbstractEnhancedType

All known Subclasses:   com.caucho.amber.type.ListenerType,  com.caucho.amber.type.AbstractStatefulType,
AbstractEnhancedType
abstract public class AbstractEnhancedType extends Type (Code)
Represents an abstract enhanced type. Known subclasses: EntityType and ListenerType.


Field Summary
 AmberPersistenceUnit_amberPersistenceUnit
    
 JClass_beanClass
    

Constructor Summary
public  AbstractEnhancedType(AmberPersistenceUnit amberPersistenceUnit)
    

Method Summary
public  voidaddCallback(int callbackIndex, JMethod callback)
     Adds a callback.
public  voidaddPostLoadCallback(JMethod callback)
     Adds a @PostLoad callback.
public  voidaddPostPersistCallback(JMethod callback)
     Adds a post-persist callback.
public  voidaddPostRemoveCallback(JMethod callback)
     Adds a post-remove callback.
public  voidaddPostUpdateCallback(JMethod callback)
     Adds a post-update callback.
public  voidaddPrePersistCallback(JMethod callback)
     Adds a pre-persist callback.
public  voidaddPreRemoveCallback(JMethod callback)
     Adds a pre-remove callback.
public  voidaddPreUpdateCallback(JMethod callback)
     Adds a pre-update callback.
public  voidaddStubMethod(StubMethod method)
    
public  JClassgetBeanClass()
     Gets the bean class.
public  ArrayList<JMethod>getCallbacks(int callbackIndex)
     Gets the callbacks.
public  StringgetClassName()
     Returns the class name.
public  AmberMappedComponentgetComponentGenerator()
     Gets a component generator.
public  StringgetComponentInterfaceName()
     Returns the component interface name.
public  ThrowablegetConfigException()
    
public  ObjectgetInstance()
     Gets the instance.
abstract public  ClassgetInstanceClass()
     Gets the instance class.
protected  ClassgetInstanceClass(Class validationInterface)
     Gets the instance class.
public  StringgetInstanceClassName()
     Gets the instance class name.
public  ClassgetJavaBeanClass()
    
public  ArrayList<StubMethod>getMethods()
    
public  StringgetName()
     Gets the name.
public  AmberPersistenceUnitgetPersistenceUnit()
     Returns the persistence unit.
public  ArrayList<JMethod>getPostLoadCallbacks()
     Gets the post-load callback.
public  ArrayList<JMethod>getPostPersistCallbacks()
     Gets the post-persist callback.
public  ArrayList<JMethod>getPostRemoveCallbacks()
     Gets the post-remove callback.
public  ArrayList<JMethod>getPostUpdateCallbacks()
     Gets the post-update callback.
public  ArrayList<JMethod>getPrePersistCallbacks()
     Gets the pre-persist callback.
public  ArrayList<JMethod>getPreRemoveCallbacks()
     Gets the pre-remove callback.
public  ArrayList<JMethod>getPreUpdateCallbacks()
     Gets the pre-update callback.
public  booleanisEnhanced()
     Returns true if the class is enhanced.
public  booleanisGenerated()
     Returns true if generated.
public  booleanisIdClass()
     Returns true if the class is a key class.
public  booleanisInit()
    
public  voidsetBeanClass(JClass beanClass)
     Sets the bean class.
public  voidsetConfigException(Throwable e)
    
public  voidsetEnhanced(boolean isEnhanced)
     Sets true if the class is enhanced.
public  voidsetGenerated(boolean isGenerated)
     Set true if generated.
public  voidsetIdClass(boolean isIdClass)
    
public  voidsetInstance(Object instance)
     Sets the instance.
public  voidsetInstanceClassLoader(ClassLoader loader)
    
public  voidsetInstanceClassName(String className)
     Sets the instance class name.
public  voidsetName(String name)
     Sets the name.
public  StringtoString()
     Printable version of the listener.

Field Detail
_amberPersistenceUnit
AmberPersistenceUnit _amberPersistenceUnit(Code)



_beanClass
JClass _beanClass(Code)




Constructor Detail
AbstractEnhancedType
public AbstractEnhancedType(AmberPersistenceUnit amberPersistenceUnit)(Code)




Method Detail
addCallback
public void addCallback(int callbackIndex, JMethod callback)(Code)
Adds a callback.



addPostLoadCallback
public void addPostLoadCallback(JMethod callback)(Code)
Adds a @PostLoad callback.



addPostPersistCallback
public void addPostPersistCallback(JMethod callback)(Code)
Adds a post-persist callback.



addPostRemoveCallback
public void addPostRemoveCallback(JMethod callback)(Code)
Adds a post-remove callback.



addPostUpdateCallback
public void addPostUpdateCallback(JMethod callback)(Code)
Adds a post-update callback.



addPrePersistCallback
public void addPrePersistCallback(JMethod callback)(Code)
Adds a pre-persist callback.



addPreRemoveCallback
public void addPreRemoveCallback(JMethod callback)(Code)
Adds a pre-remove callback.



addPreUpdateCallback
public void addPreUpdateCallback(JMethod callback)(Code)
Adds a pre-update callback.



addStubMethod
public void addStubMethod(StubMethod method)(Code)
Adds a stub method



getBeanClass
public JClass getBeanClass()(Code)
Gets the bean class.



getCallbacks
public ArrayList<JMethod> getCallbacks(int callbackIndex)(Code)
Gets the callbacks.



getClassName
public String getClassName()(Code)
Returns the class name.



getComponentGenerator
public AmberMappedComponent getComponentGenerator()(Code)
Gets a component generator.



getComponentInterfaceName
public String getComponentInterfaceName()(Code)
Returns the component interface name.



getConfigException
public Throwable getConfigException()(Code)



getInstance
public Object getInstance()(Code)
Gets the instance.



getInstanceClass
abstract public Class getInstanceClass()(Code)
Gets the instance class.



getInstanceClass
protected Class getInstanceClass(Class validationInterface)(Code)
Gets the instance class.



getInstanceClassName
public String getInstanceClassName()(Code)
Gets the instance class name.



getJavaBeanClass
public Class getJavaBeanClass()(Code)
Returns the java bean class



getMethods
public ArrayList<StubMethod> getMethods()(Code)
Returns the methods



getName
public String getName()(Code)
Gets the name.



getPersistenceUnit
public AmberPersistenceUnit getPersistenceUnit()(Code)
Returns the persistence unit.



getPostLoadCallbacks
public ArrayList<JMethod> getPostLoadCallbacks()(Code)
Gets the post-load callback.



getPostPersistCallbacks
public ArrayList<JMethod> getPostPersistCallbacks()(Code)
Gets the post-persist callback.



getPostRemoveCallbacks
public ArrayList<JMethod> getPostRemoveCallbacks()(Code)
Gets the post-remove callback.



getPostUpdateCallbacks
public ArrayList<JMethod> getPostUpdateCallbacks()(Code)
Gets the post-update callback.



getPrePersistCallbacks
public ArrayList<JMethod> getPrePersistCallbacks()(Code)
Gets the pre-persist callback.



getPreRemoveCallbacks
public ArrayList<JMethod> getPreRemoveCallbacks()(Code)
Gets the pre-remove callback.



getPreUpdateCallbacks
public ArrayList<JMethod> getPreUpdateCallbacks()(Code)
Gets the pre-update callback.



isEnhanced
public boolean isEnhanced()(Code)
Returns true if the class is enhanced.



isGenerated
public boolean isGenerated()(Code)
Returns true if generated.



isIdClass
public boolean isIdClass()(Code)
Returns true if the class is a key class.



isInit
public boolean isInit()(Code)



setBeanClass
public void setBeanClass(JClass beanClass)(Code)
Sets the bean class.



setConfigException
public void setConfigException(Throwable e)(Code)



setEnhanced
public void setEnhanced(boolean isEnhanced)(Code)
Sets true if the class is enhanced.



setGenerated
public void setGenerated(boolean isGenerated)(Code)
Set true if generated.



setIdClass
public void setIdClass(boolean isIdClass)(Code)
Sets true if the class is a key class, i.e., some entity is annotated with @IdClass(this.class)



setInstance
public void setInstance(Object instance)(Code)
Sets the instance.



setInstanceClassLoader
public void setInstanceClassLoader(ClassLoader loader)(Code)
Sets the instance class loader



setInstanceClassName
public void setInstanceClassName(String className)(Code)
Sets the instance class name.



setName
public void setName(String name)(Code)
Sets the name.



toString
public String toString()(Code)
Printable version of the listener.



Methods inherited from com.caucho.amber.type.Type
public EntityItem findItem(AmberConnection aConn, ResultSet rs, int index) throws SQLException(Code)(Java Doc)
public String fromObject(String value)(Code)(Java Doc)
public String generateCastFromObject(String value)(Code)(Java Doc)
public String generateCreateColumnSQL(AmberPersistenceUnit manager, int length, int precision, int scale)(Code)(Java Doc)
public String generateEquals(String a, String b)(Code)(Java Doc)
public String generateIncrementVersion(String value) throws IOException(Code)(Java Doc)
public String generateIsNull(String value)(Code)(Java Doc)
public int generateLoad(JavaWriter out, String rs, String indexVar, int index) throws IOException(Code)(Java Doc)
public int generateLoad(JavaWriter out, String rs, String indexVar, int index, JClass targetType) throws IOException(Code)(Java Doc)
public int generateLoadForeign(JavaWriter out, String rs, String indexVar, int index) throws IOException(Code)(Java Doc)
public String generateNull()(Code)(Java Doc)
public void generateSet(JavaWriter out, String pstmt, String index, String value) throws IOException(Code)(Java Doc)
public void generateSetNull(JavaWriter out, String pstmt, String index) throws IOException(Code)(Java Doc)
public void generateSetVersion(JavaWriter out, String pstmt, String index, String value) throws IOException(Code)(Java Doc)
public int getColumnCount()(Code)(Java Doc)
public Type getForeignType()(Code)(Java Doc)
public String getForeignTypeName()(Code)(Java Doc)
public String getJavaTypeName()(Code)(Java Doc)
abstract public String getName()(Code)(Java Doc)
public Object getObject(ResultSet rs, int index) throws SQLException(Code)(Java Doc)
public Object getObject(AmberConnection aConn, ResultSet rs, int index) throws SQLException(Code)(Java Doc)
public void init() throws ConfigException(Code)(Java Doc)
public boolean isAssignableTo(JClass javaType)(Code)(Java Doc)
public boolean isAutoIncrement()(Code)(Java Doc)
public boolean isBoolean()(Code)(Java Doc)
public boolean isNumeric()(Code)(Java Doc)
public void setParameter(PreparedStatement pstmt, int index, Object value) throws SQLException(Code)(Java Doc)
public String toObject(String value)(Code)(Java Doc)
public Object toObject(long value)(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.