1 package org.andromda.cartridges.ejb.metafacades;
2
3 import org.andromda.cartridges.ejb.EJBProfile;
4 import org.apache.commons.lang.StringUtils;
5
6 /**
7 * MetafacadeLogic implementation for org.andromda.cartridges.ejb.metafacades.EJBEntityAttributeFacade.
8 *
9 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityAttributeFacade
10 */
11 public class EJBEntityAttributeFacadeLogicImpl
12 extends EJBEntityAttributeFacadeLogic
13 {
14 private static final long serialVersionUID = 34L;
15 // ---------------- constructor -------------------------------
16
17 /**
18 * @param metaObject
19 * @param context
20 */
21 public EJBEntityAttributeFacadeLogicImpl(Object metaObject, String context)
22 {
23 super(metaObject, context);
24 }
25
26 /**
27 * @return findTaggedValue(EJBProfile.TAGGEDVALUE_EJB_TRANSACTION_TYPE, true)
28 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityAttributeFacade#getTransactionType()
29 */
30 protected String handleGetTransactionType()
31 {
32 return (String)this.findTaggedValue(EJBProfile.TAGGEDVALUE_EJB_TRANSACTION_TYPE, true);
33 }
34
35 /**
36 * @see org.andromda.metafacades.uml.AttributeFacade#getGetterName()
37 */
38 public String getGetterName()
39 {
40 return "get" + StringUtils.capitalize(super.getName());
41 }
42 }