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 Onderzoek TNO
8    * (TNO), Erasmus University Rotterdam, Delft University of Technology, Panteia B.V., Stichting Projecten Binnenvaart, Ab Ovo
9    * Nederland B.V., Modality Software Solutions B.V., and Rijkswaterstaat - Dienst Water, Verkeer en Leefomgeving, including the
10   * right to sub-license sources and derived products to third parties. <br>
11   * @version Mar 24, 2013 <br>
12   * @author <a href="http://tudelft.nl/averbraeck">Alexander Verbraeck </a>
13   * @version SVN $Revision: 97 $ $Author: averbraeck $ $Date: 2014-03-11 14:52:52 +0100 (Tue, 11 Mar 2014) $
14   **/
15  public enum DirectionEnum
16  {
17  
18      /** total */
19      TOTAL("van/naar Rtm"),
20  
21      /** From Rotterdam */
22      FROMRTM("van Rtm"),
23  
24      /** To Rotterdam */
25      TORTM("naar Rtm");
26  
27      /** description for screen */
28      private final String description;
29  
30      /**
31       * @param description String; description of the enum
32       */
33      private DirectionEnum(final String description)
34      {
35          this.description = description;
36      }
37  
38      /**
39       * @return description
40       */
41      public String getDescription()
42      {
43          return this.description;
44      }
45  }