| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetadataProcessor<T,M>
Collection of generic utility functions for extracting persistence related
 metadata from user specified metadata available in various source 
 environment.  
 
 Persistence metadata needs to be acquired from different sources such as
 annotated source code, compiled class files, XML descriptors or combinations
 thereof under different invocation and configuration context. 
 
 
 Specific implementation of this interface is distinguished by the nature of 
 the source and the representation available for type system in the source.
| Method Summary | |
|---|---|
|  int | determineMemberAccess(M m)Determine the access type of the given member. | 
|  int | determineTypeAccess(T t)Determine the access type of the given type. | 
|  Set<M> | getPersistentMembers(T t)Get the persistent members of the given type. | 
|  T | getPersistentSupertype(T t) | 
|  boolean | isMixedAccess(T t)Affirms if the members of given type are using both field and property based access. | 
|  List<Exception> | validateAccess(T t)Gets the violations, if any. | 
| Method Detail | 
|---|
int determineTypeAccess(T t)
int determineMemberAccess(M m)
Set<M> getPersistentMembers(T t)
List<Exception> validateAccess(T t)
boolean isMixedAccess(T t)
T getPersistentSupertype(T t)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||