001package org.andromda.metafacades.uml14; 002 003import java.util.Collection; 004import org.omg.uml.foundation.core.Namespace; 005 006/** 007 * MetafacadeLogic implementation. 008 * 009 * @see org.andromda.metafacades.uml.NamespaceFacade 010 * @author Bob Fields 011 */ 012public class NamespaceFacadeLogicImpl 013 extends NamespaceFacadeLogic 014{ 015 private static final long serialVersionUID = 7205410153518880890L; 016 // ---------------- constructor ------------------------------- 017 /** 018 * @param metaObject 019 * @param context 020 */ 021 public NamespaceFacadeLogicImpl( 022 org.omg.uml.foundation.core.Namespace metaObject, 023 String context) 024 { 025 super(metaObject, context); 026 } 027 028 // ------------- relations ------------------ 029 /** 030 * @see org.andromda.metafacades.uml14.NamespaceFacadeLogic#handleGetOwnedElements() 031 */ 032 protected Collection handleGetOwnedElements() 033 { 034 return ((Namespace)metaObject).getOwnedElement(); 035 } 036}