Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
AggregationKindEUMLImpl |
|
| 1.0;1 |
1 | // $Id: AggregationKindEUMLImpl.java 18220 2010-04-08 20:37:15Z tfmorris $ | |
2 | /******************************************************************************* | |
3 | * Copyright (c) 2007,2010 Tom Morris and other contributors | |
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 | * Tom Morris - initial API and implementation | |
11 | *******************************************************************************/ | |
12 | package org.argouml.model.euml; | |
13 | ||
14 | import org.argouml.model.AggregationKind; | |
15 | ||
16 | /** | |
17 | * Eclipse UML2 implementation of AggregationKind. | |
18 | * | |
19 | * @author Tom Morris | |
20 | */ | |
21 | 0 | class AggregationKindEUMLImpl implements AggregationKind { |
22 | ||
23 | public Object getAggregate() { | |
24 | 0 | return org.eclipse.uml2.uml.AggregationKind.SHARED_LITERAL; |
25 | } | |
26 | ||
27 | public Object getComposite() { | |
28 | 0 | return org.eclipse.uml2.uml.AggregationKind.COMPOSITE_LITERAL; |
29 | } | |
30 | ||
31 | public Object getNone() { | |
32 | 0 | return org.eclipse.uml2.uml.AggregationKind.NONE_LITERAL; |
33 | } | |
34 | ||
35 | } |