public class UserTaskInformation extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TASK_INFORMATION_ASSIGNED_USER_LASTNAME |
static String |
TASK_INFORMATION_ASSIGNED_USER_NAME |
static String |
TASK_INFORMATION_UNASSIGNOR |
| Constructor and Description |
|---|
UserTaskInformation(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 static final String TASK_INFORMATION_ASSIGNED_USER_NAME
public static final String TASK_INFORMATION_ASSIGNED_USER_LASTNAME
public static final String TASK_INFORMATION_UNASSIGNOR
public UserTaskInformation(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 © 2019 City of Paris. All rights reserved.