4 import NavigationInstance
6 class ServiceReference(eServiceReference):
7 def __init__(self, ref):
8 if isinstance(ref, str):
9 ref = eServiceReference(ref)
12 def getStaticServiceInformation(self):
13 return NavigationInstance.instance.ServiceHandler.info(self.ref)
16 return self.ref.toString()
18 def getServiceName(self):
19 info = self.getStaticServiceInformation()
23 return info.getName(self.ref)