public EzySimpleApp(EzyZone zone, int id, String name)
 {
     this.client       = zone.getClient();
     this.zone         = zone;
     this.id           = id;
     this.name         = name;
     this.dataHandlers = client.getHandlerManager().getAppDataHandlers(name);
 }
        public EzyAppDataHandlers getAppDataHandlers(String appName)
        {
            EzyAppDataHandlers answer = null;

            if (appDataHandlersByAppName.ContainsKey(appName))
            {
                answer = appDataHandlersByAppName[appName];
            }
            if (answer == null)
            {
                answer = new EzyAppDataHandlers();
                appDataHandlersByAppName[appName] = answer;
            }
            return(answer);
        }
        public EzyAppSetup setupApp(String appName)
        {
            EzyAppSetup appSetup = null;

            if (appSetups.ContainsKey(appName))
            {
                appSetup = appSetups[appName];
            }
            else
            {
                EzyAppDataHandlers dataHandlers = handlerManager.getAppDataHandlers(appName);
                appSetup           = new EzySimpleAppSetup(dataHandlers, this);
                appSetups[appName] = appSetup;
            }
            return(appSetup);
        }
 public EzySimpleAppSetup(EzyAppDataHandlers dataHandlers, EzySetup parent)
 {
     this.parent       = parent;
     this.dataHandlers = dataHandlers;
 }