1 package org.kuali.maven.mojo.s3;
2
3
4
5
6 public class DisplayRow implements Comparable<DisplayRow> {
7 String show;
8 String image;
9 String ahref;
10 String lastModified;
11 String size;
12
13 @Override
14 public int compareTo(DisplayRow other) {
15 if (show == null && other.getShow() == null) {
16 return 0;
17 }
18 if (show == null) {
19 return -1;
20 }
21 if (other.getShow() == null) {
22 return -1;
23 }
24 return show.compareTo(other.getShow());
25 }
26
27 public String getImage() {
28 return image;
29 }
30
31 public void setImage(final String image) {
32 this.image = image;
33 }
34
35 public String getAhref() {
36 return ahref;
37 }
38
39 public void setAhref(final String ahref) {
40 this.ahref = ahref;
41 }
42
43 public String getLastModified() {
44 return lastModified;
45 }
46
47 public void setLastModified(final String date) {
48 this.lastModified = date;
49 }
50
51 public String getSize() {
52 return size;
53 }
54
55 public void setSize(final String size) {
56 this.size = size;
57 }
58
59 public String getShow() {
60 return show;
61 }
62
63 public void setShow(String show) {
64 this.show = show;
65 }
66
67 }