From 425bd35c736b7e1c0dbe5b3f9162e195b3be6018 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Thu, 25 Feb 2021 11:02:26 +0100 Subject: - bug fix on TicketType Enum - duplicate function getDocument removed - issuedOnLine null value allowed - maven install added (required renaming of some packages) --- src/org/uic/ticket/api/spec/IViaStation.java | 170 --------------------------- 1 file changed, 170 deletions(-) delete mode 100644 src/org/uic/ticket/api/spec/IViaStation.java (limited to 'src/org/uic/ticket/api/spec/IViaStation.java') diff --git a/src/org/uic/ticket/api/spec/IViaStation.java b/src/org/uic/ticket/api/spec/IViaStation.java deleted file mode 100644 index aa10a01..0000000 --- a/src/org/uic/ticket/api/spec/IViaStation.java +++ /dev/null @@ -1,170 +0,0 @@ -/* - * - */ -package org.uic.ticket.api.spec; - -import java.util.Collection; - - -/** - * The Interface IViaStation. - * - * IViaStation describes a route description or a part of a route description by - * via station according to UIC leaflet 108.1 - * - * Note: as route description with via stations can contain alternative routes and can include - * other routes the data structure is used recursively! - * - * - * ViaStation could be - * - a simple station - * or - * - a list of alternative routes defined as a list of other IViaStations - * or - * - a route defined as a list of other IViaStations - * - * - * - */ -public interface IViaStation extends IRegionalValidity { - - /** - * Gets the station code table. - * - * Defines the station code table to be used to retrieve station information. - * Default in this case is the UIC station codes table for standard UIC - * station code from MERITS (UIC country code + 5 digit local code) - * - * The station code table should be included only in case it differs from the station - * code table used in the travel document! - * - * @return the station code table - */ - public IStationCodeTable getStationCodeTable(); - - /** - * Sets the station code table. - * - * Defines the station code table to be used to retrieve station information. - * Default in this case is the UIC station codes table for standard UIC - * station code from MERITS (UIC country code + 5 digit local code) - * - * The station code table should be included only in case it differs from the station - * code table used in the travel document! - * - * @param stationCodeTable the new station code table - */ - public void setStationCodeTable(IStationCodeTable stationCodeTable); - - /** - * Gets the station code. - * - * @return the station code - */ - public String getStation(); - - /** - * Sets the station code. - * - * @param station the new station code - */ - public void setStation(String station); - - - /** - * Gets the alternative routes. - * - * @return the alternative routes - */ - public Collection getAlternativeRoutes(); - - /** - * Adds an alternative route. - * - * @param route the alternative route - */ - public void addAlternativeRoute(IViaStation route); - - /** - * Gets the route. - * - * @return the route - */ - public Collection getRoute(); - - /** - * Adds the route station. - * - * @param viaStation the via station - */ - public void addRouteStation(IViaStation viaStation); - - /** - * Checks if the via station is a border point. - * - * @return true, if is border point - */ - public boolean isBorder(); - - /** - * Sets if the via station is a border point. - * - * @param border the new border point flag - */ - public void setBorder(boolean border); - - /** - * Gets the carriers. - * - * The carriers along the route should preferably be indicated as a list within - * the ticket, and not in the via stations. - * - * @return the carriers - */ - public Collection getCarriers(); - - /** - * Adds the carrier. - * - * The carriers along the route should preferably be indicated as a list within - * the ticket, and not in the via stations. - * * - * @param carrier the carrier - */ - public void addCarrier(String carrier); - - /** - * Gets the route id. - * - * A route id indicating the route in a lookup table. - * - * @return the route id - */ - public int getRouteId(); - - /** - * Sets the route id. - * - * A route id indicating the route in a lookup table. - * - * @param routeId the new route id - */ - public void setRouteId(int routeId); - - - /** - * Gets the series id as defined in the price data according to UIC leaflet 108.1. - * - * @return the series id as defined in the price data according to UIC leaflet 108.1. - */ - public int getSeriesId(); - - /** - * Sets the series id as defined in the price data according to UIC leaflet 108.1.. - * - * @param seriesId the new series id as defined in the price data according to UIC leaflet 108.1. - */ - public void setSeriesId(int seriesId); - - -} -- cgit v1.2.3