1 package org.andromda.cartridges.meta.metafacades;
2
3 import org.apache.commons.lang.StringUtils;
4
5
6
7
8
9
10
11 public class MetafacadeAttributeLogicImpl
12 extends MetafacadeAttributeLogic
13 {
14 private static final long serialVersionUID = 34L;
15
16
17
18
19 public MetafacadeAttributeLogicImpl(
20 Object metaObjectIn,
21 String context)
22 {
23 super(metaObjectIn, context);
24 }
25
26
27
28
29 @Override
30 protected String handleGetImplementationOperationName()
31 {
32 return StringUtils.trimToEmpty(
33 String.valueOf(
34 this.getConfiguredProperty(
35 MetaGlobals.PROPERTY_IMPLEMENTATION_OPERATION_NAME_PATTERN))).replaceAll(
36 "\\{0\\}",
37 StringUtils.capitalize(this.getGetterName()));
38 }
39 }