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