001package org.andromda.metafacades.uml14; 002 003import org.omg.uml.behavioralelements.statemachines.StateMachine; 004import org.omg.uml.behavioralelements.activitygraphs.SubactivityState; 005 006/** 007 * MetafacadeLogic implementation for org.andromda.metafacades.uml.SubactivityStateFacade. 008 * 009 * @see org.andromda.metafacades.uml.SubactivityStateFacade 010 * @author Bob Fields 011 */ 012public class SubactivityStateFacadeLogicImpl 013 extends SubactivityStateFacadeLogic 014{ 015 private static final long serialVersionUID = 34L; 016 // ---------------- constructor ------------------------------- 017 /** 018 * @param metaObject 019 * @param context 020 */ 021 public SubactivityStateFacadeLogicImpl( 022 SubactivityState metaObject, 023 String context) 024 { 025 super(metaObject, context); 026 } 027 028 /** 029 * @see org.andromda.metafacades.uml.SubactivityStateFacade#getSubmachine() 030 */ 031 @Override 032 protected StateMachine handleGetSubmachine() 033 { 034 return metaObject.getSubmachine(); 035 } 036 037 /** 038 * @see org.andromda.metafacades.uml.SubactivityStateFacade#isDynamic() 039 */ 040 @Override 041 protected boolean handleIsDynamic() 042 { 043 return metaObject.isDynamic(); 044 } 045}