summaryrefslogtreecommitdiffstats
path: root/src/org/uic/ticket/api/spec/ITrainLink.java
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2020-01-03 10:42:49 +0100
committerGitHub <noreply@github.com>2020-01-03 10:42:49 +0100
commit5ef4ad89630e4c51dcd7093e78d71eeda0be727d (patch)
treef0cdabc1aa8e3cdf6c55af6ab3c7a4ffa6b22f5e /src/org/uic/ticket/api/spec/ITrainLink.java
parentbasic asn.1 library (diff)
downloadUIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar
UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.gz
UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.bz2
UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.lz
UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.xz
UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.zst
UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.zip
Diffstat (limited to 'src/org/uic/ticket/api/spec/ITrainLink.java')
-rw-r--r--src/org/uic/ticket/api/spec/ITrainLink.java122
1 files changed, 122 insertions, 0 deletions
diff --git a/src/org/uic/ticket/api/spec/ITrainLink.java b/src/org/uic/ticket/api/spec/ITrainLink.java
new file mode 100644
index 0000000..b647db7
--- /dev/null
+++ b/src/org/uic/ticket/api/spec/ITrainLink.java
@@ -0,0 +1,122 @@
+/*
+ *
+ */
+package org.uic.ticket.api.spec;
+
+import java.util.Date;
+
+/**
+ * The Interface ITrainLink.
+ *
+ * ITrainLink specifies the mandatory use of a train within the route of an open ticket or counter mark.
+ */
+public interface ITrainLink extends IRegionalValidity {
+
+ /**
+ * Gets the train.
+ *
+ * @return the train
+ */
+ public String getTrain() ;
+
+ /**
+ * Sets the train.
+ *
+ * @param train the new train
+ */
+ public void setTrain(String train);
+
+ /**
+ * Gets the departure date time.
+ *
+ * @return the departure date time
+ */
+ public Date getDepartureDateTime();
+
+ /**
+ * Sets the departure date time.
+ *
+ * @param departureDateTime the new departure date time
+ */
+ public void setDepartureDateTime(Date departureDateTime) ;
+
+
+ /**
+ * Gets the departure date time offset to UTC in units of 15 minutes.
+ *
+ * @return the departure date time UTC offset
+ */
+ public Long getDepartureUTCoffset();
+
+ /**
+ * Sets the departure date time.
+ *
+ * @param departureDateTime the new departure date time
+ */
+ public void setDepartureUTCoffset(Long departureUTCoffset) ;
+
+
+
+
+ /**
+ * 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);
+
+
+
+
+
+
+}