| java.lang.Object com.caucho.amber.cfg.AbstractConfigIntrospector com.caucho.amber.cfg.BaseConfigIntrospector
All known Subclasses: com.caucho.amber.cfg.EmbeddableIntrospector, com.caucho.amber.cfg.MappedSuperIntrospector, com.caucho.amber.cfg.EntityIntrospector,
Inner Class :class Completion | |
Inner Class :class OneToManyCompletion extends Completion | |
Inner Class :class OneToOneCompletion extends Completion | |
Inner Class :class ManyToManyCompletion extends Completion | |
Inner Class :class ManyToOneCompletion extends Completion | |
Inner Class :class EmbeddedCompletion extends Completion | |
Inner Class :class SqlResultSetMappingCompletion extends Completion | |
Inner Class :class AttributeOverrideCompletion extends Completion | |
Method Summary | |
void | addBasic(AbstractStatefulType sourceType, JAccessibleObject field, String fieldName, JClass fieldType, BasicConfig basicConfig) | void | addManyToMany(RelatedType sourceType, JAccessibleObject field, String fieldName, JClass fieldType) | void | addManyToOne(RelatedType sourceType, JAccessibleObject field, String fieldName, JClass fieldType) | void | addSequenceIdGenerator(AmberPersistenceUnit persistenceUnit, KeyPropertyField idField, JAnnotation genAnn) | void | addSqlResultSetMapping(String resultSetName, Object entities, Object columns) Completion callback for sql result set mappings. | void | addTableIdGenerator(AmberPersistenceUnit persistenceUnit, KeyPropertyField idField, JAnnotation idAnn) | void | addVersion(RelatedType sourceType, JAccessibleObject field, String fieldName, JClass fieldType, VersionConfig versionConfig) | public void | configure() Completes all partial bean introspection. | public EntityConfig | getEntityConfig(String className) Returns the entity config for a class name. | void | getInternalAttributeOverrideConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalCallbackConfig(int callback, JClass type, JAccessibleObject method, String fieldName, AnnotationConfig annotationCfg) | void | getInternalDiscriminatorColumnConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalEmbeddableConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalEmbeddedIdConfig(JClass type, JAccessibleObject method, String fieldName, AnnotationConfig annotationCfg) | void | getInternalEntityConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalEntityListenersConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalExcludeDefaultListenersConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalExcludeSuperclassListenersConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalIdClassConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalIdConfig(JClass type, JAccessibleObject method, String fieldName, AnnotationConfig annotationCfg) | void | getInternalInheritanceConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalJoinColumnConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg) | void | getInternalJoinTableConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg) | void | getInternalManyToManyConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg) | void | getInternalManyToOneConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg) | void | getInternalMapKeyConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg) | void | getInternalMappedSuperclassConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalNamedNativeQueryConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalNamedQueryConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalOneToManyConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg) | void | getInternalOneToOneConfig(JClass type, JAccessibleObject field, String fieldName, AnnotationConfig annotationCfg) | void | getInternalPrimaryKeyJoinColumnConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalSecondaryTableConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalSqlResultSetMappingConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalTableConfig(JClass type, AnnotationConfig annotationCfg) | void | getInternalVersionConfig(JClass type, JAccessibleObject method, String fieldName, AnnotationConfig annotationCfg) | public static JAnnotation | getJoinColumn(JAnnotation joinColumns, String keyName) | public static JAnnotation | getJoinColumn(Object[] columnsAnn, String keyName) | public MappedSuperclassConfig | getMappedSuperclassConfig(String className) Returns the mapped superclass config for a class name. | OneToOneCompletion | getSourceCompletion(RelatedType targetType, String mappedBy) | EntityManyToOneField | getSourceField(RelatedType targetType, String mappedBy, RelatedType sourceType) | public void | initMetaData(ArrayList<EntityMappingsConfig> entityMappingsList, AmberPersistenceUnit persistenceUnit) Initializes the persistence unit meta data:
default listeners and so on. | public void | introspectCallbacks(JClass type, RelatedType entityType) Introspects the callbacks. | public void | introspectCallbacks(AbstractEnhancedType type, JMethod method) Introspects the callbacks. | public void | introspectDefaultListener(EntityListenerConfig listener, AmberPersistenceUnit persistenceUnit) | public void | introspectEntityListener(JClass type, AmberPersistenceUnit persistenceUnit, RelatedType sourceType, String sourceClassName) | public void | introspectEntityListeners(JClass type, RelatedType relatedType, AmberPersistenceUnit persistenceUnit) | void | introspectField(AmberPersistenceUnit persistenceUnit, AbstractStatefulType sourceType, JAccessibleObject field, String fieldName, JClass fieldType, AbstractEnhancedConfig typeConfig) | void | introspectFields(AmberPersistenceUnit persistenceUnit, AbstractStatefulType entityType, AbstractStatefulType parentType, JClass type, AbstractEnhancedConfig typeConfig, boolean isEmbeddable) Introspects the fields. | void | introspectIdField(AmberPersistenceUnit persistenceUnit, RelatedType entityType, RelatedType parentType, JClass type, JClass idClass, MappedSuperclassConfig config) Introspects the fields. | void | introspectIdMethod(AmberPersistenceUnit persistenceUnit, RelatedType entityType, RelatedType parentType, JClass type, JClass idClass, MappedSuperclassConfig config) Introspects the fields. | void | introspectInheritance(AmberPersistenceUnit persistenceUnit, RelatedType entityType, JClass type, JAnnotation inheritanceAnn, InheritanceConfig inheritanceConfig) | public void | introspectListener(JClass type, ListenerType listenerType) | void | introspectMethods(AmberPersistenceUnit persistenceUnit, AbstractStatefulType entityType, AbstractStatefulType parentType, JClass type, AbstractEnhancedConfig typeConfig) Introspects the methods. | void | introspectNamedNativeQueries(JClass type, String typeName) Introspects named native queries. | void | introspectNamedQueries(JClass type, String typeName) Introspects named queries. | void | introspectSqlResultSetMappings(JClass type, RelatedType relatedType, String typeName) Introspects sql result set mappings. | boolean | isField(JClass type, AbstractEnhancedConfig typeConfig, boolean isEmbeddable) | void | linkInheritanceTable(Table primaryTable, Table secondaryTable, JAnnotation joinAnn, PrimaryKeyJoinColumnConfig pkJoinColumnCfg) Links a secondary table. | void | linkInheritanceTable(Table primaryTable, Table secondaryTable, JAnnotation[] joinColumnsAnn, PrimaryKeyJoinColumnConfig pkJoinColumnCfg) Links a secondary table. | void | linkSecondaryTable(Table primaryTable, Table secondaryTable, JAnnotation[] joinColumnsAnn) Links a secondary table. | public void | setEntityMappingsList(ArrayList<EntityMappingsConfig> entityMappingsList) Sets the entity mappings list. | void | validateJoinColumns(JAccessibleObject field, Object[] columnsAnn, HashMap<String, JoinColumnConfig> joinColumnMap, RelatedType targetType) |
BaseConfigIntrospector | public BaseConfigIntrospector()(Code) | | Creates the introspector.
|
addSqlResultSetMapping | void addSqlResultSetMapping(String resultSetName, Object entities, Object columns) throws ConfigException(Code) | | Completion callback for sql result set mappings.
|
configure | public void configure() throws ConfigException(Code) | | Completes all partial bean introspection.
|
getInternalAttributeOverrideConfig | void getInternalAttributeOverrideConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalDiscriminatorColumnConfig | void getInternalDiscriminatorColumnConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalEmbeddableConfig | void getInternalEmbeddableConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalEntityConfig | void getInternalEntityConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalEntityListenersConfig | void getInternalEntityListenersConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalExcludeDefaultListenersConfig | void getInternalExcludeDefaultListenersConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalExcludeSuperclassListenersConfig | void getInternalExcludeSuperclassListenersConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalIdClassConfig | void getInternalIdClassConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalInheritanceConfig | void getInternalInheritanceConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalMappedSuperclassConfig | void getInternalMappedSuperclassConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalNamedNativeQueryConfig | void getInternalNamedNativeQueryConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalNamedQueryConfig | void getInternalNamedQueryConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalPrimaryKeyJoinColumnConfig | void getInternalPrimaryKeyJoinColumnConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalSecondaryTableConfig | void getInternalSecondaryTableConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalSqlResultSetMappingConfig | void getInternalSqlResultSetMappingConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
getInternalTableConfig | void getInternalTableConfig(JClass type, AnnotationConfig annotationCfg)(Code) | | |
introspectCallbacks | public void introspectCallbacks(JClass type, RelatedType entityType) throws ConfigException(Code) | | Introspects the callbacks.
|
introspectNamedNativeQueries | void introspectNamedNativeQueries(JClass type, String typeName)(Code) | | Introspects named native queries.
|
introspectNamedQueries | void introspectNamedQueries(JClass type, String typeName)(Code) | | Introspects named queries.
|
introspectSqlResultSetMappings | void introspectSqlResultSetMappings(JClass type, RelatedType relatedType, String typeName)(Code) | | Introspects sql result set mappings.
|
linkSecondaryTable | void linkSecondaryTable(Table primaryTable, Table secondaryTable, JAnnotation[] joinColumnsAnn) throws ConfigException(Code) | | Links a secondary table.
|
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)
|
|
|