Subversion Repositories eFlore/Applications.del

Rev

Rev 210 | Rev 629 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 210 Rev 232
1
package org.tela_botanica.del.client.modeles;
1
package org.tela_botanica.del.client.modeles;
2
 
2
 
3
import java.util.ArrayList;
3
import java.util.ArrayList;
4
import java.util.List;
4
import java.util.List;
5
 
5
 
6
public class Image {
6
public class Image {
7
 
7
 
8
	private String idImage;
8
	private String idImage;
9
 
-
 
10
	private Observation observation;
9
	private Observation observation;
11
 
-
 
12
	private String url;
10
	private String url;
13
 
-
 
14
	private String urlFormat;
11
	private String urlFormat;
15
 
-
 
16
	private String miniature;
12
	private String miniature;
17
 
13
 
18
	public String getUrl() {
14
	public String getUrl() {
19
		return url;
15
		return url;
20
	}
16
	}
21
 
17
 
22
	public String getMiniature() {
18
	public String getMiniature() {
23
		return miniature;
19
		return miniature;
24
	}
20
	}
25
 
21
 
26
	public String getUrlFormat(String format) {
22
	public String getUrlFormat(String format) {
27
		return urlFormat.replaceAll("%s%", format);
23
		return urlFormat.replaceAll("%s%", format);
28
	}
24
	}
29
 
25
 
30
	public void setUrlFormat(String urlFormat) {
26
	public void setUrlFormat(String urlFormat) {
31
		this.urlFormat = urlFormat;
27
		this.urlFormat = urlFormat;
32
	}
28
	}
33
 
29
 
34
	public void setUrl(String url) {
30
	public void setUrl(String url) {
35
		this.url = url;
31
		this.url = url;
36
	}
32
	}
37
 
33
 
38
	public void setMiniature(String url) {
34
	public void setMiniature(String url) {
39
		miniature = url;
35
		miniature = url;
40
	}
36
	}
41
 
37
 
42
	public String getIdImage() {
38
	public String getIdImage() {
43
		return idImage;
39
		return idImage;
44
	}
40
	}
45
 
41
 
46
	public void setIdImage(String idImage) {
42
	public void setIdImage(String idImage) {
47
		this.idImage = idImage;
43
		this.idImage = idImage;
48
	}
44
	}
49
 
45
 
50
	private List<VoteProtocole> voteProtocoles = new ArrayList<VoteProtocole>();
46
	private List<VoteProtocole> voteProtocoles = new ArrayList<VoteProtocole>();
51
 
47
 
52
	public List<VoteProtocole> getVoteProtocoles() {
48
	public List<VoteProtocole> getVoteProtocoles() {
53
		return voteProtocoles;
49
		return voteProtocoles;
54
	}
50
	}
55
 
51
 
56
	public void setVoteProtocoles(List<VoteProtocole> voteProtocoles) {
52
	public void setVoteProtocoles(List<VoteProtocole> voteProtocoles) {
57
		this.voteProtocoles = voteProtocoles;
53
		this.voteProtocoles = voteProtocoles;
58
	}
54
	}
59
 
55
 
60
	public Observation getObservation() {
56
	public Observation getObservation() {
61
		return observation;
57
		return observation;
62
	}
58
	}
63
 
59
 
64
	public void setObservation(Observation observation) {
60
	public void setObservation(Observation observation) {
65
		this.observation = observation;
61
		this.observation = observation;
66
	}
62
	}
67
 
63
 
68
}
64
}