org.promotego.formbackingbeans
Class GameOfferBean

java.lang.Object
  extended by org.promotego.formbackingbeans.GameOfferBean

public class GameOfferBean
extends java.lang.Object


Constructor Summary
GameOfferBean()
           
 
Method Summary
 int getAmpm()
           
 int getDay()
           
 int getDuration()
           
 int getHour()
           
 Location getLocation()
           
 int getMinute()
           
 int getMonth()
           
 java.util.Date getStartTime()
           
 int getYear()
           
 boolean isHoursValid()
           
 void setAmpm(int ampm)
           
 void setDay(int day)
           
 void setDuration(int duration)
           
 void setHour(int hours)
           
 void setHoursValid(boolean hoursValid)
           
 void setLocation(Location location)
           
 void setMinute(int minutes)
           
 void setMonth(int month)
           
 void setStartTime(java.util.Calendar theCalendar)
          Given a calendar, set all the appropriate fields.
 void setYear(int year)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameOfferBean

public GameOfferBean()
Method Detail

getDuration

public int getDuration()

setDuration

public void setDuration(int duration)

getLocation

public Location getLocation()

setLocation

public void setLocation(Location location)

getDay

public int getDay()

setDay

public void setDay(int day)

getHour

public int getHour()

setHour

public void setHour(int hours)

getMinute

public int getMinute()

setMinute

public void setMinute(int minutes)

getMonth

public int getMonth()

setMonth

public void setMonth(int month)

getYear

public int getYear()

setYear

public void setYear(int year)

getAmpm

public int getAmpm()

setAmpm

public void setAmpm(int ampm)

getStartTime

public java.util.Date getStartTime()
Returns:

isHoursValid

public boolean isHoursValid()

setHoursValid

public void setHoursValid(boolean hoursValid)

setStartTime

public void setStartTime(java.util.Calendar theCalendar)
Given a calendar, set all the appropriate fields.

Parameters:
theCalendar - A calendar containing the date to be set for the start time


Copyright © 2007. All Rights Reserved.