Java Doc for RelatedType.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
         com.caucho.amber.type.AbstractStatefulType
            com.caucho.amber.type.RelatedType

All known Subclasses:   com.caucho.amber.type.MappedSuperclassType,  com.caucho.amber.type.EntityType,
RelatedType
abstract public class RelatedType extends AbstractStatefulType (Code)
Base for entity or mapped-superclass types.


Field Summary
protected  int_defaultLoadGroupIndex
    
protected  int_dirtyIndex
    
protected  boolean_hasLoadCallback
    
protected  int_loadGroupIndex
    
protected  int_minDirtyIndex
    
 Table_table
    

Constructor Summary
public  RelatedType(AmberPersistenceUnit amberPersistenceUnit)
    

Method Summary
public  voidaddField(AmberField field)
     Adds a new field.
public  voidaddListener(ListenerType listener)
     Adds an entity listener.
public  voidaddSecondaryTable(Table table)
     Adds a secondary table.
public  voidaddSubClass(SubEntityType type)
     Adds a sub-class.
public  EntitycreateBean()
     Creates a new entity for this specific instance type.
public  AmberCompletioncreateManyToOneCompletion(String name, Entity source, Object newTarget)
     Returns a completion for the given field.
public  voiddelete(AmberConnection aConn, Object key)
     Deletes by the primary key.
public  EntityItemfindItem(AmberConnection aConn, ResultSet rs, int index)
    
public  StringgenerateAutoCreateSQL(Table table)
     Generates the auto insert sql.
public  voidgenerateCopyLoadObject(JavaWriter out, String dst, String src, int loadGroup)
     Copy from an object.
public  voidgenerateCopyMergeObject(JavaWriter out, String dst, String src, int loadGroup)
     Copy from an object.
public  voidgenerateCopyUpdateObject(JavaWriter out, String dst, String src, int updateIndex)
     Copy from an object.
public  StringgenerateCreateSQL(Table table)
     Generates the insert sql.
public  voidgenerateDumpRelationships(JavaWriter out, int updateIndex)
     Checks entity-relationships from an object.
public  StringgenerateFullLoadSelect(String id)
     Generates the select clause for a load.
public  StringgenerateIdSelect(String id)
     Generates the select clause for a load.
protected  voidgenerateInsertColumns(Table table, ArrayList<String> columns)
    
public  voidgenerateInsertSet(JavaWriter out, Table table, String pstmt, String query, String obj)
     Generates the update sql.
public  StringgenerateKeyLoadSelect(String id)
     Generates the select clause for a load.
public  intgenerateLoad(JavaWriter out, String rs, String indexVar, int index)
     Generates a string to load the field.
public  voidgenerateLoadFromObject(JavaWriter out, String obj)
     Loads from an object.
public  StringgenerateLoadSelect(String id)
     Generates the select clause for a load.
public  StringgenerateLoadSelect(Table table, String id)
     Generates the select clause for a load.
public  StringgenerateLoadSelect(Table table, String id, int loadGroup)
     Generates the select clause for a load.
public  voidgeneratePostDelete(JavaWriter out)
     Generates code after the remove.
public  intgeneratePostLoadSelect(JavaWriter out, int index, int loadGroupIndex)
     Generates loading code after the basic fields.
public  voidgeneratePreDelete(JavaWriter out)
     Generates code after the remove.
public  voidgenerateSet(JavaWriter out, String pstmt, String index, String value)
     Generates a string to set the field.
public  StringgenerateUpdateSQL(long mask)
     Generates the update sql.
public  booleangenerateUpdateSQLComponent(CharBuffer sql, int group, long mask, boolean isFirst)
     Generates the update sql.
public  voidgenerateUpdateSQLPrefix(CharBuffer sql)
     Generates the update sql.
public  voidgenerateUpdateSQLSuffix(CharBuffer sql)
     Generates the update sql.
public  longgetCacheTimeout()
     Returns the cache timeout.
public  ArrayList<Column>getColumns()
     Returns the columns.
public  intgetDefaultLoadGroupIndex()
     Returns the current load group.
public  intgetDirtyIndex()
     Returns the current dirty group.
public  StringgetDiscriminatorValue()
     Sets the discriminator value.
public  HashSet<String>getEagerFieldNames()
     Gets the EAGER field names.
public  booleangetExcludeDefaultListeners()
     Gets the exclude default listeners flag.
