public boolean addActivityDiagram(ActivityDiagram diagram) {
   if (canAddActivityDiagram()) {
     mActivityDiagram = diagram;
     mActivityDiagram.setParent(this);
     return true;
   }
   return false;
 }
 public boolean removeActivityDiagram() {
   if (mActivityDiagram != null) {
     mActivityDiagram.setParent(null);
     mActivityDiagram = null;
     return true;
   }
   return false;
 }