Package org.djutils.data
Class SimpleDataColumn<T>
- java.lang.Object
 - 
- org.djutils.data.SimpleDataColumn<T>
 
 
- 
- Type Parameters:
 T- the value type
- All Implemented Interfaces:
 Serializable,Identifiable,DataColumn<T>
public class SimpleDataColumn<T> extends Object implements DataColumn<T>, Serializable
SimpleColumn implements the Column interface with a single value.
Copyright (c) 2020-2021 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.- Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description SimpleDataColumn(String id, String description, Class<T> valueType)Construct a simple, single valued column. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns the column description.StringgetId()Class<T>getValueType()Returns the type of the values in the column.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getId
public final String getId()
- Specified by:
 getIdin interfaceIdentifiable
 
- 
getDescription
public final String getDescription()
Returns the column description.- Specified by:
 getDescriptionin interfaceDataColumn<T>- Returns:
 - String; column description
 
 
- 
getValueType
public Class<T> getValueType()
Returns the type of the values in the column.- Specified by:
 getValueTypein interfaceDataColumn<T>- Returns:
 - Class<?>; type of the values in the column
 
 
 - 
 
 -