// we need to have a complete set of the defined CMR fields available for the
// generation process as well.
for (final CmrFieldInfo cmrFieldInfo : entityBeanInfo.cmrFields) {
final EntityBeanInfo roleSource = cmrFieldInfo.mappedBy.roleSource;
final CmrField cmrField = new CmrField(cmrFieldInfo.fieldName,
cmrFieldInfo.fieldType,
CmpUtil.getCmpImplClassName(roleSource.abstractSchemaName, roleSource.ejbClass),
roleSource.local,
cmrFieldInfo.mappedBy.fieldName,
cmrFieldInfo.synthetic);