diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2020-07-28 17:56:59 +0200 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2020-07-28 17:56:59 +0200 |
commit | aaeb77f8f58ebc01fd241139439a8d290765e5fc (patch) | |
tree | 4ce4a7300af0360d16e35156cde8a164779dd96a /src/org/uic/ticket/api/impl/SimpleIncludedOpenTicket.java | |
parent | bugfix activated day (diff) | |
download | UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.gz UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.bz2 UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.lz UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.xz UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.tar.zst UIC-barcode-aaeb77f8f58ebc01fd241139439a8d290765e5fc.zip |
Diffstat (limited to 'src/org/uic/ticket/api/impl/SimpleIncludedOpenTicket.java')
-rw-r--r-- | src/org/uic/ticket/api/impl/SimpleIncludedOpenTicket.java | 41 |
1 files changed, 32 insertions, 9 deletions
diff --git a/src/org/uic/ticket/api/impl/SimpleIncludedOpenTicket.java b/src/org/uic/ticket/api/impl/SimpleIncludedOpenTicket.java index 601e818..c0b2680 100644 --- a/src/org/uic/ticket/api/impl/SimpleIncludedOpenTicket.java +++ b/src/org/uic/ticket/api/impl/SimpleIncludedOpenTicket.java @@ -7,14 +7,13 @@ import java.util.Collection; import java.util.Date;
import java.util.LinkedHashSet;
-import org.uic.ticket.api.asn.omv1.CodeTableType;
-import org.uic.ticket.api.asn.omv1.TravelClassType;
import org.uic.ticket.api.spec.IExtension;
import org.uic.ticket.api.spec.IIncludedOpenTicket;
import org.uic.ticket.api.spec.IRegionalValidity;
import org.uic.ticket.api.spec.ITariff;
+import org.uic.ticket.api.spec.IStationCodeTable;
+import org.uic.ticket.api.spec.ITravelClassType;
-// TODO: Auto-generated Javadoc
/**
* The Class SimpleIncludedOpenTicket.
*/
@@ -39,7 +38,7 @@ public class SimpleIncludedOpenTicket implements IIncludedOpenTicket { protected int authorizationCode;
/** The station code table. */
- protected CodeTableType stationCodeTable = CodeTableType.stationUIC;
+ protected IStationCodeTable stationCodeTable = IStationCodeTable.stationUIC;
/** The from station. */
protected String fromStation;
@@ -66,7 +65,7 @@ public class SimpleIncludedOpenTicket implements IIncludedOpenTicket { protected Date validUntil;
/** The class code. */
- protected TravelClassType classCode = TravelClassType.second;
+ protected ITravelClassType classCode = ITravelClassType.second;
/** The included carriers. */
protected Collection<String>includedCarriers = new LinkedHashSet<String>();
@@ -175,14 +174,14 @@ public class SimpleIncludedOpenTicket implements IIncludedOpenTicket { /* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IIncludedOpenTicket#getStationCodeTable()
*/
- public CodeTableType getStationCodeTable() {
+ public IStationCodeTable getStationCodeTable() {
return stationCodeTable;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IIncludedOpenTicket#setStationCodeTable(org.uic.ticket.api.asn.om.CodeTableType)
*/
- public void setStationCodeTable(CodeTableType stationCodeTable) {
+ public void setStationCodeTable(IStationCodeTable stationCodeTable) {
this.stationCodeTable = stationCodeTable;
}
@@ -301,14 +300,14 @@ public class SimpleIncludedOpenTicket implements IIncludedOpenTicket { /* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IIncludedOpenTicket#getClassCode()
*/
- public TravelClassType getClassCode() {
+ public ITravelClassType getClassCode() {
return classCode;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IIncludedOpenTicket#setClassCode(org.uic.ticket.api.asn.om.TravelClassType)
*/
- public void setClassCode(TravelClassType classCode) {
+ public void setClassCode(ITravelClassType classCode) {
this.classCode = classCode;
}
@@ -436,4 +435,28 @@ public class SimpleIncludedOpenTicket implements IIncludedOpenTicket { this.validUntil = date;
}
+ @Override
+ public Collection<Integer> getExcludedTransportTypes() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void addExcludedTransportType(Integer excludedTransportType) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Collection<Integer> getIncludedTransportTypes() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void addInludedTransportType(Integer includedTransportType) {
+ // TODO Auto-generated method stub
+
+ }
+
}
|