View Javadoc
1   /*
2    * To change this license header, choose License Headers in Project Properties.
3    * To change this template file, choose Tools | Templates
4    * and open the template in the editor.
5    */
6   
7   package fr.paris.lutece.plugins.dataviz.business;
8   
9   /**
10   *
11   * @author evrardmax
12   */
13  public class AbstractStat implements IStat
14  {
15          private String _strId;
16          private String _strName;
17          private String _strGraphType;
18  
19      /**
20       * Returns the Name
21       * @return The Name
22       */
23      @Override
24      public String getName(  )
25      {
26          return _strName;
27      }
28  
29      /**
30       * Sets the Name
31       * @param strName The Name
32       */
33      @Override
34      public void setName( String strName )
35      {
36          _strName = strName;
37      }
38      
39      /**
40       * Returns the Id
41       * @return The Id
42       */
43      @Override
44      public String getId(  )
45      {
46          return _strId;
47      }
48  
49      /**
50       * Sets the Id
51       * @param strId The Id
52       */
53      @Override
54      public void setId( String strId )
55      {
56          _strId = strId;
57      }
58  
59      /**
60       * Returns the GraphType
61       * @return The GraphType
62       */
63      @Override
64      public String getGraphType() 
65      {
66          return _strGraphType;
67      }
68  
69      /**
70       * Sets the GraphType
71       * @param strGraphType The GraphType
72       */
73      @Override
74      public void setGraphType(String strGraphType) 
75      {
76          _strGraphType = strGraphType;
77      }
78  }