final EjbRelationshipRoleType leftRole = roles.get(0); final EjbRelationshipRoleType.RelationshipRoleSource leftRoleSource = leftRole.getRelationshipRoleSource(); final String leftEjbName = leftRoleSource == null ? null : leftRoleSource.getEjbName(); final EntityData leftEntityData = entities.get(moduleId + "#" + leftEjbName); final EjbRelationshipRoleType.CmrField cmrField = leftRole.getCmrField(); RelationField left = null; if (leftRole.getRelationshipRoleSource() != null) { final String leftEjbName = leftRole.getRelationshipRoleSource().getEjbName(); final EntityData leftEntityData = entities.get(moduleId + "#" + leftEjbName); if (leftEntityData == null) { final String rightEjbName = rightRole.getRelationshipRoleSource().getEjbName(); final EntityData rightEntityData = entities.get(moduleId + "#" + rightEjbName);
final EjbRelationshipRoleType leftRole = roles.get(0); final EjbRelationshipRoleType.RelationshipRoleSource leftRoleSource = leftRole.getRelationshipRoleSource(); final String leftEjbName = leftRoleSource == null ? null : leftRoleSource.getEjbName(); final EntityData leftEntityData = entities.get(moduleId + "#" + leftEjbName); final EjbRelationshipRoleType.CmrField cmrField = leftRole.getCmrField(); RelationField left = null; if (leftRole.getRelationshipRoleSource() != null) { final String leftEjbName = leftRole.getRelationshipRoleSource().getEjbName(); final EntityData leftEntityData = entities.get(moduleId + "#" + leftEjbName); if (leftEntityData == null) { final String rightEjbName = rightRole.getRelationshipRoleSource().getEjbName(); final EntityData rightEntityData = entities.get(moduleId + "#" + rightEjbName);
EjbRelationshipRoleType leftRole = roles.get(0); EjbRelationshipRoleType.RelationshipRoleSource leftRoleSource = leftRole.getRelationshipRoleSource(); String leftEjbName = leftRoleSource == null ? null : leftRoleSource.getEjbName(); EntityData leftEntityData = entities.get(moduleId + "#" + leftEjbName); String leftFieldName = leftRole.getCmrField().getCmrFieldName(); RelationField left = null; if (leftRole.getRelationshipRoleSource() != null) { String leftEjbName = leftRole.getRelationshipRoleSource().getEjbName(); EntityData leftEntityData = entities.get(moduleId + "#" + leftEjbName); if (leftEntityData == null) { String rightEjbName = rightRole.getRelationshipRoleSource().getEjbName(); EntityData rightEntityData = entities.get(moduleId + "#" + rightEjbName); if (rightEntityData == null) {