001package org.andromda.metafacades.uml14; 002 003import org.omg.uml.foundation.core.GeneralizableElement; 004import org.omg.uml.foundation.core.Generalization; 005 006/** 007 * MetafacadeLogic implementation. 008 * 009 * @see org.andromda.metafacades.uml.GeneralizationFacade 010 * @author Bob Fields 011 */ 012public class GeneralizationFacadeLogicImpl 013 extends GeneralizationFacadeLogic 014{ 015 private static final long serialVersionUID = 5541756660727351738L; 016 017 /** 018 * @param metaObject 019 * @param context 020 */ 021 public GeneralizationFacadeLogicImpl( 022 Generalization metaObject, 023 String context) 024 { 025 super(metaObject, context); 026 } 027 028 // ------------- relations ------------------ 029 030 /** 031 * @see org.andromda.metafacades.uml.GeneralizationFacade#getChild() 032 */ 033 @Override 034 public GeneralizableElement handleGetChild() 035 { 036 return metaObject.getChild(); 037 } 038 039 /** 040 * @see org.andromda.metafacades.uml.GeneralizationFacade#getParent() 041 */ 042 @Override 043 public GeneralizableElement handleGetParent() 044 { 045 return metaObject.getParent(); 046 } 047}