From a02e59b81fb366aa00f7a763297dd88052016570 Mon Sep 17 00:00:00 2001 From: bspeice Date: Fri, 18 Oct 2013 18:47:23 -0400 Subject: [PATCH] Change ParkingRating to use the POJO pattern --- .../gameday/registration/ParkingRating.java | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/com/uncc/gameday/registration/ParkingRating.java b/src/com/uncc/gameday/registration/ParkingRating.java index 7a1a445..f284088 100644 --- a/src/com/uncc/gameday/registration/ParkingRating.java +++ b/src/com/uncc/gameday/registration/ParkingRating.java @@ -1,6 +1,19 @@ package com.uncc.gameday.registration; public class ParkingRating { - ParkingChoices parking_lot; - RatingChoices rating; + private ParkingChoices parking_lot; + private RatingChoices rating; + + public ParkingChoices getParkingLot() { + return parking_lot; + } + public void setParkingLot(ParkingChoices parking_lot) { + this.parking_lot = parking_lot; + } + public RatingChoices getRating() { + return rating; + } + public void setRating(RatingChoices rating) { + this.rating = rating; + } }