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


java.lang.Object
   com.caucho.amber.cfg.AbstractConfigIntrospector
      com.caucho.amber.cfg.BaseConfigIntrospector
         com.caucho.amber.cfg.EntityIntrospector

EntityIntrospector
public class EntityIntrospector extends BaseConfigIntrospector (Code)
Configuration for an entity bean


Field Summary
 HashMap<String, RelatedType>_relatedTypeMap
    

Constructor Summary
public  EntityIntrospector(AmberPersistenceUnit persistenceUnit)
     Creates the introspector.

Method Summary
public  RelatedTypeintrospect(JClass type)
     Introspects.
public  booleanisEntity(JClass type)
     Returns true for entity type.

Field Detail
_relatedTypeMap
HashMap<String, RelatedType> _relatedTypeMap(Code)




Constructor Detail
EntityIntrospector
public EntityIntrospector(AmberPersistenceUnit persistenceUnit)(Code)
Creates the introspector.




Method Detail
introspect
public RelatedType introspect(JClass type) throws ConfigException, SQLException(Code)
Introspects.



isEntity
public boolean isEntity(JClass type)(Code)
Returns true for entity type.



Fields inherited from com.caucho.amber.cfg.BaseConfigIntrospector
ArrayList<Completion> _depCompletions(Code)(Java Doc)
HashMap<String, EmbeddableConfig> _embeddableConfigMap(Code)(Java Doc)
ArrayList<EntityMappingsConfig> _entityMappingsList(Code)(Java Doc)
ArrayList<Completion> _linkCompletions(Code)(Java Doc)
HashMap<RelatedType, ArrayList<OneToOneCompletion>> _oneToOneCompletions(Code)(Java Doc)
AmberPersistenceUnit _persistenceUnit(Code)(Java Doc)

