Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IMessage |
|
| 1.0;1 |
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 | import java.util.Map; | |
16 | ||
17 | ||
18 | /** This interface exposes behavior regarding Entity messages. | |
19 | * | |
20 | * @author Rodrigo Gonçalves <a href="mailto:rgoncalves@digitalis.pt">rgoncalves@digitalis.pt</a> | |
21 | * @created 2007/05/03 | |
22 | */ | |
23 | public interface IMessage { | |
24 | ||
25 | /** Returns all messages associated with the Entity. | |
26 | * | |
27 | * @return a map with all the messages related to the Entity | |
28 | */ | |
29 | public Map<String, String> getMessages(); | |
30 | ||
31 | /** Returns a message associated with a given ID | |
32 | * | |
33 | * @param messageID the message ID | |
34 | * @return the message with the given id | |
35 | */ | |
36 | public String getMessage(String messageID); | |
37 | ||
38 | } |