public class GroupInfo extends Object
| Constructor and Description | 
|---|
| GroupInfo()Deprecated.  Default constructor, intializes the users list | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addGroupDutySchedule(DutySchedule aSchedule)Deprecated.  This method adds a duty schedule | 
| void | addUser(String aUser)Deprecated.  Adds a username to the list of users | 
| int | getDutyScheduleCount()Deprecated.  Returns the number of DutySchedule object for a group | 
| List<DutySchedule> | getDutySchedules()Deprecated.  Returns the full list of DutySchedules | 
| String | getGroupComments()Deprecated.  Returns the comments for the group | 
| String | getGroupName()Deprecated.  Returns the group name | 
| int | getUserCount()Deprecated.  Returns a count of the users in the list | 
| List<String> | getUsers()Deprecated.  Returns the list of users | 
| boolean | isOnDuty(Calendar aTime)Deprecated.  Returns a boolean indicating if the user is on duty at the specified
 time. | 
| void | removeUser(String aUser)Deprecated.  Removes a username from the list of users | 
| void | setDutySchedule(List<DutySchedule> someSchedules)Deprecated.  This method sets a full list of duty schedules for a group | 
| void | setGroupComments(String someComments)Deprecated.  Sets the comments for the group | 
| void | setGroupName(String aName)Deprecated.  Sets the group name | 
| String | toString()Deprecated.  Returns a String representation of the group, used primarily for
 debugging. | 
public GroupInfo()
public void setGroupName(String aName)
aName - the name of the grouppublic String getGroupName()
public void setGroupComments(String someComments)
someComments - the comments for the grouppublic String getGroupComments()
public void addUser(String aUser)
aUser - a new usernamepublic void removeUser(String aUser)
aUser - the user to removepublic List<String> getUsers()
public int getUserCount()
public void addGroupDutySchedule(DutySchedule aSchedule)
aSchedule - a new duty schedule to associate with a grouppublic void setDutySchedule(List<DutySchedule> someSchedules)
someSchedules - a list of DutySchedule objects for a grouppublic int getDutyScheduleCount()
public List<DutySchedule> getDutySchedules()
public boolean isOnDuty(Calendar aTime)
aTime - a time to see if the user is on dutyCopyright © 2019. All rights reserved.