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