All Implemented Interfaces:
NamedEntity

public class Mountain extends GeoLocation
A mountain is a large landform that stretches above the surrounding land. see https://www.wikidata.org/wiki/Q8502
  • Constructor Details

    • Mountain

      public Mountain()
  • Method Details

    • getHeight

      public int getHeight()
      Returns:
      height of mountain above sea level in meters.
    • init

      protected void init()
      Description copied from class: UniqueObject
      Use to initialize member variables, used by default constructor and builder
      Overrides:
      init in class GeoLocation
    • setHeight

      public void setHeight(int height)
      Parameters:
      height - height of mountain above sea level in meters