diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-02-25 11:02:26 +0100 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-02-25 11:02:26 +0100 |
commit | 425bd35c736b7e1c0dbe5b3f9162e195b3be6018 (patch) | |
tree | bc4668aa125fb0a15518d464a1738c6b05e56d07 /src/org/uic/ticket/api/impl/SimpleStationPassage.java | |
parent | issuerOnLine changed from int to Integer as it is optional (diff) | |
download | UIC-barcode-1.2.tar UIC-barcode-1.2.tar.gz UIC-barcode-1.2.tar.bz2 UIC-barcode-1.2.tar.lz UIC-barcode-1.2.tar.xz UIC-barcode-1.2.tar.zst UIC-barcode-1.2.zip |
Diffstat (limited to 'src/org/uic/ticket/api/impl/SimpleStationPassage.java')
-rw-r--r-- | src/org/uic/ticket/api/impl/SimpleStationPassage.java | 296 |
1 files changed, 0 insertions, 296 deletions
diff --git a/src/org/uic/ticket/api/impl/SimpleStationPassage.java b/src/org/uic/ticket/api/impl/SimpleStationPassage.java deleted file mode 100644 index 7624086..0000000 --- a/src/org/uic/ticket/api/impl/SimpleStationPassage.java +++ /dev/null @@ -1,296 +0,0 @@ -/*
- *
- */
-package org.uic.ticket.api.impl;
-
-import java.util.Collection;
-import java.util.Date;
-import java.util.LinkedHashSet;
-
-import org.uic.ticket.api.spec.IExtension;
-import org.uic.ticket.api.spec.IStationPassage;
-import org.uic.ticket.api.spec.IStationCodeTable;
-
-
-/**
- * The Class SimpleStationPassage.
- */
-public class SimpleStationPassage extends SimpleDocumentData implements IStationPassage {
-
- /** The reference. */
- protected String reference;
-
- /** The product name. */
- protected String productName;
-
- /** The product type. */
- protected String productId;
-
- /** The product owner. */
- protected String productOwner;
-
- /** The valid from. */
- protected Date validFrom;
-
- /** The valid until. */
- protected Date validUntil;
-
- /** The station code table. */
- protected IStationCodeTable stationCodeTable = IStationCodeTable.stationUIC;
-
- /** The station name. */
- protected String stationName;
-
- /** The number ofdays allowed. */
- protected int numberOfdaysAllowed;
-
- /** The stations. */
- protected Collection<String> stations = new LinkedHashSet<String>();
-
- /** The station names. */
- protected Collection<String> stationNames = new LinkedHashSet<String>();
-
-
- /** The extension data. */
- protected IExtension extensionData;
-
-
- /** The area codes. */
- protected Collection<String> areaCodes = new LinkedHashSet<String>();
-
- /** The area names. */
- protected Collection<String> areaNames = new LinkedHashSet<String>();
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getReference()
- */
- public String getReference() {
- return reference;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setReference(java.lang.String)
- */
- public void setReference(String reference) {
- this.reference = reference;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getProductName()
- */
- public String getProductName() {
- return productName;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setProductName(java.lang.String)
- */
- public void setProductName(String name) {
- this.productName = name;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getProductType()
- */
- public String getProductId() {
- return productId;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setProductType(int)
- */
- public void setProductId(String id) {
- this.productId = id;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getProductOwner()
- */
- public String getProductOwner() {
- return productOwner;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setProductOwner(java.lang.String)
- */
- public void setProductOwner(String productOwner) {
- this.productOwner = productOwner;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getValidFrom()
- */
- public Date getValidFrom() {
- return validFrom;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setValidFrom(java.util.Date)
- */
- public void setValidFrom(Date validFrom) {
- this.validFrom = validFrom;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getValidUntil()
- */
- public Date getValidUntil() {
- return validUntil;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setValidUntil(java.util.Date)
- */
- public void setValidUntil(Date validUntil) {
- this.validUntil = validUntil;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getStationCodeTable()
- */
- public IStationCodeTable getStationCodeTable() {
- return stationCodeTable;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setStationCodeTable(org.uic.ticket.api.asn.om.CodeTableType)
- */
- public void setStationCodeTable(IStationCodeTable stationCodeTable) {
- this.stationCodeTable = stationCodeTable;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getStations()
- */
- public Collection<String> getStations() {
- return stations;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#addStation(java.lang.String)
- */
- public void addStation(String station) {
- this.stations.add(station);
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#addStationName(java.lang.String)
- */
- public void addStationName(String name) {
- this.stationNames.add(name);
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getStationNames()
- */
- public Collection<String> getStationNames() {
- return stationNames;
- }
-
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getNumberOfdaysAllowed()
- */
- public int getNumberOfdaysAllowed() {
- return numberOfdaysAllowed;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setNumberOfdaysAllowed(int)
- */
- public void setNumberOfdaysAllowed(int numberOfdaysAllowed) {
- this.numberOfdaysAllowed = numberOfdaysAllowed;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getExtension()
- */
- @Override
- public IExtension getExtension() {
- return extensionData;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setExtension(org.uic.ticket.api.spec.IExtension)
- */
- @Override
- public void setExtension(IExtension extensionData) {
- this.extensionData = extensionData;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getAreaCodes()
- */
- @Override
- public Collection<String> getAreaCodes() {
- return areaCodes;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getAreaNames()
- */
- @Override
- public Collection<String> getAreaNames() {
- return areaNames;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#addAreaCode(java.lang.String)
- */
- @Override
- public void addAreaCode(String code) {
- areaCodes.add(code);
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#addAreaName(java.lang.String)
- */
- @Override
- public void addAreaName(String name) {
- areaNames.add(name);
- }
-
-
- /** The valid from utc coffset. */
- protected Long validFromUTCoffset;
-
- /** The valid until utc coffset. */
- protected Long validUntilUTCoffset;
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getValidFromUTCoffset()
- */
- public Long getValidFromUTCoffset() {
- return validFromUTCoffset;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setValidFromUTCoffset(java.lang.Long)
- */
- public void setValidFromUTCoffset(Long validFromUTCoffset) {
- this.validFromUTCoffset = validFromUTCoffset;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#getValidUntilUTCoffset()
- */
- public Long getValidUntilUTCoffset() {
- return validUntilUTCoffset;
- }
-
- /* (nicht-Javadoc)
- * @see org.uic.ticket.api.spec.IStationPassage#setValidUntilUTCoffset(java.lang.Long)
- */
- public void setValidUntilUTCoffset(Long validUntilUTCoffset) {
- this.validUntilUTCoffset = validUntilUTCoffset;
- }
-
- @Override
- public void setUntilDate(Date date) {
- // TODO Automatisch generierter Methodenstub
- this.validUntil = date;
- }
-
-
-
-}
|