Package | Description |
---|---|
tlass.project | |
tlass.project.model |
Modifier and Type | Method and Description |
---|---|
boolean |
ModelHandler.addAssistantSkill(Assistant assistant,
Skill newSkill)
Returns if added
|
boolean |
ModelHandler.addSectionSkill(Section section,
Skill newSkill)
Add a skill that is required of an Assistant to the Section
also checks to see if the skill is already present before adding it
|
void |
ModelHandler.addSkill(Skill newSkill)
Adds the specified skill to the model.
|
void |
ModelHandler.removeAssistantSkill(Assistant assistant,
Skill selectedSkill)
Removes a skill from an Assistant
|
void |
ModelHandler.removeSectionSkill(Section section,
Skill selectedSkill)
Removes a skill that is required of an Assistant from the Section.
|
Modifier and Type | Method and Description |
---|---|
Skill |
Model.getSkillByName(java.lang.String selectedSkill)
Returns the skill in the model that has the same name as
the name that is supplied, if it exists in the model.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Skill> |
Model.getSkills()
Gets the list of skills that are currently stored in the model.
|
java.util.HashSet<Skill> |
Assistant.getSkills()
returns the set of skills for this assistant
|
java.util.HashSet<Skill> |
Section.getSkillsNeeded()
Gets the list of skills needed to hold a ta or la position for the section.
|
Modifier and Type | Method and Description |
---|---|
void |
Section.addSkill(Skill skill)
Add a skill that is required to be a TA or LA for the section.
|
void |
Model.addSkill(Skill aSkill)
Adds the specified skill to the model.
|
void |
Assistant.addSkill(Skill skill)
adds a skill
|
boolean |
Section.hasSkill(Skill selectedSkill)
Check to see if the supplied skill is already in the
list of skills required for an assistant to be assigned
to a section.
|
boolean |
Assistant.hasSkill(Skill selectedSkill)
returns true if an assistant has the given skill, false otherwise
|
void |
Section.removeSkill(Skill selectedSkill)
Removes the supplied skill from the list of skills required
for an assistant to be assigned to the section
|
void |
Model.removeSkill(Skill selectedSkill)
Removes the skill of the name matching the supplied name
from the model.
|
void |
Assistant.removeSkill(Skill selectedSkill)
removes a skill from the list of assistant's skills
|
boolean |
Model.skillExists(Skill newSkill)
Queries the model to find if a skill of the same name
as the one supplied exists.
|
boolean |
Model.skillReferenced(Skill selectedSkill)
Queries the model to see if the skill of the supplied name
is referenced.
|
Modifier and Type | Method and Description |
---|---|
void |
Section.clean(java.util.ArrayList<Assistant> assistants,
java.util.ArrayList<Skill> skills,
java.util.ArrayList<Instructor> instructors)
Consumes an ArrayLIst of assistants, skills, and instructors
and then removes all of the elements from the three
arraylists
|
void |
Assistant.setSkills(java.util.HashSet<Skill> skills)
sets the set of skills for this assistant
|
void |
Section.setSkillsNeeded(java.util.HashSet<Skill> skillsNeeded)
Sets the list of skills needed to hold a ta or la position for the section.
|