01: package org.andromda.metafacades.emf.uml2;
02:
03: /**
04: * MetafacadeLogic implementation for
05: * org.andromda.metafacades.uml.GeneralizationFacade.
06: *
07: * @see org.andromda.metafacades.uml.GeneralizationFacade
08: */
09: public class GeneralizationFacadeLogicImpl extends
10: GeneralizationFacadeLogic {
11: public GeneralizationFacadeLogicImpl(
12: final org.eclipse.uml2.Generalization metaObject,
13: final String context) {
14: super (metaObject, context);
15: }
16:
17: /**
18: * @see org.andromda.metafacades.uml.GeneralizationFacade#getChild()
19: */
20: protected java.lang.Object handleGetChild() {
21: return this .metaObject.getSpecific();
22: }
23:
24: /**
25: * @see org.andromda.metafacades.uml.GeneralizationFacade#getParent()
26: */
27: protected java.lang.Object handleGetParent() {
28: return this.metaObject.getGeneral();
29: }
30: }
|