public DMPEvent(DMPEventTypeEnum et, DmwWrapper w){
super();
setEventTypeDMP(et);
setSourceObjectClass(w.getConstructionClass());
if (w instanceof DmcNamedObjectIF){
DmcObjectName on = ((DmcNamedObjectIF)w).getObjectName();
if (on != null)
setSource(on);
}
if (et == DMPEventTypeEnum.CREATED){
setSourceObject(w.getDmcObject());
}
else if (et == DMPEventTypeEnum.LOADED){
setSourceObject(w.getDmcObject());
}
else if (et == DMPEventTypeEnum.DELETED){
if (w instanceof DmcNamedObjectIF){
DmcObjectName on = ((DmcNamedObjectIF)w).getObjectName();
if (on != null)
setSource(on);
}
}
else if (et == DMPEventTypeEnum.MODIFIED){