From 128ca8fad9712acdb29eab58edeeb380a2fa105a Mon Sep 17 00:00:00 2001 From: bspeice Date: Fri, 18 Oct 2013 18:05:06 -0400 Subject: [PATCH] Make the ParkingLot follow the POJO pattern --- .../uncc/gameday/registration/ParkingLot.java | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/com/uncc/gameday/registration/ParkingLot.java b/src/com/uncc/gameday/registration/ParkingLot.java index 7352a50..f64ae0d 100644 --- a/src/com/uncc/gameday/registration/ParkingLot.java +++ b/src/com/uncc/gameday/registration/ParkingLot.java @@ -2,7 +2,20 @@ package com.uncc.gameday.registration; public class ParkingLot { - ParkingChoices location; - int filled_pct; + private ParkingChoices location; + private int filled_pct; + + public int getFilledPct() { + return filled_pct; + } + public void setFilledPct(int filled_pct) { + this.filled_pct = filled_pct; + } + public ParkingChoices getLocation() { + return location; + } + public void setLocation(ParkingChoices location) { + this.location = location; + } }