public class MetaDataGtuType extends MetaDataType<GtuTypeDataInterface>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
MetaDataGtuType(String id) |
| Modifier and Type | Method and Description |
|---|---|
GtuTypeDataInterface |
getValue(GtuDataInterface gtu)
Retrieves the value of the meta data of this type from a GTU.
|
String |
toString() |
accept, getIdpublic MetaDataGtuType(String id)
id - idpublic final GtuTypeDataInterface getValue(GtuDataInterface gtu)
getValue in class MetaDataType<GtuTypeDataInterface>gtu - gtu to retrieve the value fromnull if not applicable.public String toString()
toString in class MetaDataType<GtuTypeDataInterface>Copyright © 2014–2017 Delft University of Technology. All rights reserved.