Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ka2ddo.yaac.osm
Interface AmenityOrWay

All Known Implementing Classes:
  Aeroway, LandUse, Leisure, Man_Made, Natural, Power, Railway, Tourism, Waterway

    public interface AmenityOrWay

This interface identifies an OSM enumeration whose individual values could be amenities or ways, depending on the specific values.

Method Summary
`AmenityType` | `getAmenityType()` Get amenity type associated with this enumeration; only for types that are amenities.
`WayType` | `wayType()` Report the WayType for rendering this type of Way.

Method Detail

### wayType

    WayType wayType()

  Report the WayType for rendering this type of Way.

  Returns:
    WayType

### getAmenityType

    AmenityType getAmenityType()

  Get amenity type associated with this enumeration; only for types that are amenities.

  Returns:
    AmenityType for this type, or null if not an amenity

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD