JavaSymbolName.getReservedWordSafeName(javaType));
final MethodParameter idParameter = new MethodParameter(idType, idField
.getFieldName().getSymbolName());
final MethodMetadata versionAccessor = memberDetails
.getMostConcreteMethodWithTag(VERSION_ACCESSOR_METHOD);
final MemberTypeAdditions persistMethod = layerService
.getMemberTypeAdditions(metadataIdentificationString,
PERSIST_METHOD.name(), javaType, idType,
LAYER_POSITION, entityParameter);
final MemberTypeAdditions removeMethod = layerService
.getMemberTypeAdditions(metadataIdentificationString,
REMOVE_METHOD.name(), javaType, idType, LAYER_POSITION,
entityParameter);
final MemberTypeAdditions mergeMethod = layerService
.getMemberTypeAdditions(metadataIdentificationString,
MERGE_METHOD.name(), javaType, idType, LAYER_POSITION,
entityParameter);
final MemberTypeAdditions findAllMethod = layerService
.getMemberTypeAdditions(metadataIdentificationString,
FIND_ALL_METHOD.name(), javaType, idType,
LAYER_POSITION);
final MemberTypeAdditions findAllSortedMethod = layerService
.getMemberTypeAdditions(metadataIdentificationString,
FIND_ALL_SORTED_METHOD.name(), javaType, idType,
LAYER_POSITION, SORT_FIELDNAME_PARAMETER,
SORT_ORDER_PARAMETER);
final MemberTypeAdditions findMethod = layerService
.getMemberTypeAdditions(metadataIdentificationString,
FIND_METHOD.name(), javaType, idType, LAYER_POSITION,
idParameter);
final MemberTypeAdditions countMethod = layerService
.getMemberTypeAdditions(metadataIdentificationString,
COUNT_ALL_METHOD.name(), javaType, idType,
LAYER_POSITION);
final MemberTypeAdditions findEntriesMethod = layerService
.getMemberTypeAdditions(metadataIdentificationString,
FIND_ENTRIES_METHOD.name(), javaType, idType,
LAYER_POSITION, FIRST_RESULT_PARAMETER,
MAX_RESULTS_PARAMETER);
final MemberTypeAdditions findEntriesSortedMethod = layerService
.getMemberTypeAdditions(metadataIdentificationString,
FIND_ENTRIES_SORTED_METHOD.name(), javaType, idType,
LAYER_POSITION, FIRST_RESULT_PARAMETER,
MAX_RESULTS_PARAMETER, SORT_FIELDNAME_PARAMETER,
SORT_ORDER_PARAMETER);