All Implemented Interfaces:
Domain, ModelEntity

public final class Floor extends RoutingDomain
Part of the dynamic elevator example The Floor class models one story of the building and contains the level of the floor
See Also:
  • Constructor Details

    • Floor

      public Floor(int l)
  • Method Details

    • getFloor

      public int getFloor()
    • getName

      public String getName()
      Description copied from interface: ModelEntity
      Returns the name of this model entity

      Returns an empty string as default, may be overridden in derived classes.

      Specified by:
      getName in interface ModelEntity
      Overrides:
      getName in class BasicModelEntity
      Returns:
      the name of this model entity, may be an empty string but not null