01: package org.andromda.metafacades.emf.uml2;
02:
03: /**
04: * MetafacadeLogic implementation for
05: * org.andromda.metafacades.uml.TemplateParameterFacade.
06: *
07: * @see org.andromda.metafacades.uml.TemplateParameterFacade
08: */
09: public class TemplateParameterFacadeLogicImpl extends
10: TemplateParameterFacadeLogic {
11: public TemplateParameterFacadeLogicImpl(
12: final org.eclipse.uml2.TemplateParameter metaObject,
13: final String context) {
14: super (metaObject, context);
15: }
16:
17: /**
18: * @see org.andromda.metafacades.uml.TemplateParameterFacade#getParameter()
19: */
20: protected java.lang.Object handleGetParameter() {
21: // TODO: Be sure it works with RSM / MD11.5
22: return metaObject.getParameteredElement();
23: }
24:
25: /**
26: * @see org.andromda.metafacades.uml.TemplateParameterFacade#getDefaultElement()
27: */
28: protected java.lang.Object handleGetDefaultElement() {
29: // TODO: Be sure it works with RSM / MD11.5
30: return metaObject.getDefault();
31: }
32: }
|