| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetaDataDefaults
Populates new metadata with default values.
| Field Summary | 
|---|
| Fields inherited from interface org.apache.openjpa.event.CallbackModes | 
|---|
| CALLBACK_FAIL_FAST, CALLBACK_IGNORE, CALLBACK_LOG, CALLBACK_RETHROW, CALLBACK_ROLLBACK | 
| Method Summary | |
|---|---|
|  java.lang.reflect.Member | getBackingMember(FieldMetaData field)Return the backing member for the given field metadata. | 
|  int | getCallbackMode()What to do on lifecycle callback exceptions. | 
|  boolean | getCallbacksBeforeListeners(int type)If callbacks are fired before listeners for the given event type. | 
|  int | getDefaultAccessType()Return the default access type for a base persistent class with ClassMetaData.ACCESS_UNKNOWNaccess type. | 
|  int | getDefaultIdentityType()Return the default identity type for unmapped classes without primary key fields. | 
|  java.lang.Class | getUnimplementedExceptionType()Return a runtime exception class to throw for un-implemented managed interface methods. | 
|  boolean | isDataStoreObjectIdFieldUnwrapped()Whether the field in the object id class corresponding to a datastore id persistence-capable primary key field is the simple datastore id value of the related instance. | 
|  boolean | isDeclaredInterfacePersistent()Whether declared interfaces of a class are treated as persistent types. | 
|  void | populate(ClassMetaData meta,
         int access)Populate the given metadata with default settings. | 
|  void | setIgnoreNonPersistent(boolean ignore)Whether to ignore members which are not persistent by default during metadata population. | 
| Method Detail | 
|---|
int getDefaultAccessType()
ClassMetaData.ACCESS_UNKNOWN access type.
int getDefaultIdentityType()
int getCallbackMode()
boolean getCallbacksBeforeListeners(int type)
boolean isDeclaredInterfacePersistent()
boolean isDataStoreObjectIdFieldUnwrapped()
void setIgnoreNonPersistent(boolean ignore)
void populate(ClassMetaData meta,
              int access)
access - access type constant from ClassMetaDatajava.lang.reflect.Member getBackingMember(FieldMetaData field)
java.lang.Class getUnimplementedExceptionType()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||