public class MetaDataOrigin extends MetaDataType<NodeDataInterface>
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 |
---|
MetaDataOrigin(String id) |
Modifier and Type | Method and Description |
---|---|
NodeDataInterface |
getValue(GtuDataInterface gtu)
Retrieves the value of the meta data of this type from a GTU.
|
String |
toString() |
accept, getId
public MetaDataOrigin(String id)
id
- idpublic final NodeDataInterface getValue(GtuDataInterface gtu)
getValue
in class MetaDataType<NodeDataInterface>
gtu
- gtu to retrieve the value fromnull
if not applicable.public String toString()
toString
in class MetaDataType<NodeDataInterface>
Copyright © 2014–2016 Delft University of Technology. All rights reserved.