org.jasig.schedassist.web.visitor
Class CreateAppointmentFormBackingObject
java.lang.Object
org.jasig.schedassist.web.visitor.CreateAppointmentFormBackingObject
public class CreateAppointmentFormBackingObject
- extends Object
Form backing object for CreateAppointmentFormController.
- Version:
- $Id: CreateAppointmentFormBackingObject.java 1713 2010-02-15 16:23:42Z npblair $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateAppointmentFormBackingObject
public CreateAppointmentFormBackingObject(AvailableBlock targetBlock,
MeetingDurations meetingDurations)
- Parameters:
targetBlock -
getTargetBlock
public AvailableBlock getTargetBlock()
- Returns:
- the targetBlock
getMeetingDurations
public MeetingDurations getMeetingDurations()
- Returns:
- the meetingDurations
isMultipleVisitors
public boolean isMultipleVisitors()
- Returns:
- the multipleVisitors
getReason
public String getReason()
- Returns:
- the reason
setReason
public void setReason(String reason)
- Parameters:
reason - the reason to set
isDoubleLengthAvailable
public boolean isDoubleLengthAvailable()
- Returns:
- whether or not "double length" meeting duration is available
getMeetingDurationsAsList
public List<Integer> getMeetingDurationsAsList()
- A
List of Integers containing the acceptable
values for selectedDuration.
If the internal MeetingDurations "isDoubleLengthAvailable,"
the returned List will contain 1 entry for the minValue and 1 entry
for the maxValue.
Otherwise, the returned list will only contain 1 (the minValue).
- Returns:
- the meetingDurations
getSelectedDuration
public int getSelectedDuration()
- Returns:
- the selectedDuration
setSelectedDuration
public void setSelectedDuration(int selectedDuration)
- Parameters:
selectedDuration - the selectedDuration to set
isConfirmJoin
public boolean isConfirmJoin()
- Returns:
- the confirmJoin
setConfirmJoin
public void setConfirmJoin(boolean confirmJoin)
- Parameters:
confirmJoin - the confirmJoin to set
Copyright © 2011 Jasig. All Rights Reserved.