My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
* Copyright 2000-2007 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

package com.simpletasks.domain;

import java.util.Date;

/**
* Created by IntelliJ IDEA. User: Mario Arias Date: 30/05/2008 Time: 08:28:01 PM
*/
public class Task {
// ------------------------------ FIELDS ------------------------------

private int id;
private String title;
private String detail;
private boolean finished;
private Date createDate;
private Date endDate;

// --------------------- GETTER / SETTER METHODS ---------------------

public Date getCreateDate() {
return createDate;
}

public void setCreateDate(Date createDate) {
this.createDate = createDate;
}

public String getDetail() {
return detail;
}

public void setDetail(String detail) {
this.detail = detail;
}

public Date getEndDate() {
return endDate;
}

public void setEndDate(Date endDate) {
this.endDate = endDate;
}

public int getId() {
return id;
}

public void setId(int id) {
this.id = id;
}

public String getTitle() {
return title;
}

public void setTitle(String title) {
this.title = title;
}

public boolean isFinished() {
return finished;
}

public void setFinished(boolean finished) {
this.finished = finished;
}

// ------------------------ CANONICAL METHODS ------------------------

public String toString() {
return "Task{" +
"createDate=" + createDate +
", id=" + id +
", title='" + title + '\'' +
", detail='" + detail + '\'' +
", finished=" + finished +
", endDate=" + endDate +
'}';
}
}
Show details Hide details

Change log

r127 by eshepelyuk on Sep 15, 2008   Diff
[No log message]
Go to: 
Project members, sign in to write a code review

Older revisions

r84 by Mario.Arias.C on May 31, 2008   Diff
functional-test project
All revisions of this file

File info

Size: 2434 bytes, 97 lines
Hosted by Google Code