From aaeb77f8f58ebc01fd241139439a8d290765e5fc Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Tue, 28 Jul 2020 17:56:59 +0200 Subject: Draft of the new DOSIPAS included --- src/org/uic/ticket/api/spec/IBerth.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/org/uic/ticket/api/spec/IBerth.java') diff --git a/src/org/uic/ticket/api/spec/IBerth.java b/src/org/uic/ticket/api/spec/IBerth.java index 78a9780..a1051b7 100644 --- a/src/org/uic/ticket/api/spec/IBerth.java +++ b/src/org/uic/ticket/api/spec/IBerth.java @@ -3,9 +3,8 @@ */ package org.uic.ticket.api.spec; -import org.uic.ticket.api.EncodingFormatException; -import org.uic.ticket.api.asn.omv1.BerthTypeType; -import org.uic.ticket.api.asn.omv1.CompartmentGenderType; +import org.uic.ticket.EncodingFormatException; + /** @@ -19,7 +18,7 @@ public interface IBerth { * * @return the type */ - public BerthTypeType getType() ; + public IBerthTypeType getType() ; /** * Sets the type of the Berth. @@ -27,7 +26,7 @@ public interface IBerth { * * @param type the new berth type */ - public void setType(BerthTypeType type); + public void setType(IBerthTypeType type); /** * Gets the number of berths. @@ -49,13 +48,13 @@ public interface IBerth { * * @return the gender */ - public CompartmentGenderType getGender(); + public ICompartmentGenderType getGender(); /** * Sets the gender information of the compartment reserved (family, male, female, mixed,..). * * @param gender the new gender */ - public void setGender(CompartmentGenderType gender) ; + public void setGender(ICompartmentGenderType gender) ; } -- cgit v1.2.3