summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic/barcode/ticket/api/impl/SimpleViaStation.java
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-06-29 16:26:36 +0200
committerGitHub <noreply@github.com>2021-06-29 16:26:36 +0200
commit27d114203f6edaf8aea75ee710bd87f32d79f003 (patch)
tree794e40b39e154adef8e471ab8774c8a68bd3e434 /src/main/java/org/uic/barcode/ticket/api/impl/SimpleViaStation.java
parentDelete uicBarcodeFCBv2.0.asn (diff)
parent- test for FCB version 3 (diff)
downloadUIC-barcode-27d114203f6edaf8aea75ee710bd87f32d79f003.tar
UIC-barcode-27d114203f6edaf8aea75ee710bd87f32d79f003.tar.gz
UIC-barcode-27d114203f6edaf8aea75ee710bd87f32d79f003.tar.bz2
UIC-barcode-27d114203f6edaf8aea75ee710bd87f32d79f003.tar.lz
UIC-barcode-27d114203f6edaf8aea75ee710bd87f32d79f003.tar.xz
UIC-barcode-27d114203f6edaf8aea75ee710bd87f32d79f003.tar.zst
UIC-barcode-27d114203f6edaf8aea75ee710bd87f32d79f003.zip
Diffstat (limited to 'src/main/java/org/uic/barcode/ticket/api/impl/SimpleViaStation.java')
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/impl/SimpleViaStation.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/api/impl/SimpleViaStation.java b/src/main/java/org/uic/barcode/ticket/api/impl/SimpleViaStation.java
index da0d815..4419ea2 100644
--- a/src/main/java/org/uic/barcode/ticket/api/impl/SimpleViaStation.java
+++ b/src/main/java/org/uic/barcode/ticket/api/impl/SimpleViaStation.java
@@ -39,6 +39,13 @@ public class SimpleViaStation implements IViaStation {
/** The series id. */
protected int seriesId;
+ /** The included service brands. */
+ protected Collection<Integer>includedServiceBrands = new LinkedHashSet<Integer>();
+
+ /** The excluded service brands. */
+ protected Collection<Integer>excludedServiceBrands = new LinkedHashSet<Integer>();
+
+
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IViaStation#getStationCodeTable()
*/
@@ -151,7 +158,22 @@ public class SimpleViaStation implements IViaStation {
public void setSeriesId(int seriesId) {
this.seriesId = seriesId;
}
+
+ public Collection<Integer> getIncludedServiceBrands() {
+ return includedServiceBrands;
+ }
+
+ public void addIncludedServiceBrand(Integer includedServiceBrand) {
+ this.includedServiceBrands.add(includedServiceBrand);
+ }
+
+ public Collection<Integer> getExcludedServiceBrands() {
+ return excludedServiceBrands;
+ }
+ public void addExcludedServiceBrand(Integer excludedServiceBrand) {
+ this.excludedServiceBrands.add(excludedServiceBrand);
+ }
}