Map map;
ConfigBean targetBean = valCtx.getTargetBean();
if(targetBean==null)
return;
if(targetBean instanceof ElementProperty)
map = PropertyHelper.getFuturePropertiesMap(valCtx);
else
map = PropertyHelper.getPropertiesMap(targetBean);
String newAsso = (String)map.get(LAZY_CONN_ASSOCIATION);
String newEnlist = (String)map.get(LAZY_CONN_ENLISTMENT);
if(newAsso!=null && newEnlist!=null &&
Boolean.parseBoolean(newAsso) && !Boolean.parseBoolean(newEnlist))
{
reportValidationError(valCtx, "PropsConflict",
"Combination of properties {0}={1} and {2}={3} is not allowed.",
new Object[]{LAZY_CONN_ASSOCIATION, newAsso,
LAZY_CONN_ENLISTMENT, newEnlist});
}