001package org.andromda.cartridges.bpm4struts.metafacades; 002 003import org.andromda.utils.StringUtilsHelper; 004 005/** 006 * 007 */ 008public class StrutsSessionObjectLogicImpl 009 extends StrutsSessionObjectLogic 010{ 011 private static final long serialVersionUID = 34L; 012 /** 013 * @param metaObject 014 * @param context 015 */ 016 public StrutsSessionObjectLogicImpl( 017 Object metaObject, 018 String context) 019 { 020 super(metaObject, context); 021 } 022 023 /** 024 * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsSessionObjectLogic#handleGetSessionKey() 025 */ 026 protected String handleGetSessionKey() 027 { 028 return StringUtilsHelper.lowerCamelCaseName(getName()); 029 } 030 031 /** 032 * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsSessionObjectLogic#handleGetFullPath() 033 */ 034 protected String handleGetFullPath() 035 { 036 return '/' + getFullyQualifiedName().replace('.', '/'); 037 } 038}