From 425bd35c736b7e1c0dbe5b3f9162e195b3be6018 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Thu, 25 Feb 2021 11:02:26 +0100 Subject: - bug fix on TicketType Enum - duplicate function getDocument removed - issuedOnLine null value allowed - maven install added (required renaming of some packages) --- .../uic/barcode/ticket/api/impl/SimplePlaces.java | 89 ++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 src/org/uic/barcode/ticket/api/impl/SimplePlaces.java (limited to 'src/org/uic/barcode/ticket/api/impl/SimplePlaces.java') diff --git a/src/org/uic/barcode/ticket/api/impl/SimplePlaces.java b/src/org/uic/barcode/ticket/api/impl/SimplePlaces.java new file mode 100644 index 0000000..1567b56 --- /dev/null +++ b/src/org/uic/barcode/ticket/api/impl/SimplePlaces.java @@ -0,0 +1,89 @@ +/* + * + */ +package org.uic.barcode.ticket.api.impl; + +import java.util.Collection; +import java.util.LinkedHashSet; + +import org.uic.barcode.ticket.api.spec.IPlaces; + +// TODO: Auto-generated Javadoc +/** + * The Class SimplePlaces. + */ +public class SimplePlaces implements IPlaces { + + /** The coach. */ + protected String coach; + + /** The place string. */ + protected String placeString; + + /** The place description. */ + protected String placeDescription; + + /** The places. */ + protected Collection places = new LinkedHashSet(); + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IPlaces#getCoach() + */ + public String getCoach() { + return coach; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IPlaces#setCoach(java.lang.String) + */ + public void setCoach(String coach) { + this.coach = coach; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IPlaces#getPlaceString() + */ + public String getPlaceString() { + return placeString; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IPlaces#setPlaceString(java.lang.String) + */ + public void setPlaceString(String placeString) { + this.placeString = placeString; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IPlaces#getPlaceDescription() + */ + public String getPlaceDescription() { + return placeDescription; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IPlaces#setPlaceDescription(java.lang.String) + */ + public void setPlaceDescription(String placeDescription) { + this.placeDescription = placeDescription; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IPlaces#getPlaces() + */ + public Collection getPlaces() { + return places; + } + + /* (nicht-Javadoc) + * @see org.uic.ticket.api.spec.IPlaces#addPlace(java.lang.String) + */ + public void addPlace(String place) { + this.places.add(place); + } + + + + + +} -- cgit v1.2.3