throw new LayerException(ExceptionCode.UNEXPECTED_PROBLEM,
"Coding error, not all AssociationType options are covered");
}
} else {
PrimitiveType type = ((PrimitiveAttributeInfo) attribute).getType();
value = new LazyPrimitiveAttribute(type, featureModel, featureBean, name);
}
} else {
value = featureModel.getAttribute(featureBean, name);
}
attributes.put(name, value);