Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
DirectionKindEUMLImpl |
|
| 1.0;1 |
1 | // $Id: DirectionKindEUMLImpl.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 implementation | |
11 | *******************************************************************************/ | |
12 | package org.argouml.model.euml; | |
13 | ||
14 | import org.argouml.model.DirectionKind; | |
15 | import org.eclipse.uml2.uml.ParameterDirectionKind; | |
16 | ||
17 | /** | |
18 | * The Eclipse UML2 implementation of DirectionKind. | |
19 | * | |
20 | * @author Tom Morris | |
21 | */ | |
22 | 0 | class DirectionKindEUMLImpl implements DirectionKind { |
23 | ||
24 | public Object getInOutParameter() { | |
25 | 0 | return ParameterDirectionKind.INOUT_LITERAL; |
26 | } | |
27 | ||
28 | public Object getInParameter() { | |
29 | 0 | return ParameterDirectionKind.IN_LITERAL; |
30 | } | |
31 | ||
32 | public Object getOutParameter() { | |
33 | 0 | return ParameterDirectionKind.OUT_LITERAL; |
34 | } | |
35 | ||
36 | public Object getReturnParameter() { | |
37 | 0 | return ParameterDirectionKind.RETURN_LITERAL; |
38 | } | |
39 | ||
40 | } |