1 package org.andromda.cartridges.bpm4struts.metafacades;
2
3 import org.andromda.cartridges.bpm4struts.Bpm4StrutsGlobals;
4
5
6
7
8
9
10 public class StrutsBackendServiceLogicImpl
11 extends StrutsBackendServiceLogic
12 {
13 private static final long serialVersionUID = 34L;
14
15
16
17
18 public StrutsBackendServiceLogicImpl(
19 Object metaObject,
20 String context)
21 {
22 super(metaObject, context);
23 }
24
25
26
27
28
29 protected String handleGetAccessorImplementation()
30 {
31 String accessorImplementation = String.valueOf(
32 getConfiguredProperty(Bpm4StrutsGlobals.SERVICE_ACCESSOR_PATTERN));
33 return accessorImplementation.replaceAll("\\{0\\}", getPackageName()).replaceAll("\\{1\\}", getName());
34 }
35
36
37
38
39 public String getFullyQualifiedName()
40 {
41 String packageName = String.valueOf(
42 getConfiguredProperty(Bpm4StrutsGlobals.SERVICE_PACKAGE_NAME_PATTERN));
43 return packageName.replaceAll("\\{0\\}", super.getPackageName()) + '.' + this.getName();
44 }
45 }