01: package org.andromda.metafacades.uml14;
02:
03: import java.util.Collections;
04: import java.util.List;
05:
06: /**
07: * MetafacadeLogic implementation.
08: *
09: * @see org.andromda.metafacades.uml.CallEventFacade
10: */
11: public class CallEventFacadeLogicImpl extends CallEventFacadeLogic {
12: public CallEventFacadeLogicImpl(
13: org.omg.uml.behavioralelements.statemachines.CallEvent metaObject,
14: java.lang.String context) {
15: super (metaObject, context);
16: }
17:
18: /**
19: * @see org.andromda.metafacades.uml.CallEventFacade#getOperation()
20: */
21: public java.lang.Object handleGetOperation() {
22: return metaObject.getOperation();
23: }
24:
25: /**
26: * @see org.andromda.metafacades.uml14.CallEventFacade#getOperations()
27: */
28: protected List handleGetOperations() {
29: final Object operation = this.getOperation();
30: return operation == null ? Collections.EMPTY_LIST : Collections
31: .singletonList(operation);
32: }
33: }
|