switch (((AssociationAttributeInfo) attribute).getType()) {
case MANY_TO_ONE:
value = new LazyManyToOneAttribute(featureModel, featureBean, name);
break;
case ONE_TO_MANY:
value = new LazyOneToManyAttribute(featureModel, featureBean, name);
break;
default:
throw new LayerException(ExceptionCode.UNEXPECTED_PROBLEM,
"Coding error, not all AssociationType options are covered");
}