public  booleangetExcludeSuperclassListeners()
     Gets the exclude superclass listeners flag.
public  AmberFieldgetField(String name)
     Returns the field with a given name.
public  intgetFlushPriority()
     Returns the flush priority.
public  StringgetForeignTypeName()
     Returns the java type.
public  IdGeneratorgetGenerator(String name)
     Sets the named generator.
public  booleangetHasLoadCallback()
     True if the load lifecycle callback should be generated.
public  AmberEntityHomegetHome()
     Returns the home.
public  IdgetId()
     Returns the id.
public  ClassgetInstanceClass()
     Gets the instance class.
public  ArrayList<ListenerType>getListeners()
     Gets the entity listeners.
public  intgetLoadGroupIndex()
     Returns the current load group.
public  ObjectgetLoadObject(AmberConnection aConn, ResultSet rs, int index)
     Gets the value.
public  intgetMinDirtyIndex()
     Returns the min dirty group.
public  ObjectgetObject(AmberConnection aConn, ResultSet rs, int index)
     Gets the value.
public  RelatedTypegetParentType()
     Returns the parent type.
public  JClassgetProxyClass()
     Gets the proxy class.
public  StringgetRootTableName()
     Returns the root table name.
public  RelatedTypegetRootType()
     Returns the root type.
public  TablegetSecondaryTable(String name)
     Gets a secondary table.
public  ArrayList<Table>getSecondaryTables()
     Gets the secondary tables.
public  RelatedTypegetSubClass(String discriminator)
     Gets a sub-class.
public  TablegetTable()
     Returns the table.
public  VersionFieldgetVersionField()
     Returns the version field.
public  booleanhasDependent()
     Returns true if and only if it has a many-to-one, one-to-one or embedded field/property.
public  booleanhasLoadGroup(int loadGroupIndex)
     Returns true if there's a field with the matching load group.
public  voidinit()
     Initialize the entity.
public  booleanisAbstractClass()
     Returns true if the corresponding class is abstract.
public  booleanisDirtyIndexOwnedByType(int i)
     Returns true if the load group is owned by this type (not a subtype).
public  booleanisEJBProxy(String typeName)
     XXX: temp hack.
public  booleanisJoinedSubClass()
    
public  booleanisLoadGroupOwnedByType(int i)
     Returns true if the load group is owned by this type (not a subtype).
public  booleanisReadOnly()
    
public  voidnextDefaultLoadGroupIndex()
    
public  intnextDirtyIndex()
    
public  longnextGeneratorId(AmberConnection aConn, String name)
     Gets the named generator.
public  intnextLoadGroupIndex()
     Returns the next load group.
public  voidpostLoad(Entity entity)
    
public  voidpostPersist(Entity entity)
    
public  voidpostRemove(Entity entity)
    
public  voidpostUpdate(Entity entity)
    
public  voidprePersist(Entity entity)
    
public  voidpreRemove(Entity entity)
    
public  voidpreUpdate(Entity entity)
    
public  voidsetCacheTimeout(long timeout)
     Sets the cache timeout.
public  voidsetDiscriminatorValue(String value)
     Sets the discriminator value.
public  voidsetExcludeDefaultListeners(boolean b)
     Sets the exclude default listeners flag.
public  voidsetExcludeSuperclassListeners(boolean b)
     Sets the exclude superclass listeners flag.
public  voidsetGenerator(String name, IdGenerator gen)
     Sets the named generator.
public  voidsetHasDependent(boolean hasDependent)
     Sets true if and only if it has a many-to-one, one-to-one or embedded field/property.
public  voidsetHasLoadCallback(boolean hasCallback)
     True if the load lifecycle callback should be generated.
public  voidsetId(Id id)
     Sets the id.
public  voidsetJoinedSubClass(boolean isJoinedSubClass)
    
public  voidsetProxyClass(JClass proxyClass)
     Gets the proxy class.
public  voidsetReadOnly(boolean isReadOnly)
    
public  voidsetRootTableName(String rootTableName)
     Sets the root table name.
public  voidsetTable(Table table)
     Sets the table.
public  voidsetVersionField(VersionField versionField)
     Sets the version field.
public  voidstart()
     Start the entry.
public  StringtoString()
     Printable version of the entity.
public  voidupdate(Entity entity)
     Deletes by the primary key.
