diff options
Diffstat (limited to 'src/org/uic/ticket/api/spec/IIncludedOpenTicket.java')
-rw-r--r-- | src/org/uic/ticket/api/spec/IIncludedOpenTicket.java | 51 |
1 files changed, 45 insertions, 6 deletions
diff --git a/src/org/uic/ticket/api/spec/IIncludedOpenTicket.java b/src/org/uic/ticket/api/spec/IIncludedOpenTicket.java index ab9ee81..359a7e7 100644 --- a/src/org/uic/ticket/api/spec/IIncludedOpenTicket.java +++ b/src/org/uic/ticket/api/spec/IIncludedOpenTicket.java @@ -6,8 +6,6 @@ package org.uic.ticket.api.spec; import java.util.Collection;
import java.util.Date;
-import org.uic.ticket.api.asn.omv1.CodeTableType;
-import org.uic.ticket.api.asn.omv1.TravelClassType;
/**
* The Interface IIncludedOpenTicket.
@@ -118,7 +116,7 @@ public interface IIncludedOpenTicket { *
* @return the station code table
*/
- public CodeTableType getStationCodeTable();
+ public IStationCodeTable getStationCodeTable();
/**
* Sets the station code table.
@@ -129,7 +127,7 @@ public interface IIncludedOpenTicket { *
* @param stationCodeTable the new station code table
*/
- public void setStationCodeTable(CodeTableType stationCodeTable);
+ public void setStationCodeTable(IStationCodeTable stationCodeTable);
/**
* Gets the from station code.
@@ -248,14 +246,14 @@ public interface IIncludedOpenTicket { *
* @return the travel class code
*/
- public TravelClassType getClassCode();
+ public ITravelClassType getClassCode();
/**
* Sets the travel class code.
*
* @param classCode the new travel class code
*/
- public void setClassCode(TravelClassType classCode);
+ public void setClassCode(ITravelClassType classCode);
/**
* Gets the carriers included in the transport contract.
@@ -311,6 +309,47 @@ public interface IIncludedOpenTicket { */
public void addExcludedServiceBrand(Integer excludedServiceBrand);
+
+ /**
+ * Gets the list of excluded Transport Types.
+ *
+ * The list should be omitted in case a complete
+ * list of included transport types is provided.
+ *
+ * @return the list of excluded transport types
+ */
+ public Collection<Integer> getExcludedTransportTypes();
+
+ /**
+ * Adds an excluded service brand.
+ *
+ * The list should be omitted in case a complete
+ * list of included TransportTypes is provided.
+ *
+ * @param excluded TransportType the excluded TransportTypes
+ */
+ public void addExcludedTransportType(Integer excludedTransportType);
+
+
+ /**
+ * Gets the list of excluded Transport Types.
+ *
+ * The list should be omitted in case a complete
+ * list of included transport types is provided.
+ *
+ * @return the list of included transport types
+ */
+ public Collection<Integer> getIncludedTransportTypes();
+
+ /**
+ * Adds an excluded service brand.
+ *
+ * The list should be omitted in case a complete
+ * list of included TransportTypes is provided.
+ *
+ * @param excluded TransportType the excluded TransportTypes
+ */
+ public void addInludedTransportType(Integer includedTransportType);
/**
* Gets the tariffs.
|