Subversion Repositories eFlore/Applications.del

Rev

Go to most recent revision | Details | 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
	private Observation observation;
10
	private String url;
198 gduche 11
	private String urlFormat;
12
	private String miniature;
13
 
147 benjamin 14
	public String getUrl() {
15
		return url;
16
	}
17
 
198 gduche 18
	public String getMiniature() {
19
		return miniature;
20
	}
21
 
22
	public String getUrlFormat(String format) {
23
		return urlFormat.replaceAll("%s%", format);
24
	}
25
 
26
	public void setUrlFormat(String urlFormat) {
27
		this.urlFormat = urlFormat;
28
	}
29
 
147 benjamin 30
	public void setUrl(String url) {
31
		this.url = url;
32
	}
33
 
198 gduche 34
	public void setMiniature(String url) {
35
		miniature = url;
36
	}
37
 
147 benjamin 38
	public String getIdImage() {
39
		return idImage;
40
	}
41
 
42
	public void setIdImage(String idImage) {
43
		this.idImage = idImage;
44
	}
45
 
46
	private List<VoteProtocole> voteProtocoles = new ArrayList<VoteProtocole>();
47
 
48
	public List<VoteProtocole> getVoteProtocoles() {
49
		return voteProtocoles;
50
	}
51
 
52
	public void setVoteProtocoles(List<VoteProtocole> voteProtocoles) {
53
		this.voteProtocoles = voteProtocoles;
54
	}
55
 
56
	public Observation getObservation() {
57
		return observation;
58
	}
59
 
60
	public void setObservation(Observation observation) {
61
		this.observation = observation;
62
	}
63
 
64
}