} else if (!inconsistentRefConstraintViewList.isEmpty()) {
int inconsistentRefConstraintViewSize = inconsistentRefConstraintViewList.size();
int index = 0;
for (int i = 0; i < inconsistentRefConstraintViewSize; i++) {
JPAEdmReferentialConstraintView view = inconsistentRefConstraintViewList.get(index);
if (view.isExists() && !view.isConsistent()) {
view.getBuilder().build();
}
if (view.isConsistent()) {
Association newAssociation = new Association();
copyAssociation(newAssociation, associationMap.get(view.getEdmRelationShipName()));
newAssociation.setReferentialConstraint(view.getEdmReferentialConstraint());
consistentAssociatonList.add(newAssociation);
associationMap.put(view.getEdmRelationShipName(), newAssociation);
inconsistentRefConstraintViewList.remove(index);
} else {
associationMap.remove(view.getEdmRelationShipName());
index++;
}
}
}