1 package org.andromda.cartridges.jsf.metafacades;
2
3 import org.andromda.cartridges.jsf.JSFGlobals;
4
5
6
7
8
9
10 public class JSFBackendServiceLogicImpl
11 extends JSFBackendServiceLogic
12 {
13 private static final long serialVersionUID = 34L;
14
15
16
17
18 public JSFBackendServiceLogicImpl(
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(getConfiguredProperty(JSFGlobals.SERVICE_ACCESSOR_PATTERN));
32 return accessorImplementation.replaceAll("\\{0\\}",
33 getPackageName()).replaceAll("\\{1\\}", getName());
34 }
35
36
37
38
39 public String getFullyQualifiedName()
40 {
41 String packageName = String.valueOf(getConfiguredProperty(JSFGlobals.SERVICE_PACKAGE_NAME_PATTERN));
42 return packageName.replaceAll(
43 "\\{0\\}",
44 super.getPackageName()) + "." + this.getName();
45 }
46 }