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/SimpleBerth.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 '')
-rw-r--r-- | src/org/uic/ticket/api/impl/SimpleBerth.java | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/org/uic/ticket/api/impl/SimpleBerth.java b/src/org/uic/ticket/api/impl/SimpleBerth.java index 7bae1d3..f70a8b6 100644 --- a/src/org/uic/ticket/api/impl/SimpleBerth.java +++ b/src/org/uic/ticket/api/impl/SimpleBerth.java @@ -3,11 +3,10 @@ */
package org.uic.ticket.api.impl;
-import org.uic.ticket.api.asn.omv1.BerthTypeType;
-import org.uic.ticket.api.asn.omv1.CompartmentGenderType;
+import org.uic.ticket.api.spec.IBerthTypeType;
+import org.uic.ticket.api.spec.ICompartmentGenderType;
import org.uic.ticket.api.spec.IBerth;
-// TODO: Auto-generated Javadoc
/**
* The Class SimpleBerth.
*/
@@ -15,25 +14,25 @@ public class SimpleBerth implements IBerth { /** The type. */
- protected BerthTypeType type;
+ protected IBerthTypeType type;
/** The number of berths. */
protected int numberOfBerths;
/** The gender. */
- protected CompartmentGenderType gender = CompartmentGenderType.family;
+ protected ICompartmentGenderType gender = ICompartmentGenderType.family;
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IBerth#getType()
*/
- public BerthTypeType getType() {
+ public IBerthTypeType getType() {
return type;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IBerth#setType(org.uic.ticket.api.asn.om.BerthTypeType)
*/
- public void setType(BerthTypeType type) {
+ public void setType(IBerthTypeType type) {
this.type = type;
}
@@ -54,14 +53,14 @@ public class SimpleBerth implements IBerth { /* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IBerth#getGender()
*/
- public CompartmentGenderType getGender() {
+ public ICompartmentGenderType getGender() {
return gender;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IBerth#setGender(org.uic.ticket.api.asn.om.CompartmentGenderType)
*/
- public void setGender(CompartmentGenderType gender) {
+ public void setGender(ICompartmentGenderType gender) {
this.gender = gender;
}
|