summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode/ticket/api/spec/IReturnRouteDescription.java
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-02-25 11:02:26 +0100
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-02-25 11:02:26 +0100
commit425bd35c736b7e1c0dbe5b3f9162e195b3be6018 (patch)
treebc4668aa125fb0a15518d464a1738c6b05e56d07 /src/org/uic/barcode/ticket/api/spec/IReturnRouteDescription.java
parentissuerOnLine changed from int to Integer as it is optional (diff)
downloadUIC-barcode-425bd35c736b7e1c0dbe5b3f9162e195b3be6018.tar
UIC-barcode-425bd35c736b7e1c0dbe5b3f9162e195b3be6018.tar.gz
UIC-barcode-425bd35c736b7e1c0dbe5b3f9162e195b3be6018.tar.bz2
UIC-barcode-425bd35c736b7e1c0dbe5b3f9162e195b3be6018.tar.lz
UIC-barcode-425bd35c736b7e1c0dbe5b3f9162e195b3be6018.tar.xz
UIC-barcode-425bd35c736b7e1c0dbe5b3f9162e195b3be6018.tar.zst
UIC-barcode-425bd35c736b7e1c0dbe5b3f9162e195b3be6018.zip
Diffstat (limited to 'src/org/uic/barcode/ticket/api/spec/IReturnRouteDescription.java')
-rw-r--r--src/org/uic/barcode/ticket/api/spec/IReturnRouteDescription.java100
1 files changed, 100 insertions, 0 deletions
diff --git a/src/org/uic/barcode/ticket/api/spec/IReturnRouteDescription.java b/src/org/uic/barcode/ticket/api/spec/IReturnRouteDescription.java
new file mode 100644
index 0000000..b24a9dd
--- /dev/null
+++ b/src/org/uic/barcode/ticket/api/spec/IReturnRouteDescription.java
@@ -0,0 +1,100 @@
+/*
+ *
+ */
+package org.uic.barcode.ticket.api.spec;
+
+import java.util.Collection;
+
+/**
+ * The Interface IReturnRouteDescription.
+ *
+ * IReturnRouteDescription provides the description of a return route for an open
+ * ticket. The data elements for the route description are repeated.
+ */
+public interface IReturnRouteDescription {
+
+ /**
+ * Gets the from station code.
+ *
+ * @return the from station code
+ */
+ public String getFromStation() ;
+
+ /**
+ * Sets the from station code.
+ *
+ * @param fromStation the new from station code
+ */
+ public void setFromStation(String fromStation);
+
+ /**
+ * Gets the to station code.
+ *
+ * @return the to station code
+ */
+ public String getToStation();
+
+ /**
+ * Sets the to station code.
+ *
+ * @param toStation the new to station code
+ */
+ public void setToStation(String toStation) ;
+
+ /**
+ * Gets the from station name.
+ *
+ * @return the from station name
+ */
+ public String getFromStationName() ;
+
+ /**
+ * Sets the from station name.
+ *
+ * @param fromStationName the new from station name
+ */
+ public void setFromStationName(String fromStationName);
+
+ /**
+ * Gets the to station name.
+ *
+ * @return the to station name
+ */
+ public String getToStationName();
+
+ /**
+ * Sets the to station name.
+ *
+ * @param toStationName the new to station name
+ */
+ public void setToStationName(String toStationName);
+
+ /**
+ * Gets the valid region description.
+ *
+ * @return the valid region desc
+ */
+ public String getValidRegionDesc();
+
+ /**
+ * Sets the valid region description.
+ *
+ * @param validRegionDesc the new valid region description
+ */
+ public void setValidRegionDesc(String validRegionDesc);
+
+ /**
+ * Gets the list of valid regions.
+ *
+ * @return the valid region list
+ */
+ public Collection<IRegionalValidity> getValidRegionList() ;
+
+ /**
+ * Adds the valid region list.
+ *
+ * @param validRegion the valid region
+ */
+ public void addValidRegionList(IRegionalValidity validRegion);
+
+}