Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ActionBean |
|
| 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.bean; | |
11 | ||
12 | import org.openpermis.policy.Action; | |
13 | import org.openpermis.policy.ParameterList; | |
14 | ||
15 | /** | |
16 | * An action is what a subject wants to execute on a resource. | |
17 | * <p>The action features a unique name and a map of parameter names and types.</p> | |
18 | * @since 0.1.0 | |
19 | */ | |
20 | public interface ActionBean | |
21 | extends Action, PartBean, NameableBean | |
22 | { | |
23 | ||
24 | //---- Methods | |
25 | ||
26 | /** | |
27 | * Returns a parameter list. | |
28 | * @return a {@link ParameterList}. | |
29 | * @since 0.1.0 | |
30 | */ | |
31 | public ParameterList getParameters (); | |
32 | ||
33 | /** | |
34 | * Sets parameter list. | |
35 | * @param parameters the parameter list to set. | |
36 | * @since 0.1.0 | |
37 | */ | |
38 | public void setParameters (ParameterList parameters); | |
39 | ||
40 | } |