Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Owned |
|
| 1.0;1 |
1 | /* $Id:$ | |
2 | ***************************************************************************** | |
3 | * Copyright (c) 2010 Contributors - see below | |
4 | * All rights reserved. This program and the accompanying materials | |
5 | * are made available under the terms of the Eclipse Public License v1.0 | |
6 | * which accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Bob Tarling | |
11 | ***************************************************************************** | |
12 | */ | |
13 | ||
14 | package org.argouml.kernel; | |
15 | ||
16 | /** | |
17 | * To be implemented by classes that are "owned" by some model element. | |
18 | * e.g. a FigClass is owned by a class, a UMLClassDiagram is owned by a | |
19 | * namespace. | |
20 | * The owner is typically immutable and set by the constructor. Hence not | |
21 | * setter is provided as part of this interface. | |
22 | * | |
23 | * @author Bob Tarling | |
24 | */ | |
25 | public interface Owned { | |
26 | Object getOwner(); | |
27 | } |