-
- All Known Implementing Classes:
BusItineraryLayer,BusLineLayer,BusNetworkLayer
public interface BusLayerA 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BusPrimitiveInvaliditygetInvalidityReason()Replies the explanation of the invalidity of the primitive.booleanisValidLayer()Replies if this layer and its content is marked as valid.voidrevalidate()Check if the validity of this layer is correctly set and change its values if necessary.
-
-
-
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:
trueif the layer is valid, otherwisefalse
-
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.
-
-