Package org.heigit.ohsome.oshdb.osh
Interface OSHEntity
-
- All Known Subinterfaces:
OSHNode
,OSHRelation
,OSHWay
- All Known Implementing Classes:
OSHEntityImpl
,OSHNodeImpl
,OSHRelationImpl
,OSHWayImpl
public interface OSHEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OSHDBBoundable
getBoundable()
long
getId()
default List<OSHNode>
getNodes()
Iterable<OSHDBTagKey>
getTagKeys()
OSMType
getType()
Iterable<? extends OSMEntity>
getVersions()
default List<OSHWay>
getWays()
boolean
hasTagKey(int key)
boolean
hasTagKey(OSHDBTagKey tag)
-
-
-
Method Detail
-
getId
long getId()
-
getType
OSMType getType()
-
getBoundable
OSHDBBoundable getBoundable()
-
getTagKeys
Iterable<OSHDBTagKey> getTagKeys()
-
hasTagKey
boolean hasTagKey(OSHDBTagKey tag)
-
hasTagKey
boolean hasTagKey(int key)
-
-