public  intupdateFlushPriority(ArrayList<EntityType> updatingEntities)
     Updates global (persistence unit) entity priorities for flushing.

Field Detail
_defaultLoadGroupIndex
protected int _defaultLoadGroupIndex(Code)



_dirtyIndex
protected int _dirtyIndex(Code)



_hasLoadCallback
protected boolean _hasLoadCallback(Code)



_loadGroupIndex
protected int _loadGroupIndex(Code)



_minDirtyIndex
protected int _minDirtyIndex(Code)



_table
Table _table(Code)




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




Method Detail
addField
public void addField(AmberField field)(Code)
Adds a new field.



addListener
public void addListener(ListenerType listener)(Code)
Adds an entity listener.



addSecondaryTable
public void addSecondaryTable(Table table)(Code)
Adds a secondary table.



addSubClass
public void addSubClass(SubEntityType type)(Code)
Adds a sub-class.



createBean
public Entity createBean()(Code)
Creates a new entity for this specific instance type.



createManyToOneCompletion
public AmberCompletion createManyToOneCompletion(String name, Entity source, Object newTarget)(Code)
Returns a completion for the given field.



delete
public void delete(AmberConnection aConn, Object key) throws SQLException(Code)
Deletes by the primary key.



findItem
public EntityItem findItem(AmberConnection aConn, ResultSet rs, int index) throws SQLException(Code)
Finds the object



generateAutoCreateSQL
public String generateAutoCreateSQL(Table table)(Code)
Generates the auto insert sql.



generateCopyLoadObject
public void generateCopyLoadObject(JavaWriter out, String dst, String src, int loadGroup) throws IOException(Code)
Copy from an object.



generateCopyMergeObject
public void generateCopyMergeObject(JavaWriter out, String dst, String src, int loadGroup) throws IOException(Code)
Copy from an object.



generateCopyUpdateObject
public void generateCopyUpdateObject(JavaWriter out, String dst, String src, int updateIndex) throws IOException(Code)
Copy from an object.



generateCreateSQL
public String generateCreateSQL(Table table)(Code)
Generates the insert sql.



generateDumpRelationships
public void generateDumpRelationships(JavaWriter out, int updateIndex) throws IOException(Code)
Checks entity-relationships from an object.



generateFullLoadSelect
public String generateFullLoadSelect(String id)(Code)
Generates the select clause for a load.



generateIdSelect
public String generateIdSelect(String id)(Code)
Generates the select clause for a load.



generateInsertColumns
protected void generateInsertColumns(Table table, ArrayList<String> columns)(Code)



generateInsertSet
public void generateInsertSet(JavaWriter out, Table table, String pstmt, String query, String obj) throws IOException(Code)
Generates the update sql.



generateKeyLoadSelect
public String generateKeyLoadSelect(String id)(Code)
Generates the select clause for a load.



generateLoad
public int generateLoad(JavaWriter out, String rs, String indexVar, int index) throws IOException(Code)
Generates a string to load the field.



generateLoadFromObject
public void generateLoadFromObject(JavaWriter out, String obj) throws IOException(Code)
Loads from an object.



generateLoadSelect
public String generateLoadSelect(String id)(Code)
Generates the select clause for a load.



generateLoadSelect
public String generateLoadSelect(Table table, String id)(Code)
Generates the select clause for a load.



generateLoadSelect
public String generateLoadSelect(Table table, String id, int loadGroup)(Code)
Generates the select clause for a load.



generatePostDelete
public void generatePostDelete(JavaWriter out) throws IOException(Code)
Generates code after the remove.



generatePostLoadSelect
public int generatePostLoadSelect(JavaWriter out, int index, int loadGroupIndex) throws IOException(Code)
Generates loading code after the basic fields.



generatePreDelete
public void generatePreDelete(JavaWriter out) throws IOException(Code)
Generates code after the remove.



generateSet
public void generateSet(JavaWriter out, String pstmt, String index, String value) throws IOException(Code)
Generates a string to set the field.



generateUpdateSQL
public String generateUpdateSQL(long mask)(Code)
Generates the update sql.



generateUpdateSQLComponent
public boolean generateUpdateSQLComponent(CharBuffer sql, int group, long mask, boolean isFirst)(Code)
Generates the update sql.
Parameters:
  sql - the partially built sql
