Subversion Repositories eFlore/Applications.del

Rev

Rev 117 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 117 Rev 135
Line 127... Line 127...
127
	}
127
	}
Line 128... Line 128...
128
 
128
 
129
	public void setVoteProtocoles(List<VoteProtocole> voteProtocoles) {
129
	public void setVoteProtocoles(List<VoteProtocole> voteProtocoles) {
130
		this.voteProtocoles = voteProtocoles;
130
		this.voteProtocoles = voteProtocoles;
131
	}
131
	}
132
	
132
 
133
	public void addImageCelValidationData(ObservationValidation observationValidation) {
133
	public void addImageCelValidationData(ObservationValidation observationValidation) {
134
		imageCelValidationDatas.add(observationValidation);
134
		imageCelValidationDatas.add(observationValidation);
135
		setChanged();
135
		setChanged();
136
		notifyObservers();
136
		notifyObservers();
137
	}
137
	}
138
	
138
 
139
	public ArrayList<String> getPropositionsTaxonsData() {
139
	public ArrayList<String> getPropositionsTaxonsData() {
140
		
140
 
141
		ArrayList<String> propositionsTaxonDatas = new ArrayList<String>();
141
		ArrayList<String> propositionsTaxonDatas = new ArrayList<String>();
142
		for (ObservationValidation observationValidation : imageCelValidationDatas) {
142
		for (ObservationValidation observationValidation : imageCelValidationDatas) {
143
			String espece = observationValidation.getEspece();
143
			String espece = observationValidation.getEspece();
144
			if (espece != "" && !propositionsTaxonDatas.contains(espece)) {
144
			if (espece != "" && !propositionsTaxonDatas.contains(espece)) {
145
				propositionsTaxonDatas.add(observationValidation.getEspece());
145
				propositionsTaxonDatas.add(observationValidation.getEspece());
146
			}
146
			}
147
		}
147
		}
148
		
148
 
149
		return propositionsTaxonDatas;
149
		return propositionsTaxonDatas;
Line 150... Line -...
150
	}
-
 
151
 
150
	}