public class Relation extends Object
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
Relation(long id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(Long node) |
void |
addTag(Tag tag) |
void |
addWay(Long way) |
long |
getID() |
List<Long> |
getNodes() |
Tag |
getTag(String tagKey) |
List<Tag> |
getTaglist() |
List<Tag> |
getTags() |
List<Long> |
getWays() |
void |
setID(long niD) |
void |
setNodes(List<Long> nodes) |
void |
setTaglist(List<Tag> taglist) |
void |
setWays(List<Long> ways) |
public final long getID()
public final void setID(long niD)
niD - public final void addTag(Tag tag)
tag - public final void addWay(Long way)
way - public final void addNode(Long node)
node - public final Tag getTag(String tagKey) throws IOException
tagKey - IOExceptionCopyright © 2014–2015 Delft University of Technology. All rights reserved.