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/impl/SimpleCompartmentDetails.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/org/uic/ticket/api/impl/SimpleCompartmentDetails.java') diff --git a/src/org/uic/ticket/api/impl/SimpleCompartmentDetails.java b/src/org/uic/ticket/api/impl/SimpleCompartmentDetails.java index 35a2add..bf59055 100644 --- a/src/org/uic/ticket/api/impl/SimpleCompartmentDetails.java +++ b/src/org/uic/ticket/api/impl/SimpleCompartmentDetails.java @@ -3,10 +3,9 @@ */ package org.uic.ticket.api.impl; -import org.uic.ticket.api.asn.omv1.CompartmentPositionType; import org.uic.ticket.api.spec.ICompartmentDetails; +import org.uic.ticket.api.spec.ICompartmentPositionType; -// TODO: Auto-generated Javadoc /** * The Class SimpleCompartmentDetails. */ @@ -32,7 +31,7 @@ public class SimpleCompartmentDetails implements ICompartmentDetails { protected String specialAllocationDescr; /** The position. */ - protected CompartmentPositionType position = CompartmentPositionType.unspecified; + protected ICompartmentPositionType position = ICompartmentPositionType.unspecified; /* (nicht-Javadoc) * @see org.uic.ticket.api.spec.ICompartmentDetails#getCoachType() @@ -121,14 +120,14 @@ public class SimpleCompartmentDetails implements ICompartmentDetails { /* (nicht-Javadoc) * @see org.uic.ticket.api.spec.ICompartmentDetails#getPosition() */ - public CompartmentPositionType getPosition() { + public ICompartmentPositionType getPosition() { return position; } /* (nicht-Javadoc) * @see org.uic.ticket.api.spec.ICompartmentDetails#setPosition(org.uic.ticket.api.asn.om.CompartmentPositionType) */ - public void setPosition(CompartmentPositionType position) { + public void setPosition(ICompartmentPositionType position) { this.position = position; } -- cgit v1.2.3