예제 #1
0
  /** {@inheritDoc} */
  @Override
  public void delete() {

    if (getHibernateEnumContainer() != null) {
      getHibernateEnumContainer().removeFromHibernateEnums(this);
    }

    setChanged();
    notifyObservers(new SGObjectDeletedModification());
    super.delete();
    deleteObservers();
  }
예제 #2
0
 /** {@inheritDoc} */
 @Override
 public void setName(String name) throws DuplicateResourceException, InvalidNameException {
   name = JavaUtils.getClassName(name);
   super.setName(name);
 }