1 package org.andromda.metafacades.uml14;
2
3 import java.util.Collections;
4 import java.util.List;
5
6
7 /***
8 * MetafacadeLogic implementation.
9 *
10 * @see org.andromda.metafacades.uml.CallEventFacade
11 */
12 public class CallEventFacadeLogicImpl
13 extends CallEventFacadeLogic
14 {
15 public CallEventFacadeLogicImpl(
16 org.omg.uml.behavioralelements.statemachines.CallEvent metaObject,
17 java.lang.String context)
18 {
19 super(metaObject, context);
20 }
21
22 /***
23 * @see org.andromda.metafacades.uml.CallEventFacade#getOperation()
24 */
25 public java.lang.Object handleGetOperation()
26 {
27 return metaObject.getOperation();
28 }
29
30 /***
31 * @see org.andromda.metafacades.uml14.CallEventFacade#getOperations()
32 */
33 protected List handleGetOperations()
34 {
35 final Object operation = this.getOperation();
36 return operation == null ? Collections.EMPTY_LIST : Collections.singletonList(operation);
37 }
38 }