Interface BusLayer

  • All Known Implementing Classes:
    BusItineraryLayer, BusLineLayer, BusNetworkLayer

    public interface BusLayer
    A bus layer is a container of bus primitives. This interface provides all the functions common to all the bus layers.
    Since:
    14.0
    Version:
    17.0 2020-01-04 14:41:56
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.gis
    Maven Artifact Id:
    gisbus
    • Method Detail

      • isValidLayer

        @Pure
        boolean isValidLayer()
        Replies if this layer and its content is marked as valid.

        The validity of a bus primitive depends on the type of this primitive. Please refers to the documentation of that primitive.

        Returns:
        true if the layer is valid, otherwise false
      • getInvalidityReason

        @Pure
        BusPrimitiveInvalidity getInvalidityReason()
        Replies the explanation of the invalidity of the primitive.
        Returns:
        the invalidity reason.
      • revalidate

        void revalidate()
        Check if the validity of this layer is correctly set and change its values if necessary. This function revalidate also all the layers and primitives inside this layer.