Rev 210 | Rev 629 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.del.client.modeles;
import java.util.ArrayList;
import java.util.List;
public class Image {
private String idImage;
private Observation observation;
private String url;
private String urlFormat;
private String miniature;
public String getUrl() {
return url;
}
public String getMiniature() {
return miniature;
}
public String getUrlFormat(String format) {
return urlFormat.replaceAll("%s%", format);
}
public void setUrlFormat(String urlFormat) {
this.urlFormat = urlFormat;
}
public void setUrl(String url) {
this.url = url;
}
public void setMiniature(String url) {
miniature = url;
}
public String getIdImage() {
return idImage;
}
public void setIdImage(String idImage) {
this.idImage = idImage;
}
private List<VoteProtocole> voteProtocoles = new ArrayList<VoteProtocole>();
public List<VoteProtocole> getVoteProtocoles() {
return voteProtocoles;
}
public void setVoteProtocoles(List<VoteProtocole> voteProtocoles) {
this.voteProtocoles = voteProtocoles;
}
public Observation getObservation() {
return observation;
}
public void setObservation(Observation observation) {
this.observation = observation;
}
}