Subversion Repositories eFlore/Applications.del

Rev

Rev 198 | Rev 232 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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