public String generate(Object argument) {
   final StringBuffer stringBuffer = new StringBuffer();
   App2JetInterface app = (App2JetInterface) argument;
   stringBuffer.append(TEXT_1);
   String AppBaseuri = "app/RTC001/0";
   int Is4Device = -1;
   int Is1Device = -1;
   Is4Device = ((app.getSoftwareId().substring(0, 1).compareTo("4") == 0) ? 1 : 0);
   Is1Device = ((app.getSoftwareId().substring(0, 1).compareTo("1") == 0) ? 1 : 0);
   stringBuffer.append(TEXT_2);
   if ((app.getIntegerValue(AppBaseuri + "/RTC001_Eventtrigger_timer/0") == 1)
       || (app.getIntegerValue(AppBaseuri + "/RTC001_Eventtrigger_Alarm/0") == 1)) {
     if (Is4Device == 1) {
       stringBuffer.append(TEXT_3);
     }
     stringBuffer.append(TEXT_4);
     if (Is1Device == 1) {
       stringBuffer.append(TEXT_5);
     }
   }
   stringBuffer.append(TEXT_6);
   if (app.getIntegerValue(AppBaseuri + "/RTC001_erwAlarmIntrptEna/0") == 1) {
     stringBuffer.append(TEXT_7);
   }
   stringBuffer.append(TEXT_8);
   if ((app.getIntegerValue(AppBaseuri + "/RTC001_Eventtrigger_timer/0") == 1)
       || (app.getIntegerValue(AppBaseuri + "/RTC001_Eventtrigger_Alarm/0") == 1)) {
     stringBuffer.append(TEXT_9);
   }
   stringBuffer.append(TEXT_10);
   stringBuffer.append(TEXT_11);
   return stringBuffer.toString();
 }
 public String generate(Object argument) {
   final StringBuffer stringBuffer = new StringBuffer();
   App2JetInterface app = (App2JetInterface) argument;
   stringBuffer.append(TEXT_1);
   String AppBaseuri = "app/ccu4global/";
   String appInst = null;
   int NumInstances = 0;
   stringBuffer.append(TEXT_2);
   ArrayList<String> appsList = (ArrayList<String>) (app.getApps("app/ccu4global/"));
   for (String appIns : appsList) {
     appInst = appIns.substring(appIns.lastIndexOf("/") + 1);
     NumInstances++;
     stringBuffer.append(TEXT_3);
   }
   stringBuffer.append(TEXT_4);
   stringBuffer.append(NumInstances);
   stringBuffer.append(TEXT_5);
   stringBuffer.append(TEXT_6);
   return stringBuffer.toString();
 }