Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ObligationCollection |
|
| 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 | import java.util.Set; | |
13 | ||
14 | ||
15 | /** | |
16 | * A collection of {@link Obligation}'s. | |
17 | * @since 0.3.0 | |
18 | */ | |
19 | public interface ObligationCollection extends Part { | |
20 | ||
21 | //---- Methods | |
22 | ||
23 | /** | |
24 | * Returns a set of obligations strings. The set may be empty but never be <code>null</code>. | |
25 | * @return the set of obligations strings. | |
26 | * @since 0.3.0 | |
27 | */ | |
28 | Set<String> getObligationStrings (); | |
29 | ||
30 | } |