4 import NavigationInstance
6 class ServiceReference(eServiceReference):
7 def __init__(self, ref):
8 if isinstance(ref, str):
9 self.ref = eServiceReference(ref)
12 self.serviceHandler = eServiceCenter.getInstance()
15 return self.ref.toString()
17 def getServiceName(self):
22 return info.getName(self.ref)
25 return self.serviceHandler.info(self.ref)
28 return self.serviceHandler.record(self.ref)
31 return self.serviceHandler.list(self.ref)
34 return self.serviceHandler.info(self.ref)
36 def offlineOperations(self):
37 return self.serviceHandler.offlineOperations(self.ref)