Revision 4971
Added by daigle almost 15 years ago
ScheduledJobParamDAO.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* '$RCSfile$' |
3 |
* Purpose: A Class that holds the data from the scheduled_task
|
|
3 |
* Purpose: A Class that holds the data from the scheduled_job_params
|
|
4 | 4 |
* table in the database. |
5 | 5 |
* Copyright: 2009 Regents of the University of California and the |
6 | 6 |
* National Center for Ecological Analysis and Synthesis |
... | ... | |
35 | 35 |
private String _key; |
36 | 36 |
private String _value; |
37 | 37 |
|
38 |
// get parent job id |
|
38 | 39 |
public Long getJobId() { |
39 | 40 |
return _jobId; |
40 | 41 |
} |
41 | 42 |
|
43 |
// set parent job id |
|
42 | 44 |
public void setJobId(Long jobId) { |
43 | 45 |
_jobId = jobId; |
44 | 46 |
} |
45 | 47 |
|
48 |
// get parameter key |
|
46 | 49 |
public String getKey() { |
47 | 50 |
return _key; |
48 | 51 |
} |
49 | 52 |
|
53 |
// set parameter key |
|
50 | 54 |
public void setKey(String key) { |
51 | 55 |
_key = key; |
52 | 56 |
} |
53 | 57 |
|
58 |
// get parameter value |
|
54 | 59 |
public String getValue() { |
55 | 60 |
return _value; |
56 | 61 |
} |
57 | 62 |
|
63 |
// set parameter value |
|
58 | 64 |
public void setValue(String value) { |
59 | 65 |
_value = value; |
60 | 66 |
} |
Also available in: Unified diff
Beef up comments