1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.universAAL.ri.gateway.eimanager.impl.importing;
22
23 import java.util.List;
24 import java.util.Map;
25
26 import org.universAAL.middleware.context.owl.ContextProvider;
27 import org.universAAL.middleware.service.owls.profile.ServiceProfile;
28 import org.universAAL.middleware.bus.member.BusMember;
29 import org.universAAL.middleware.ui.UIHandlerProfile;
30 import org.universAAL.ri.gateway.eimanager.ImportEntry;
31 import org.universAAL.ri.gateway.eimanager.impl.InternalEIOperation;
32 import org.universAAL.ri.gateway.eimanager.impl.registry.RepoOperation;
33
34 public class InternalImportOperation extends InternalEIOperation {
35
36 private String uuid;
37 private String remoteRegisteredProxyId;
38
39 private Map<String, List<ServiceProfile>> realizedServices;
40
41 private ContextProvider contextProvider;
42
43 private UIHandlerProfile[] uiHandlerProfile;
44
45 private ImportEntry importEntry;
46
47 public InternalImportOperation(final BusMember member,
48 final RepoOperation op, final String uuid) {
49 super(member, op);
50 this.uuid = uuid;
51 }
52
53 public String getRemoteRegisteredProxyId() {
54 return remoteRegisteredProxyId;
55 }
56
57 public void setRemoteRegisteredProxyId(final String remoteRegisteredProxyId) {
58 this.remoteRegisteredProxyId = remoteRegisteredProxyId;
59 }
60
61 public String getUuid() {
62 return uuid;
63 }
64
65 public void setUuid(final String uuid) {
66 this.uuid = uuid;
67 }
68
69 public ContextProvider getContextProvider() {
70 return contextProvider;
71 }
72
73 public void setContextProvider(final ContextProvider contextProvider) {
74 this.contextProvider = contextProvider;
75 }
76
77 public UIHandlerProfile[] getUiHandlerProfiles() {
78 return uiHandlerProfile;
79 }
80
81 public void setUiHandlerProfiles(final UIHandlerProfile uiHandlerProfile[]) {
82 this.uiHandlerProfile = uiHandlerProfile;
83 }
84
85 public ImportEntry getImportEntry() {
86 return importEntry;
87 }
88
89 public void setImportEntry(final ImportEntry importEntry) {
90 if (this.importEntry != null) {
91 throw new IllegalArgumentException("Cannot do it twice");
92 }
93 this.importEntry = importEntry;
94 }
95
96 public Map<String, List<ServiceProfile>> getRealizedServices() {
97 return realizedServices;
98 }
99
100 public void setRealizedServices(Map<String, List<ServiceProfile>> realizedServices) {
101 this.realizedServices = realizedServices;
102 }
103 }
104