getMetadata().setMapKeyConverts(new ArrayList<ConvertMetadata>());
getMetadata().setMapKeyJoinColumns(new ArrayList<JoinColumnMetadata>());
}
public AssociationOverride addMapKeyAssociationOverride() {
AssociationOverrideImpl associationOverride = new AssociationOverrideImpl();
getMetadata().getMapKeyAssociationOverrides().add(associationOverride.getMetadata());
return associationOverride;
}