* @param attributes the attributes to set
*/
@SuppressWarnings("unchecked")
public void setAttributes(Map<String, Attribute> attributes) {
if (attributes == null) {
this.attributes = LazyMap.decorate(new HashMap<String, Attribute>(), new AttributeFactory());
}
else {
this.attributes = attributes;
}
}