1
2
3
4
5
6
7
8 package com.buckosoft.PicMan.domain;
9
10 import java.util.Date;
11 import java.util.HashMap;
12
13
14
15
16
17
18 public class Mosaic implements Comparable<Mosaic> {
19 private int mid;
20 private boolean batch;
21 private boolean makeBackup = true;
22 private String name;
23 private String engine;
24 private String masterPic;
25 private String outPic;
26 private int tileHeight;
27 private int sid;
28 private Date startTime;
29
30 private int tilesComplete;
31
32 private HashMap<String, String> engineConfig = new HashMap<String, String>();
33
34 public int compareTo(Mosaic arg0) {
35 return(this.name.compareToIgnoreCase(arg0.name));
36 }
37
38
39
40
41 public int getMid() {
42 return mid;
43 }
44
45
46
47 public void setMid(int mid) {
48 this.mid = mid;
49 }
50
51
52
53 public boolean isBatch() {
54 return batch;
55 }
56
57
58
59 public void setBatch(boolean batch) {
60 this.batch = batch;
61 }
62
63
64
65 public String getName() {
66 return name;
67 }
68
69
70
71 public void setName(String name) {
72 this.name = name;
73 }
74
75
76
77 public String getEngine() {
78 return engine;
79 }
80
81
82
83 public void setEngine(String engine) {
84 this.engine = engine;
85 }
86
87
88
89 public String getMasterPic() {
90 return masterPic;
91 }
92
93
94
95 public void setMasterPic(String masterPic) {
96 this.masterPic = masterPic;
97 }
98
99
100
101 public String getOutPic() {
102 return outPic;
103 }
104
105
106
107 public void setOutPic(String outPic) {
108 this.outPic = outPic;
109 }
110
111
112
113 public int getSid() {
114 return sid;
115 }
116
117
118
119 public void setSid(int sid) {
120 this.sid = sid;
121 }
122
123
124
125
126 public int getTileHeight() {
127 return tileHeight;
128 }
129
130
131
132 public void setTileHeight(int tileHeight) {
133 this.tileHeight = tileHeight;
134 }
135
136
137
138 public Date getStartTime() {
139 return startTime;
140 }
141
142
143
144 public void setStartTime(Date startTime) {
145 this.startTime = startTime;
146 }
147
148
149
150 public int getTilesComplete() {
151 return tilesComplete;
152 }
153
154
155
156 public void setTilesComplete(int tilesComplete) {
157 this.tilesComplete = tilesComplete;
158 }
159
160
161
162
163 public boolean isMakeBackup() {
164 return makeBackup;
165 }
166
167
168
169
170 public void setMakeBackup(boolean makeBackup) {
171 this.makeBackup = makeBackup;
172 }
173
174
175
176
177
178 public HashMap<String, String> getEngineConfig() {
179 return engineConfig;
180 }
181
182
183
184
185 public void setEngineConfig(HashMap<String, String> engineConfig) {
186 this.engineConfig = engineConfig;
187 }
188
189 }