Interface Zone

  • All Known Implementing Classes:
    ZoneImpl

    public interface Zone
    Zone represent a geographical area with a centroid which in turn represent the single point of departure of all traffic in the zone
    Author:
    markr
    • Method Detail

      • getId

        long getId()
        Returns the unique id of this zone
        Returns:
        id of this zone
      • getExternalId

        Object getExternalId()
        Returns the external id of this zone
        Returns:
        the external id
      • hasExternalId

        boolean hasExternalId()
        Returns whether this zone has its external Id set
        Returns:
        true if the external id has been set, false otherwise
      • getCentroid

        Centroid getCentroid()
        Returns the centroid of this zone
        Returns:
        centroid of this zone