001package org.andromda.metafacades.uml14; 002 003import java.util.List; 004import org.omg.uml.behavioralelements.usecases.UseCase; 005import org.omg.uml.behavioralelements.usecases.Extend; 006 007/** 008 * MetafacadeLogic implementation for org.andromda.metafacades.uml.ExtendFacade. 009 * 010 * @see org.andromda.metafacades.uml.ExtendFacade 011 * @author Bob Fields 012 */ 013public class ExtendFacadeLogicImpl 014 extends ExtendFacadeLogic 015{ 016 private static final long serialVersionUID = 6837436012981404087L; 017 018 /** 019 * @param metaObject 020 * @param context 021 */ 022 public ExtendFacadeLogicImpl (Extend metaObject, String context) 023 { 024 super (metaObject, context); 025 } 026 027 /** 028 * @see org.andromda.metafacades.uml.ExtendFacade#getBase() 029 */ 030 @Override 031 protected UseCase handleGetBase() 032 { 033 return metaObject.getBase(); 034 } 035 036 /** 037 * @see org.andromda.metafacades.uml.ExtendFacade#getExtensionPoints() 038 */ 039 @Override 040 protected List handleGetExtensionPoints() 041 { 042 return metaObject.getExtensionPoint(); 043 } 044 045 /** 046 * @see org.andromda.metafacades.uml.ExtendFacade#getExtension() 047 */ 048 @Override 049 protected UseCase handleGetExtension() 050 { 051 return metaObject.getExtension(); 052 } 053}