Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
NoteDetail |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2008-2009 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.opensource.org/licenses/ecl2.php | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.rice.kew.webservice; | |
17 | ||
18 | import org.apache.commons.lang.builder.ReflectionToStringBuilder; | |
19 | ||
20 | /** | |
21 | * Response object encapsulating a note on a document | |
22 | */ | |
23 | 0 | public class NoteDetail { |
24 | private String author; | |
25 | private String id; | |
26 | private String timestamp; | |
27 | private String noteText; | |
28 | ||
29 | public String getAuthor() { | |
30 | 0 | return author; |
31 | } | |
32 | public void setAuthor(String author) { | |
33 | 0 | this.author = author; |
34 | 0 | } |
35 | public String getId() { | |
36 | 0 | return id; |
37 | } | |
38 | public void setId(String id) { | |
39 | 0 | this.id = id; |
40 | 0 | } |
41 | public String getTimestamp() { | |
42 | 0 | return timestamp; |
43 | } | |
44 | public void setTimestamp(String timestamp) { | |
45 | 0 | this.timestamp = timestamp; |
46 | 0 | } |
47 | public String getNoteText() { | |
48 | 0 | return noteText; |
49 | } | |
50 | public void setNoteText(String noteText) { | |
51 | 0 | this.noteText = noteText; |
52 | 0 | } |
53 | public String toString() { | |
54 | 0 | return ReflectionToStringBuilder.toString(this); |
55 | } | |
56 | } |