Biblioteca Java - Blame information for rev 18
Subversion Repositories:
(root)/Frameworks and Technologies/Neo4J Samples/Neo4JTutorial/src/main/java/com/linkscreens/graphsin/model/StatusUpdate.java
Rev | Author | Line No. | Line |
---|---|---|---|
18 | mihai | 1 | package com.linkscreens.graphsin.model; |
2 | |||
3 | import java.util.Date; | ||
4 | |||
5 | public class StatusUpdate { | ||
6 | String text; | ||
7 | Date date; | ||
8 | |||
9 | public StatusUpdate(String text, Date date) { | ||
10 | super(); | ||
11 | this.text = text; | ||
12 | this.date = date; | ||
13 | } | ||
14 | |||
15 | public String getText() { | ||
16 | return text; | ||
17 | } | ||
18 | |||
19 | public void setText(String text) { | ||
20 | this.text = text; | ||
21 | } | ||
22 | |||
23 | public Date getDate() { | ||
24 | return date; | ||
25 | } | ||
26 | |||
27 | public void setDate(Date date) { | ||
28 | this.date = date; | ||
29 | } | ||
30 | |||
31 | @Override | ||
32 | public String toString() { | ||
33 | return "StatusUpdate ["+text+":"+date.toString()+"]"; | ||
34 | } | ||
35 | |||
36 | } |