Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Nameable |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport | |
3 | * (http://www.vbs.admin.ch) | |
4 | * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch) | |
5 | * All rights reserved. | |
6 | * | |
7 | * Licensed under the Open Permis License which accompanies this distribution, | |
8 | * and is available at http://www.openpermis.org/BSDlicenceKent.txt | |
9 | */ | |
10 | package org.openpermis.policy; | |
11 | ||
12 | /** | |
13 | * Mix-in interface for parts that have a name. | |
14 | * @since 0.1.0 | |
15 | */ | |
16 | public interface Nameable { | |
17 | ||
18 | //---- Methods | |
19 | ||
20 | /** | |
21 | * Returns the name of this part. | |
22 | * @return the name of this part. | |
23 | * @since 0.1.0 | |
24 | */ | |
25 | public String getName (); | |
26 | ||
27 | } |