Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IdentifiableBean |
|
| 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 java.net.URI; | |
13 | ||
14 | import org.openpermis.policy.Identifiable; | |
15 | ||
16 | /** | |
17 | * Mix-in interface for parts that have an identity. | |
18 | * @since 0.1.0 | |
19 | */ | |
20 | public interface IdentifiableBean extends Identifiable { | |
21 | ||
22 | //---- Methods | |
23 | ||
24 | /** | |
25 | * Sets the identity of this part. | |
26 | * @param identity the new identity of this part. | |
27 | * @since 0.1.0 | |
28 | */ | |
29 | public void setIdentity (URI identity); | |
30 | ||
31 | } |