protected void initSmallMessageTypes() {
Map<String, SmallMessageType> smallMessageTypes = new HashMap<String, SmallMessageType>(this.getEntityTypes().size());
List<IApsEntity> types = new ArrayList<IApsEntity>(this.getEntityTypes().values());
for (int i=0; i<types.size(); i++) {
IApsEntity type = types.get(i);
SmallMessageType smallMessageType = new SmallMessageType();
smallMessageType.setCode(type.getTypeCode());
smallMessageType.setDescr(type.getTypeDescr());
smallMessageTypes.put(smallMessageType.getCode(), smallMessageType);
}
this.setSmallMessageTypesMap(smallMessageTypes);
}