01: package org.osbl.issue.model;
02:
03: import org.conform.*;
04: import org.osbl.persistence.model.Entity;
05:
06: import java.util.Set;
07: import java.util.List;
08: import java.sql.Date;
09: import java.sql.Timestamp;
10:
11: @Bean(format=FormatType.CUSTOM,formatClass="org.osbl.issue.model.IssueFormat")
12: public class Issue extends Entity {
13: @Property(mandatory="true")
14: Date due;
15: String assignee;
16: @Property(mandatory="true")
17: String name;
18: String description;
19: List<Link> links;
20: Timestamp done;
21:
22: public Date getDue() {
23: return due;
24: }
25:
26: public void setDue(Date due) {
27: this .due = due;
28: }
29:
30: public String getAssignee() {
31: return assignee;
32: }
33:
34: public void setAssignee(String assignee) {
35: this .assignee = assignee;
36: }
37:
38: public String getName() {
39: return name;
40: }
41:
42: public void setName(String name) {
43: this .name = name;
44: }
45:
46: public String getDescription() {
47: return description;
48: }
49:
50: public void setDescription(String description) {
51: this .description = description;
52: }
53:
54: public List<Link> getLinks() {
55: return links;
56: }
57:
58: public void setLinks(List<Link> links) {
59: this .links = links;
60: }
61:
62: public Timestamp getDone() {
63: return done;
64: }
65:
66: public void setDone(Timestamp done) {
67: this .done = done;
68: }
69:
70: public String toString() {
71: return getKey();
72: }
73: }
|