summaryrefslogtreecommitdiffstats
path: root/src/org/uic/ticket/api/impl/SimpleLine.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/uic/ticket/api/impl/SimpleLine.java')
-rw-r--r--src/org/uic/ticket/api/impl/SimpleLine.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/org/uic/ticket/api/impl/SimpleLine.java b/src/org/uic/ticket/api/impl/SimpleLine.java
index 620dc65..f460c3f 100644
--- a/src/org/uic/ticket/api/impl/SimpleLine.java
+++ b/src/org/uic/ticket/api/impl/SimpleLine.java
@@ -5,10 +5,9 @@ package org.uic.ticket.api.impl;
import java.util.HashSet;
-import org.uic.ticket.api.asn.omv1.CodeTableType;
import org.uic.ticket.api.spec.ILine;
+import org.uic.ticket.api.spec.IStationCodeTable;
-// TODO: Auto-generated Javadoc
/**
* The Class SimpleLine.
*/
@@ -21,7 +20,7 @@ public class SimpleLine implements ILine {
protected HashSet<Integer> lineIds = new HashSet<Integer>();
/** The station code table. */
- protected CodeTableType stationCodeTable = CodeTableType.stationUIC;
+ protected IStationCodeTable stationCodeTable = IStationCodeTable.stationUIC;
/** The entry station. */
protected String entryStation;
@@ -66,14 +65,14 @@ public class SimpleLine implements ILine {
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ILine#getStationCodeTable()
*/
- public CodeTableType getStationCodeTable() {
+ public IStationCodeTable getStationCodeTable() {
return stationCodeTable;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ILine#setStationCodeTable(org.uic.ticket.api.asn.om.CodeTableType)
*/
- public void setStationCodeTable(CodeTableType stationCodeTable) {
+ public void setStationCodeTable(IStationCodeTable stationCodeTable) {
this.stationCodeTable = stationCodeTable;
}