Parameters:
  group - the dirty group
Parameters:
  mask - the group's mask
Parameters:
  isFirst - marks the first set group



generateUpdateSQLPrefix
public void generateUpdateSQLPrefix(CharBuffer sql)(Code)
Generates the update sql.



generateUpdateSQLSuffix
public void generateUpdateSQLSuffix(CharBuffer sql)(Code)
Generates the update sql.



getCacheTimeout
public long getCacheTimeout()(Code)
Returns the cache timeout.



getColumns
public ArrayList<Column> getColumns()(Code)
Returns the columns.



getDefaultLoadGroupIndex
public int getDefaultLoadGroupIndex()(Code)
Returns the current load group.



getDirtyIndex
public int getDirtyIndex()(Code)
Returns the current dirty group.



getDiscriminatorValue
public String getDiscriminatorValue()(Code)
Sets the discriminator value.



getEagerFieldNames
public HashSet<String> getEagerFieldNames()(Code)
Gets the EAGER field names.



getExcludeDefaultListeners
public boolean getExcludeDefaultListeners()(Code)
Gets the exclude default listeners flag.



getExcludeSuperclassListeners
public boolean getExcludeSuperclassListeners()(Code)
Gets the exclude superclass listeners flag.



getField
public AmberField getField(String name)(Code)
Returns the field with a given name.



getFlushPriority
public int getFlushPriority()(Code)
Returns the flush priority.



getForeignTypeName
public String getForeignTypeName()(Code)
Returns the java type.



getGenerator
public IdGenerator getGenerator(String name)(Code)
Sets the named generator.



getHasLoadCallback
public boolean getHasLoadCallback()(Code)
True if the load lifecycle callback should be generated.



getHome
public AmberEntityHome getHome()(Code)
Returns the home.



getId
public Id getId()(Code)
Returns the id.



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



getListeners
public ArrayList<ListenerType> getListeners()(Code)
Gets the entity listeners.



getLoadGroupIndex
public int getLoadGroupIndex()(Code)
Returns the current load group.



getLoadObject
public Object getLoadObject(AmberConnection aConn, ResultSet rs, int index) throws SQLException(Code)
Gets the value.



getMinDirtyIndex
public int getMinDirtyIndex()(Code)
Returns the min dirty group.



getObject
public Object getObject(AmberConnection aConn, ResultSet rs, int index) throws SQLException(Code)
Gets the value.



getParentType
public RelatedType getParentType()(Code)
Returns the parent type.



getProxyClass
public JClass getProxyClass()(Code)
Gets the proxy class.



getRootTableName
public String getRootTableName()(Code)
Returns the root table name.



getRootType
public RelatedType getRootType()(Code)
Returns the root type.



getSecondaryTable
public Table getSecondaryTable(String name)(Code)
Gets a secondary table.



getSecondaryTables
public ArrayList<Table> getSecondaryTables()(Code)
Gets the secondary tables.



getSubClass
public RelatedType getSubClass(String discriminator)(Code)
Gets a sub-class.



getTable
public Table getTable()(Code)
Returns the table.



getVersionField
public VersionField getVersionField()(Code)
Returns the version field.



hasDependent
public boolean hasDependent()(Code)
Returns true if and only if it has a many-to-one, one-to-one or embedded field/property.



hasLoadGroup
public boolean hasLoadGroup(int loadGroupIndex)(Code)
Returns true if there's a field with the matching load group.



init
public void init() throws ConfigException(Code)
Initialize the entity.



isAbstractClass
public boolean isAbstractClass()(Code)
Returns true if the corresponding class is abstract.



isDirtyIndexOwnedByType
public boolean isDirtyIndexOwnedByType(int i)(Code)
Returns true if the load group is owned by this type (not a subtype).



isEJBProxy
public boolean isEJBProxy(String typeName)(Code)
XXX: temp hack.



isJoinedSubClass
public boolean isJoinedSubClass()(Code)
Set true for joined-subclass



isLoadGroupOwnedByType
public boolean isLoadGroupOwnedByType(int i)(Code)
Returns true if the load group is owned by this type (not a subtype).



isReadOnly
public boolean isReadOnly()(Code)
Returns true if read-only



nextDefaultLoadGroupIndex
public void nextDefaultLoadGroupIndex()(Code)
Sets the next default loadGroupIndex



