}
@Override
public void undo() throws CannotUndoException {
CreateAttributeAction action = (CreateAttributeAction) actionManager
.getAction(CreateAttributeAction.getActionName());
if (objEntity != null) {
for (ObjAttribute attr : objAttributes) {
action.createObjAttribute(domain, dataMap, objEntity, attr);
}
}
if (dbEntity != null) {
for (DbAttribute attr : dbAttributes) {
action.createDbAttribute(domain, dataMap, dbEntity, attr);
}
}
if (embeddable != null) {
for (EmbeddableAttribute attr : embeddableAttrs) {
action.createEmbAttribute(embeddable, attr);
}
}
}