View Javadoc
1   package org.andromda.cartridges.bpm4struts.metafacades;
2   
3   import org.andromda.utils.StringUtilsHelper;
4   
5   /**
6    *
7    */
8   public class StrutsSessionObjectLogicImpl
9       extends StrutsSessionObjectLogic
10  {
11      private static final long serialVersionUID = 34L;
12      /**
13       * @param metaObject
14       * @param context
15       */
16      public StrutsSessionObjectLogicImpl(
17          Object metaObject,
18          String context)
19      {
20          super(metaObject, context);
21      }
22  
23      /**
24       * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsSessionObjectLogic#handleGetSessionKey()
25       */
26      protected String handleGetSessionKey()
27      {
28          return StringUtilsHelper.lowerCamelCaseName(getName());
29      }
30  
31      /**
32       * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsSessionObjectLogic#handleGetFullPath()
33       */
34      protected String handleGetFullPath()
35      {
36          return '/' + getFullyQualifiedName().replace('.', '/');
37      }
38  }