nextDirtyIndex
public int nextDirtyIndex()(Code)
Returns the next dirty index



nextGeneratorId
public long nextGeneratorId(AmberConnection aConn, String name) throws SQLException(Code)
Gets the named generator.



nextLoadGroupIndex
public int nextLoadGroupIndex()(Code)
Returns the next load group.



postLoad
public void postLoad(Entity entity)(Code)
Callbacks after an entity is loaded



postPersist
public void postPersist(Entity entity)(Code)
Callbacks after an entity is persisted



postRemove
public void postRemove(Entity entity)(Code)
Callbacks after an entity is removeed



postUpdate
public void postUpdate(Entity entity)(Code)
Callbacks after an entity is updated



prePersist
public void prePersist(Entity entity)(Code)
Callbacks before an entity is persisted



preRemove
public void preRemove(Entity entity)(Code)
Callbacks before an entity is removeed



preUpdate
public void preUpdate(Entity entity)(Code)
Callbacks before an entity is updateed



setCacheTimeout
public void setCacheTimeout(long timeout)(Code)
Sets the cache timeout.



setDiscriminatorValue
public void setDiscriminatorValue(String value)(Code)
Sets the discriminator value.



setExcludeDefaultListeners
public void setExcludeDefaultListeners(boolean b)(Code)
Sets the exclude default listeners flag.



setExcludeSuperclassListeners
public void setExcludeSuperclassListeners(boolean b)(Code)
Sets the exclude superclass listeners flag.



setGenerator
public void setGenerator(String name, IdGenerator gen)(Code)
Sets the named generator.



setHasDependent
public void setHasDependent(boolean hasDependent)(Code)
Sets true if and only if it has a many-to-one, one-to-one or embedded field/property.



setHasLoadCallback
public void setHasLoadCallback(boolean hasCallback)(Code)
True if the load lifecycle callback should be generated.



setId
public void setId(Id id)(Code)
Sets the id.



setJoinedSubClass
public void setJoinedSubClass(boolean isJoinedSubClass)(Code)
Set true for joined-subclass



setProxyClass
public void setProxyClass(JClass proxyClass)(Code)
Gets the proxy class.



setReadOnly
public void setReadOnly(boolean isReadOnly)(Code)
Sets true if read-only



setRootTableName
public void setRootTableName(String rootTableName)(Code)
Sets the root table name.



setTable
public void setTable(Table table)(Code)
Sets the table.



setVersionField
public void setVersionField(VersionField versionField)(Code)
Sets the version field.



start
public void start() throws ConfigException(Code)
Start the entry.



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



update
public void update(Entity entity) throws SQLException(Code)
Deletes by the primary key.



updateFlushPriority
public int updateFlushPriority(ArrayList<EntityType> updatingEntities)(Code)
Updates global (persistence unit) entity priorities for flushing.



Methods inherited from com.caucho.amber.type.AbstractStatefulType
public void addCompletionField(String name)(Code)(Java Doc)
public void addDependency(Class cl)(Code)(Java Doc)
public void addDependency(JClass cl)(Code)(Java Doc)
public void addDependency(PersistentDependency depend)(Code)(Java Doc)
public void addField(AmberField field)(Code)(Java Doc)
public void addMappedSuperclassField(AmberField field)(Code)(Java Doc)
public boolean containsCompletionField(String completionField)(Code)(Java Doc)
public String generateCastFromObject(String value)(Code)(Java Doc)
public void generateExpire(JavaWriter out) throws IOException(Code)(Java Doc)
public void generateInvalidateForeign(JavaWriter out) throws IOException(Code)(Java Doc)
public int generateLoad(JavaWriter out, String rs, String indexVar, int index, int loadGroupIndex, ArrayList<AmberField> overriddenFields) throws IOException(Code)(Java Doc)
abstract public String generateLoadSelect(Table table, String id)(Code)(Java Doc)
public String generateLoadSelect(Table table, String id, int loadGroup)(Code)(Java Doc)
public String generateLoadSelect(Table table, String id, int loadGroup, boolean hasSelect)(Code)(Java Doc)
public long getCreateLoadMask(int group)(Code)(Java Doc)
public ArrayList<PersistentDependency> getDependencies()(Code)(Java Doc)
public Column getDiscriminator()(Code)(Java Doc)
public AmberField getField(String name)(Code)(Java Doc)
public static JField getField(JClass cl, String name)(Code)(Java Doc)
public ArrayList<AmberField> getFields()(Code)(Java Doc)
public JMethod getGetter(String name)(Code)(Java Doc)
public static JMethod getGetter(JClass cl, String name)(Code)(Java Doc)
public String getJavaTypeName()(Code)(Java Doc)
public AmberField getMappedSuperclassField(String name)(Code)(Java Doc)
public ArrayList<AmberField> getMappedSuperclassFields()(Code)(Java Doc)
public static JMethod getSetter(JClass cl, String name)(Code)(Java Doc)
public void init() throws ConfigException(Code)(Java Doc)
public boolean isEmbeddable()(Code)(Java Doc)
public boolean isFieldAccess()(Code)(Java Doc)
public void removeAllCompletionFields()(Code)(Java Doc)
public void setBeanClass(JClass beanClass)(Code)(Java Doc)
public void setDiscriminator(Column discriminator)(Code)(Java Doc)
public void setFieldAccess(boolean isFieldAccess)(Code)(Java Doc)
public boolean startConfigure()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from com.caucho.amber.type.AbstractEnhancedType
AmberPersistenceUnit _amberPersistenceUnit(Code)(Java Doc)
JClass _beanClass(Code)(Java Doc)

