Subversion Repositories eFlore/Applications.del

Rev

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

Rev 868 Rev 1001
Line 1... Line 1...
1
package org.tela_botanica.del.client.modeles;
1
package org.tela_botanica.del.client.modeles;
Line 2... Line 2...
2
 
2
 
3
import java.io.Serializable;
3
import java.io.Serializable;
-
 
4
import java.util.ArrayList;
4
import java.util.ArrayList;
5
import java.util.Iterator;
Line 5... Line -...
5
import java.util.List;
-
 
6
 
-
 
7
import com.google.gwt.user.client.Window;
6
import java.util.List;
Line 8... Line 7...
8
 
7
 
9
public class Observation implements Serializable {
8
public class Observation implements Serializable {
10
 
9
 
Line 178... Line 177...
178
				determinations.add((PropositionDetermination) proposition);
177
				determinations.add((PropositionDetermination) proposition);
179
			}
178
			}
180
		}
179
		}
181
		return determinations;
180
		return determinations;
182
	}
181
	}
-
 
182
		
-
 
183
	public void supprimerIntervention(InterventionForum intervention) {
-
 
184
		if(propositions.contains(intervention)) {
-
 
185
			propositions.remove(intervention);
-
 
186
		} else {
-
 
187
			for (Iterator<InterventionForum> iterator = propositions.iterator(); iterator.hasNext();) {
-
 
188
				iterator.next().supprimerIntervention(intervention);
-
 
189
			}
-
 
190
		}
-
 
191
	}
Line 183... Line 192...
183
 
192
 
184
	public List<Image> getImages() {
193
	public List<Image> getImages() {
185
		return images;
194
		return images;