Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ICallback |
|
| 1.0;1 |
1 | package pt.digitalis.dif.dem.interfaces; | |
2 | ||
3 | import pt.digitalis.dif.dem.CallbackType; | |
4 | ||
5 | ||
6 | /** | |
7 | * This interface exposes behavior related to call-back. | |
8 | * | |
9 | *@author Rodrigo Gonçalves <a | |
10 | * href="mailto:rgoncalves@digitalis.pt">rgoncalves@digitalis.pt</a><br/> | |
11 | * @created 2007/05/03 | |
12 | */ | |
13 | public interface ICallback { | |
14 | ||
15 | /** | |
16 | * Returns information about the Entity's callback state. | |
17 | * The default value is F. | |
18 | * | |
19 | * @return T if Entity has Callback enabled, F otherwise | |
20 | */ | |
21 | public boolean hasCallbackEnabled(); | |
22 | ||
23 | /** | |
24 | * Returns the Entity's callback type. | |
25 | * The default value is OFF. | |
26 | * | |
27 | * @return the callback type defined for the Entity. | |
28 | */ | |
29 | public CallbackType getCallbackType(); | |
30 | } |