View Javadoc
1   package org.djutils.data;
2   
3   import org.djutils.base.Identifiable;
4   
5   /**
6    * Meta data of data in a column.
7    * <p>
8    * Copyright (c) 2020-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="https://djutils.org/docs/current/djutils/licenses.html">DJUTILS License</a>.
10   * </p>
11   * @author <a href="https://www.tudelft.nl/averbraeck">Alexander Verbraeck</a>
12   * @author <a href="https://www.tudelft.nl/pknoppers">Peter Knoppers</a>
13   * @param <T> type of value
14   */
15  public interface DataColumn<T> extends Identifiable
16  {
17  
18      /**
19       * Returns the column description.
20       * @return String; column description
21       */
22      String getDescription();
23  
24      /**
25       * Returns the type of the values in the column.
26       * @return Class&lt;?&gt;; type of the values in the column
27       */
28      Class<T> getValueType();
29  
30  }