Methods inherited from com.caucho.amber.type.AbstractEnhancedType
public void addCallback(int callbackIndex, JMethod callback)(Code)(Java Doc)
public void addPostLoadCallback(JMethod callback)(Code)(Java Doc)
public void addPostPersistCallback(JMethod callback)(Code)(Java Doc)
public void addPostRemoveCallback(JMethod callback)(Code)(Java Doc)
public void addPostUpdateCallback(JMethod callback)(Code)(Java Doc)
public void addPrePersistCallback(JMethod callback)(Code)(Java Doc)
public void addPreRemoveCallback(JMethod callback)(Code)(Java Doc)
public void addPreUpdateCallback(JMethod callback)(Code)(Java Doc)
public void addStubMethod(StubMethod method)(Code)(Java Doc)
public JClass getBeanClass()(Code)(Java Doc)
public ArrayList<JMethod> getCallbacks(int callbackIndex)(Code)(Java Doc)
public String getClassName()(Code)(Java Doc)
public AmberMappedComponent getComponentGenerator()(Code)(Java Doc)
public String getComponentInterfaceName()(Code)(Java Doc)
public Throwable getConfigException()(Code)(Java Doc)
public Object getInstance()(Code)(Java Doc)
abstract public Class getInstanceClass()(Code)(Java Doc)
protected Class getInstanceClass(Class validationInterface)(Code)(Java Doc)
public String getInstanceClassName()(Code)(Java Doc)
public Class getJavaBeanClass()(Code)(Java Doc)
public ArrayList<StubMethod> getMethods()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public AmberPersistenceUnit getPersistenceUnit()(Code)(Java Doc)
public ArrayList<JMethod> getPostLoadCallbacks()(Code)(Java Doc)
public ArrayList<JMethod> getPostPersistCallbacks()(Code)(Java Doc)
public ArrayList<JMethod> getPostRemoveCallbacks()(Code)(Java Doc)
public ArrayList<JMethod> getPostUpdateCallbacks()(Code)(Java Doc)
public ArrayList<JMethod> getPrePersistCallbacks()(Code)(Java Doc)
public ArrayList<JMethod> getPreRemoveCallbacks()(Code)(Java Doc)
public ArrayList<JMethod> getPreUpdateCallbacks()(Code)(Java Doc)
public boolean isEnhanced()(Code)(Java Doc)
public boolean isGenerated()(Code)(Java Doc)
public boolean isIdClass()(Code)(Java Doc)
public boolean isInit()(Code)(Java Doc)
public void setBeanClass(JClass beanClass)(Code)(Java Doc)
public void setConfigException(Throwable e)(Code)(Java Doc)
public void setEnhanced(boolean isEnhanced)(Code)(Java Doc)
public void setGenerated(boolean isGenerated)(Code)(Java Doc)
public void setIdClass(boolean isIdClass)(Code)(Java Doc)
public void setInstance(Object instance)(Code)(Java Doc)
public void setInstanceClassLoader(ClassLoader loader)(Code)(Java Doc)
public void setInstanceClassName(String className)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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.