01: package org.andromda.cartridges.ejb.metafacades;
02:
03: import org.andromda.cartridges.ejb.EJBProfile;
04: import org.apache.commons.lang.StringUtils;
05:
06: /**
07: * MetafacadeLogic implementation for org.andromda.cartridges.ejb.metafacades.EJBEntityAttributeFacade.
08: *
09: * @see org.andromda.cartridges.ejb.metafacades.EJBEntityAttributeFacade
10: */
11: public class EJBEntityAttributeFacadeLogicImpl extends
12: EJBEntityAttributeFacadeLogic {
13: // ---------------- constructor -------------------------------
14:
15: public EJBEntityAttributeFacadeLogicImpl(Object metaObject,
16: String context) {
17: super (metaObject, context);
18: }
19:
20: /**
21: * @see org.andromda.cartridges.ejb.metafacades.EJBEntityAttributeFacade#getTransactionType()
22: */
23: protected java.lang.String handleGetTransactionType() {
24: return (String) this .findTaggedValue(
25: EJBProfile.TAGGEDVALUE_EJB_TRANSACTION_TYPE, true);
26: }
27:
28: /**
29: * @see org.andromda.metafacades.uml.AttributeFacade#getGetterName()
30: */
31: public java.lang.String getGetterName() {
32: return "get" + StringUtils.capitalize(super.getName());
33: }
34: }
|