From c3ee0f35f58125a7a2b2e29ac8db8abc169f1b87 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Fri, 3 Jan 2020 10:47:21 +0100 Subject: api implementation --- .../ticket/api/impl/SimpleRegisteredLuggage.java | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/org/uic/ticket/api/impl/SimpleRegisteredLuggage.java (limited to 'src/org/uic/ticket/api/impl/SimpleRegisteredLuggage.java') diff --git a/src/org/uic/ticket/api/impl/SimpleRegisteredLuggage.java b/src/org/uic/ticket/api/impl/SimpleRegisteredLuggage.java new file mode 100644 index 0000000..801cd37 --- /dev/null +++ b/src/org/uic/ticket/api/impl/SimpleRegisteredLuggage.java @@ -0,0 +1,67 @@ +/* + * + */ +package org.uic.ticket.api.impl; + +import org.uic.ticket.api.spec.IRegisteredLuggage; + +// TODO: Auto-generated Javadoc +/** + * The Class SimpleRegisteredLuggage. + */ +public class SimpleRegisteredLuggage implements IRegisteredLuggage{ + + /** The registration id. */ + protected String registrationId; + + /** The max weight. */ + protected int maxWeight; + + /** The max size. */ + protected int maxSize; + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IRegisteredLuggage#getRegistrationId() + */ + public String getRegistrationId() { + return registrationId; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IRegisteredLuggage#setRegistrationId(java.lang.String) + */ + public void setRegistrationId(String registrationId) { + this.registrationId = registrationId; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IRegisteredLuggage#getMaxWeight() + */ + public int getMaxWeight() { + return maxWeight; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IRegisteredLuggage#setMaxWeight(int) + */ + public void setMaxWeight(int maxWeight) { + this.maxWeight = maxWeight; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IRegisteredLuggage#getMaxSize() + */ + public int getMaxSize() { + return maxSize; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IRegisteredLuggage#setMaxSize(int) + */ + public void setMaxSize(int maxSize) { + this.maxSize = maxSize; + } + + + +} -- cgit v1.2.3