View Javadoc

1   /**
2    * - Digitalis Internal Framework v2.0 -
3    *
4    * (C) 2007, Digitalis Informatica. 
5    * 
6    * Distribuicao e Gestao de Informatica, Lda.
7    * Estrada de Paco de Arcos num.9 - Piso -1
8    * 2780-666 Paco de Arcos
9    * Telefone: (351) 21 4408990
10   * Fax: (351) 21 4408999
11   * http://www.digitalis.pt 
12   */
13  package pt.digitalis.dif.dem.interfaces;
14  
15  /**
16   * This interface exposes the behavior shared by all the Entity, namely having a name, an ID and an Object (POJO).
17   * 
18   * @author Rodrigo Gonçalves <a href="mailto:rgoncalves@digitalis.pt">rgoncalves@digitalis.pt</a>
19   * @created 2007/05/03
20   */
21  public interface IEntity {
22  
23      /**
24       * Returns the Entity ID.
25       * 
26       * @return the Entity ID
27       */
28      public String getID();
29  
30      /**
31       * Returns the Entity name.
32       * 
33       * @return the Entity name
34       */
35      public String getName();
36  
37      /**
38       * Returns the original entity class name
39       * 
40       * @return the class name
41       */
42      public String getOriginalClassName();
43  
44      /**
45       * Returns the entity's unique ID. The unique ID has the form "<entityType>:<entityID>".
46       * 
47       * @return the entity's UID
48       */
49      public String getUID();
50  }