package com.koverse.restaurants;

import com.koverse.sdk.application.AbstractApplication;
import com.koverse.sdk.data.Parameter;
import java.util.List;

public class MyCustomApplication extends AbstractApplication {

	/**
	 * A universally unique string that indentifies this application. This
	 * string must be the same across all versions of the application.
	 */
	@Override
	public String getApplicationId() {
		return "myCustomApplication";
	}

	/** The application name which is shown to the users. */
	@Override
	public String getDisplayName() {
		return "My Custom Application";
	}

	/**
	 * The name of the category in which this application is grouped in the UI.
	 * The name much match the desired group name exactly.
	 */
	@Override
	public String getDefaultCategoryName() {
		return "My Custom Category";
	}

	/**
	 * A string that simply identifies the version of the application installed,
	 * but which has no bearing on version control. The last installed version
	 * of the app is the one that is used.
	 */
	@Override
	public String getVersion() {
		return "0.0.1";
	}

	/** The parameters that a system administrator can use to configure the app. */
	@Override
	protected void fillInParameters(List<Parameter> parameters) {

//		parameters.add(new Parameter.Builder()
//			.parameterName("testParameter")
//			.displayName("Test Parameter").type(Parameter.TYPE_STRING)
//			.defaultValue("default value").build());

	}

	/**
	 * Set this false to force the system administrator to manually deploy
	 * instances of this application. Usually enabling auto-deploy is the most
	 * appropriate.
	 */
	@Override
	public boolean getAutoDeploy() {
		return true;
	}
}
@@ -210,22 +210,24 @@
 tion %7B%0A%0A
-%09
+  
 /**%0A
-%09
+  
  * A uni
@@ -289,17 +289,18 @@
 n. This%0A
-%09
+  
  * strin
@@ -358,22 +358,24 @@
 cation.%0A
-%09
+  
  */%0A
-%09
+  
 @Overrid
@@ -368,33 +368,34 @@
  */%0A  @Override%0A
-%09
+  
 public String ge
@@ -413,26 +413,28 @@
 nId() %7B%0A
-%09%09
+    
 return %22
 myCustom
@@ -429,35 +429,29 @@
 rn %22
-myCustomApplication%22;%0A%09%7D%0A%0A%09
+restaurants%22;%0A  %7D%0A%0A  
 /** 
@@ -499,25 +499,26 @@
 e users. */%0A
-%09
+  
 @Override%0A%09p
@@ -507,33 +507,34 @@
  */%0A  @Override%0A
-%09
+  
 public String ge
@@ -546,34 +546,36 @@
 layName() %7B%0A
-%09%09
+    
 return %22
 My Custom Ap
@@ -566,42 +566,56 @@
 rn %22
-My Custom Applic
+Restaurant Inspection Viol
 ation
+s
 %22;%0A
-%09%7D%0A%0A%09
+  %7D%0A%0A  
 /**%0A
-%09
+  
  * T
@@ -686,17 +686,18 @@
 the UI.%0A
-%09
+  
  * The n
@@ -743,22 +743,24 @@
 xactly.%0A
-%09
+  
  */%0A
-%09
+  
 @Overrid
@@ -753,33 +753,34 @@
  */%0A  @Override%0A
-%09
+  
 public String ge
@@ -800,26 +800,28 @@
 oryName() %7B%0A
-%09%09
+    
 return %22My C
@@ -837,26 +837,29 @@
 egory%22;%0A
-%09%7D%0A%0A%09
+  %7D%0A%0A  
 /**%0A
-%09
+  
  * A str
@@ -927,17 +927,18 @@
 talled,%0A
-%09
+  
  * but w
@@ -1004,17 +1004,18 @@
 version%0A
-%09
+  
  * of th
@@ -1045,22 +1045,24 @@
 s used.%0A
-%09
+  
  */%0A
-%09
+  
 @Overrid
@@ -1059,25 +1059,26 @@
   @Override%0A
-%09
+  
 public Strin
@@ -1090,26 +1090,28 @@
 Version() %7B%0A
-%09%09
+    
 return %220.0.
@@ -1114,21 +1114,23 @@
 0.0.1%22;%0A
-%09%7D%0A%0A%09
+  %7D%0A%0A  
 /** The 
@@ -1197,25 +1197,26 @@
 the app. */%0A
-%09
+  
 @Override%0A%09p
@@ -1213,17 +1213,18 @@
 verride%0A
-%09
+  
 protecte
@@ -1280,18 +1280,20 @@
 s) %7B%0A%0A//
-%09%09
+    
 paramete
@@ -1325,19 +1325,22 @@
 der()%0A//
-%09%09%09
+      
 .paramet
@@ -1365,19 +1365,22 @@
 ter%22)%0A//
-%09%09%09
+      
 .display
@@ -1436,11 +1436,14 @@
 )%0A//
-%09%09%09
+      
 .def
@@ -1484,18 +1484,21 @@
 );%0A%0A
-%09%7D%0A%0A%09
+  %7D%0A%0A  
 /**%0A
-%09
+  
  * S
@@ -1564,17 +1564,18 @@
  deploy%0A
-%09
+  
  * insta
@@ -1641,17 +1641,18 @@
 he most%0A
-%09
+  
  * appro
@@ -1663,14 +1663,16 @@
 te.%0A
-%09
+  
  */%0A
-%09
+  
 @Ove
@@ -1677,17 +1677,18 @@
 verride%0A
-%09
+  
 public b
@@ -1716,10 +1716,12 @@
 ) %7B%0A
-%09%09
+    
 retu
@@ -1733,8 +1733,9 @@
 ue;%0A
-%09
+  
 %7D%0A%7D

Change application ID