1   package com.atlassian.plugins.codegen.modules.common;
2   
3   import com.atlassian.plugins.codegen.modules.BasicNameModuleProperties;
4   
5   /**
6    * @since 3.6
7    */
8   public class GadgetProperties extends BasicNameModuleProperties
9   {
10  
11      public static final String LOCATION = "LOCATION";
12  
13  
14      public GadgetProperties()
15      {
16          this("My Gadget");
17      }
18  
19      public GadgetProperties(String moduleName)
20      {
21          super(moduleName);
22      }
23  
24      public GadgetProperties(String moduleName, String location)
25      {
26          this(moduleName);
27          setLocation(location);
28      }
29  
30      public String getLocation()
31      {
32          return getProperty(LOCATION);
33      }
34  
35      public void setLocation(String location)
36      {
37          setProperty(LOCATION, location);
38      }
39  }