Methods inherited from com.caucho.amber.cfg.BaseConfigIntrospector
void addBasic(AbstractStatefulType sourceType, JAccessibleObject field, String fieldName, JClass fieldType, BasicConfig basicConfig) throws ConfigException(Code)(Java Doc)
void addManyToMany(RelatedType sourceType, JAccessibleObject field, String fieldName, JClass fieldType) throws ConfigException(Code)(Java Doc)
void addManyToOne(RelatedType sourceType, JAccessibleObject field, String fieldName, JClass fieldType) throws ConfigException(Code)(Java Doc)
void addSequenceIdGenerator(AmberPersistenceUnit persistenceUnit, KeyPropertyField idField, JAnnotation genAnn) throws ConfigException(Code)(Java Doc)
void addSqlResultSetMapping(String resultSetName, Object entities, Object columns) throws ConfigException(Code)(Java Doc)
void addTableIdGenerator(AmberPersistenceUnit persistenceUnit, KeyPropertyField idField, JAnnotation idAnn) throws ConfigException(Code)(Java Doc)
void addVersion(RelatedType sourceType, JAccessibleObject field, String fieldName, JClass fieldType, VersionConfig versionConfig) throws ConfigException(Code)(Java Doc)
public void configure() throws ConfigException(Code)(Java Doc)
public EntityConfig getEntityConfig(String className)(Code)(Java Doc)
void getInternalAttributeOverrideConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalCallbackConfig(int callback, JClass type, JAccessibleObject method, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalDiscriminatorColumnConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalEmbeddableConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalEmbeddedIdConfig(JClass type, JAccessibleObject method, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalEntityConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalEntityListenersConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalExcludeDefaultListenersConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalExcludeSuperclassListenersConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalIdClassConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalIdConfig(JClass type, JAccessibleObject method, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalInheritanceConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalJoinColumnConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalJoinTableConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalManyToManyConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalManyToOneConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalMapKeyConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalMappedSuperclassConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalNamedNativeQueryConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalNamedQueryConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalOneToManyConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalOneToOneConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalPrimaryKeyJoinColumnConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalSecondaryTableConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalSqlResultSetMappingConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalTableConfig(JClass type, AnnotationConfig annotationCfg)(Code)(Java Doc)
void getInternalVersionConfig(JClass type, JAccessibleObject method, String fieldName, AnnotationConfig annotationCfg)(Code)(Java Doc)
public static JAnnotation getJoinColumn(JAnnotation joinColumns, String keyName)(Code)(Java Doc)
public static JAnnotation getJoinColumn(Object[] columnsAnn, String keyName)(Code)(Java Doc)
public MappedSuperclassConfig getMappedSuperclassConfig(String className)(Code)(Java Doc)
OneToOneCompletion getSourceCompletion(RelatedType targetType, String mappedBy)(Code)(Java Doc)
EntityManyToOneField getSourceField(RelatedType targetType, String mappedBy, RelatedType sourceType)(Code)(Java Doc)
public void initMetaData(ArrayList<EntityMappingsConfig> entityMappingsList, AmberPersistenceUnit persistenceUnit) throws ConfigException(Code)(Java Doc)
public void introspectCallbacks(JClass type, RelatedType entityType) throws ConfigException(Code)(Java Doc)
public void introspectCallbacks(AbstractEnhancedType type, JMethod method) throws ConfigException(Code)(Java Doc)
public void introspectDefaultListener(EntityListenerConfig listener, AmberPersistenceUnit persistenceUnit) throws ConfigException(Code)(Java Doc)
public void introspectEntityListener(JClass type, AmberPersistenceUnit persistenceUnit, RelatedType sourceType, String sourceClassName) throws ConfigException(Code)(Java Doc)
public void introspectEntityListeners(JClass type, RelatedType relatedType, AmberPersistenceUnit persistenceUnit) throws ConfigException(Code)(Java Doc)
void introspectField(AmberPersistenceUnit persistenceUnit, AbstractStatefulType sourceType, JAccessibleObject field, String fieldName, JClass fieldType, AbstractEnhancedConfig typeConfig) throws ConfigException(Code)(Java Doc)
void introspectFields(AmberPersistenceUnit persistenceUnit, AbstractStatefulType entityType, AbstractStatefulType parentType, JClass type, AbstractEnhancedConfig typeConfig, boolean isEmbeddable) throws ConfigException(Code)(Java Doc)
void introspectIdField(AmberPersistenceUnit persistenceUnit, RelatedType entityType, RelatedType parentType, JClass type, JClass idClass, MappedSuperclassConfig config) throws ConfigException, SQLException(Code)(Java Doc)
void introspectIdMethod(AmberPersistenceUnit persistenceUnit, RelatedType entityType, RelatedType parentType, JClass type, JClass idClass, MappedSuperclassConfig config) throws ConfigException, SQLException(Code)(Java Doc)
void introspectInheritance(AmberPersistenceUnit persistenceUnit, RelatedType entityType, JClass type, JAnnotation inheritanceAnn, InheritanceConfig inheritanceConfig) throws ConfigException, SQLException(Code)(Java Doc)
public void introspectListener(JClass type, ListenerType listenerType) throws ConfigException(Code)(Java Doc)
void introspectMethods(AmberPersistenceUnit persistenceUnit, AbstractStatefulType entityType, AbstractStatefulType parentType, JClass type, AbstractEnhancedConfig typeConfig) throws ConfigException(Code)(Java Doc)
void introspectNamedNativeQueries(JClass type, String typeName)(Code)(Java Doc)
void introspectNamedQueries(JClass type, String typeName)(Code)(Java Doc)
void introspectSqlResultSetMappings(JClass type, RelatedType relatedType, String typeName)(Code)(Java Doc)
boolean isField(JClass type, AbstractEnhancedConfig typeConfig, boolean isEmbeddable) throws ConfigException(Code)(Java Doc)
void linkInheritanceTable(Table primaryTable, Table secondaryTable, JAnnotation joinAnn, PrimaryKeyJoinColumnConfig pkJoinColumnCfg) throws ConfigException(Code)(Java Doc)
void linkInheritanceTable(Table primaryTable, Table secondaryTable, JAnnotation[] joinColumnsAnn, PrimaryKeyJoinColumnConfig pkJoinColumnCfg) throws ConfigException(Code)(Java Doc)
void linkSecondaryTable(Table primaryTable, Table secondaryTable, JAnnotation[] joinColumnsAnn) throws ConfigException(Code)(Java Doc)
public void setEntityMappingsList(ArrayList<EntityMappingsConfig> entityMappingsList)(Code)(Java Doc)
void validateJoinColumns(JAccessibleObject field, Object[] columnsAnn, HashMap<String, JoinColumnConfig> joinColumnMap, RelatedType targetType) throws ConfigException(Code)(Java Doc)

Fields inherited from com.caucho.amber.cfg.AbstractConfigIntrospector
AnnotationConfig _annotationCfg(Code)(Java Doc)
static HashSet<String> _basicAnnotations(Code)(Java Doc)
static HashSet<String> _basicTypes(Code)(Java Doc)
static HashSet<String> _embeddedAnnotations(Code)(Java Doc)
static HashSet<String> _embeddedIdAnnotations(Code)(Java Doc)
static HashSet<String> _idAnnotations(Code)(Java Doc)
static HashSet<String> _idTypes(Code)(Java Doc)
static HashSet<String> _manyToManyAnnotations(Code)(Java Doc)
static HashSet<String> _manyToManyTypes(Code)(Java Doc)
static HashSet<String> _manyToOneAnnotations(Code)(Java Doc)
static HashSet<String> _oneToManyAnnotations(Code)(Java Doc)
static HashSet<String> _oneToManyTypes(Code)(Java Doc)
static HashSet<String> _oneToOneAnnotations(Code)(Java Doc)
static HashSet<String> _propertyAnnotations(Code)(Java Doc)
static HashSet<String> _versionAnnotations(Code)(Java Doc)
static HashSet<String> _versionTypes(Code)(Java Doc)

Methods inherited from com.caucho.amber.cfg.AbstractConfigIntrospector
static ArrayList<ForeignColumn> calculateColumns(com.caucho.amber.table.Table mapTable, RelatedType type, Object[] joinColumnsAnn)(Code)(Java Doc)
static ArrayList<ForeignColumn> calculateColumns(JAccessibleObject field, com.caucho.amber.table.Table mapTable, String prefix, RelatedType type, Object[] joinColumnsAnn, HashMap<String, JoinColumnConfig> joinColumnsConfig) throws ConfigException(Code)(Java Doc)
static ArrayList<ForeignColumn> calculateColumns(com.caucho.amber.table.Table mapTable, RelatedType type)(Code)(Java Doc)
static ArrayList<ForeignColumn> calculateColumns(com.caucho.amber.table.Table mapTable, String prefix, RelatedType type)(Code)(Java Doc)
static boolean containsFieldOrCompletion(AbstractStatefulType type, String fieldName)(Code)(Java Doc)
static ConfigException error(JAccessibleObject field, String msg)(Code)(Java Doc)
JAnnotation isAnnotatedMethod(JMethod method) throws ConfigException(Code)(Java Doc)
protected static String loc(JMethod method)(Code)(Java Doc)
protected static String loc(Method method)(Code)(Java Doc)
protected static String loc(JField field)(Code)(Java Doc)
protected static String loc(Field field)(Code)(Java Doc)
static String toFieldName(String name)(Code)(Java Doc)
public static String toSqlName(String name)(Code)(Java Doc)
static void validateAnnotations(JAccessibleObject field, String fieldType, HashSet<String> validAnnotations) throws ConfigException(Code)(Java Doc)
void validateCallback(String callbackName, JMethod method, boolean isListener) throws ConfigException(Code)(Java Doc)
public void validateConstructor(JClass type) throws ConfigException(Code)(Java Doc)
public void validateNonGetter(JMethod method) throws ConfigException(Code)(Java Doc)
public void validateType(JClass type, boolean isEntity) throws ConfigException(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.