Subversion Repositories eFlore/Applications.del

Rev

Rev 822 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 822 Rev 1014
Line 12... Line 12...
12
	private String idImage;
12
	private String idImage;
13
	private Observation observation;
13
	private Observation observation;
14
	private String url;
14
	private String url;
15
	private String urlFormat;
15
	private String urlFormat;
16
	private String miniature;
16
	private String miniature;
-
 
17
	private List<String> motsClefs;
Line 17... Line 18...
17
 
18
 
18
	public String getUrl() {
19
	public String getUrl() {
19
		return url;
20
		return url;
Line 90... Line 91...
90
	}
91
	}
Line 91... Line 92...
91
 
92
 
92
	public void setObservation(Observation observation) {
93
	public void setObservation(Observation observation) {
93
		this.observation = observation;
94
		this.observation = observation;
-
 
95
	}
-
 
96
	
-
 
97
	public List<String> getMotsClefs() {
-
 
98
		return motsClefs;
-
 
99
	}
-
 
100
 
-
 
101
	public void setMotsClefs(List<String> motsClefs) {
-
 
102
		this.motsClefs = motsClefs;
-
 
103
	}
-
 
104
 
-
 
105
	public void ajouterMotsClef(String motsClefs) {
-
 
106
		if (this.motsClefs == null) {
-
 
107
			this.motsClefs = new ArrayList<String>();
-
 
108
		}
-
 
109
		this.motsClefs.add(motsClefs);
-
 
110
	}
-
 
111
	
-
 
112
	public boolean estADeterminer() {
-
 
113
		return observation == null || observation.estADeterminer() || motsClefs.contains("aDeterminer");
Line 94... Line 114...
94
	}
114
	}