it.tidalwave.role
Interface Removable

Package class diagram package Removable

public interface Removable

The role of an object that can be removed (e.g. deleted).

Version:
$Id$
Author:
Fabrizio Giudici
Status: stable API

Field Summary
static Removable DEFAULT
          A default Removable which does nothing (useful for implementing the NullObject pattern).
static Class<Removable> Removable
           
 
Method Summary
 void remove()
          Removes the object.
 

Field Detail

Removable

static final Class<Removable> Removable

DEFAULT

static final Removable DEFAULT
A default Removable which does nothing (useful for implementing the NullObject pattern).

Method Detail

remove

void remove()
            throws Exception
Removes the object.

Throws:
Exception - if the operation fails


Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.