public class TaskInformation extends Object
| Constructor and Description |
|---|
TaskInformation(int nIdHistory,
int nIdTask)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String strKey,
String strValue)
Adds a piece of information
|
String |
get(String strKey)
Gives the value of the piece of information with the specified key
|
int |
getIdHistory()
Gives the history id
|
int |
getIdTask()
Gives the task id
|
Collection<String> |
getKeys()
Gives all the keys of the pieces of information
|
public TaskInformation(int nIdHistory,
int nIdTask)
nIdHistory - the history idnIdTask - the task idpublic int getIdHistory()
public int getIdTask()
public void add(String strKey, String strValue)
strKey - the key of the piece of informationstrValue - the value of the piece of informationpublic String get(String strKey)
strKey - the keypublic Collection<String> getKeys()
Copyright © 2021 City of Paris. All rights reserved.