Package org.datanucleus.enhancer
Interface EnhancementNamer
-
- All Known Implementing Classes:
JDOEnhancementNamer
,JPAEnhancementNamer
public interface EnhancementNamer
Interface defining the naming of fields/classes used in enhancement.
-
-
Method Summary
-
-
-
Method Detail
-
getStateManagerFieldName
String getStateManagerFieldName()
-
getFlagsFieldName
String getFlagsFieldName()
-
getFieldNamesFieldName
String getFieldNamesFieldName()
-
getInheritedFieldCountFieldName
String getInheritedFieldCountFieldName()
-
getDetachedStateFieldName
String getDetachedStateFieldName()
-
getSerialVersionUidFieldName
String getSerialVersionUidFieldName()
-
getFieldNamesInitMethodName
String getFieldNamesInitMethodName()
-
getGetObjectIdMethodName
String getGetObjectIdMethodName()
-
getGetTransactionalObjectIdMethodName
String getGetTransactionalObjectIdMethodName()
-
getGetVersionMethodName
String getGetVersionMethodName()
-
getIsDetachedMethodName
String getIsDetachedMethodName()
-
getIsDetachedInternalMethodName
String getIsDetachedInternalMethodName()
-
getIsDeletedMethodName
String getIsDeletedMethodName()
-
getIsDirtyMethodName
String getIsDirtyMethodName()
-
getIsNewMethodName
String getIsNewMethodName()
-
getIsPersistentMethodName
String getIsPersistentMethodName()
-
getIsTransactionalMethodName
String getIsTransactionalMethodName()
-
getGetExecutionContextMethodName
String getGetExecutionContextMethodName()
-
getGetStateManagerMethodName
String getGetStateManagerMethodName()
-
getPreSerializeMethodName
String getPreSerializeMethodName()
-
getGetInheritedFieldCountMethodName
String getGetInheritedFieldCountMethodName()
-
getCloneMethodName
String getCloneMethodName()
-
getGetManagedFieldCountMethodName
String getGetManagedFieldCountMethodName()
-
getLoadClassMethodName
String getLoadClassMethodName()
-
getCopyFieldMethodName
String getCopyFieldMethodName()
-
getCopyFieldsMethodName
String getCopyFieldsMethodName()
-
getCopyKeyFieldsFromObjectIdMethodName
String getCopyKeyFieldsFromObjectIdMethodName()
-
getCopyKeyFieldsToObjectIdMethodName
String getCopyKeyFieldsToObjectIdMethodName()
-
getProvideFieldMethodName
String getProvideFieldMethodName()
-
getProvideFieldsMethodName
String getProvideFieldsMethodName()
-
getReplaceFieldMethodName
String getReplaceFieldMethodName()
-
getReplaceFieldsMethodName
String getReplaceFieldsMethodName()
-
getReplaceFlagsMethodName
String getReplaceFlagsMethodName()
-
getReplaceStateManagerMethodName
String getReplaceStateManagerMethodName()
-
getReplaceDetachedStateMethodName
String getReplaceDetachedStateMethodName()
-
getMakeDirtyMethodName
String getMakeDirtyMethodName()
-
getMakeDirtyDetachedMethodName
String getMakeDirtyDetachedMethodName()
-
getNewInstanceMethodName
String getNewInstanceMethodName()
-
getNewObjectIdInstanceMethodName
String getNewObjectIdInstanceMethodName()
-
getGetMethodPrefixMethodName
String getGetMethodPrefixMethodName()
-
getSetMethodPrefixMethodName
String getSetMethodPrefixMethodName()
-
getDetachListenerAsmClassName
String getDetachListenerAsmClassName()
-
getStateManagerAsmClassName
String getStateManagerAsmClassName()
-
getExecutionContextAsmClassName
String getExecutionContextAsmClassName()
-
getPersistableAsmClassName
String getPersistableAsmClassName()
-
getDetachableAsmClassName
String getDetachableAsmClassName()
-
getObjectIdFieldConsumerAsmClassName
String getObjectIdFieldConsumerAsmClassName()
-
getObjectIdFieldSupplierAsmClassName
String getObjectIdFieldSupplierAsmClassName()
-
getDetachedFieldAccessExceptionAsmClassName
String getDetachedFieldAccessExceptionAsmClassName()
-
getFatalInternalExceptionAsmClassName
String getFatalInternalExceptionAsmClassName()
-
getImplHelperAsmClassName
String getImplHelperAsmClassName()
-
getSingleFieldIdentityDescriptor
String getSingleFieldIdentityDescriptor(String oidClassName)
Accessor for the descriptor for a SingleFieldIdentity type.- Parameters:
oidClassName
- Name of the SingleFieldIdentity class- Returns:
- The descriptor of the SingleFieldIdentity type
-
getTypeDescriptorForSingleFieldIdentityGetKey
String getTypeDescriptorForSingleFieldIdentityGetKey(String oidClassName)
Method to return the type descriptor for the key of the provided single-field identity class name.- Parameters:
oidClassName
- Single-field identity class name- Returns:
- The type descriptor for the key
-
getTypeNameForUseWithSingleFieldIdentity
String getTypeNameForUseWithSingleFieldIdentity(String oidClassName)
Convenience method to give the method type name for a singleFieldIdentity class name. Used for aaaCopyKeyFields[To/From]ObjectId and defines the "type name" used for things like storeXXXField.- Byte, byte : returns "Byte"
- Character, char : returns "Char"
- Integer, int : returns "Int"
- Long, long : returns "Long"
- Short, short : returns "Short"
- String : returns "String"
- all others : returns "Object"
- Parameters:
oidClassName
- Name of the single field identity class- Returns:
- Name for the method
-
getStateManagerDescriptor
String getStateManagerDescriptor()
-
getExecutionContextDescriptor
String getExecutionContextDescriptor()
-
getPersistableDescriptor
String getPersistableDescriptor()
-
getDetachableDescriptor
String getDetachableDescriptor()
-
getObjectIdFieldConsumerDescriptor
String getObjectIdFieldConsumerDescriptor()
-
getObjectIdFieldSupplierDescriptor
String getObjectIdFieldSupplierDescriptor()
-
getExecutionContextClass
Class getExecutionContextClass()
-
getStateManagerClass
Class getStateManagerClass()
-
getPersistableClass
Class getPersistableClass()
-
getDetachableClass
Class getDetachableClass()
-
getObjectIdFieldSupplierClass
Class getObjectIdFieldSupplierClass()
-
getObjectIdFieldConsumerClass
Class getObjectIdFieldConsumerClass()
-
getObjectIdentityClass
Class getObjectIdentityClass()
-
-