/** {@inheritDoc} */ @Override public void delete() { if (getHibernateEnumContainer() != null) { getHibernateEnumContainer().removeFromHibernateEnums(this); } setChanged(); notifyObservers(new SGObjectDeletedModification()); super.delete(); deleteObservers(); }
/** {@inheritDoc} */ @Override public void setName(String name) throws DuplicateResourceException, InvalidNameException { name = JavaUtils.getClassName(name); super.setName(name); }