View Javadoc
1   package org.opentrafficsim.water.statistics;
2   
3   /**
4    * <br>
5    * Copyright (c) 2013-2014 Rijkswaterstaat - Dienst Water, Verkeer en Leefomgeving. All rights reserved. <br>
6    * Some parts of the software (c) 2011-2014 TU Delft, Faculty of TBM, Systems and Simulation <br>
7    * This software is licensed without restrictions to Nederlandse Organisatie voor Toegepast Natuurwetenschappelijk
8    * Onderzoek TNO (TNO), Erasmus University Rotterdam, Delft University of Technology, Panteia B.V., Stichting Projecten
9    * Binnenvaart, Ab Ovo Nederland B.V., Modality Software Solutions B.V., and Rijkswaterstaat - Dienst Water, Verkeer en
10   * Leefomgeving, including the right to sub-license sources and derived products to third parties. <br>
11   * 
12   * @version Mar 24, 2013 <br>
13   * @author <a href="http://tudelft.nl/averbraeck">Alexander Verbraeck </a>
14   * @version SVN $Revision: 97 $ $Author: averbraeck $
15   * $Date: 2014-03-11 14:52:52 +0100 (Tue, 11 Mar 2014) $
16   **/
17  public enum DirectionEnum {
18  
19      /** total */
20      TOTAL("van/naar Rtm"),
21  
22      /** From Rotterdam */
23      FROMRTM("van Rtm"),
24  
25      /** To Rotterdam */
26      TORTM("naar Rtm");
27  
28      /** description for screen */
29      private final String description;
30  
31      /**
32       * @param description description of the enum
33       */
34      private DirectionEnum(final String description)
35      {
36          this.description = description;
37      }
38  
39      /**
40       * @return description
41       */
42      public String getDescription()
43      {
44          return this.description;
45      }
46  }