public class TaskDescriptionRepository extends Object
Constructor and Description |
---|
TaskDescriptionRepository() |
Modifier and Type | Method and Description |
---|---|
void |
addTaskDescription(TaskDescription taskDescription)
Stores a given TaskDescription
|
void |
clear() |
Iterator<TaskDescription> |
getAllTaskDescriptions()
Return all TaskDescritions
|
TaskDescription |
getTaskDescription(String name)
Gets a TaskDescription
|
boolean |
isUnique(String name)
Explicit check for determine whether there is a task description with a name in interest
|
TaskDescription |
removeTaskDescription(String name)
Removing a TaskDescription
|
public void addTaskDescription(TaskDescription taskDescription)
taskDescription
- TaskDescription instancepublic TaskDescription getTaskDescription(String name)
name
- Name of the TaskDescription to be looked uppublic TaskDescription removeTaskDescription(String name)
name
- Name of the TaskDescription to be removedpublic Iterator<TaskDescription> getAllTaskDescriptions()
public boolean isUnique(String name)
name
- Name of the TaskDescriptionpublic void clear()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.