/** Deletes the object and it's children */ public void deleteObject() { if (this.getObject() != null) { this.getObject().deleteObject(); this.setObject(null); } super.deleteObject(); }