Subversion Repositories eFlore/Applications.del

Rev

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

Rev 116 Rev 117
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
	}
-
 
132
	
-
 
133
	public void addImageCelValidationData(ObservationValidation observationValidation) {
-
 
134
		imageCelValidationDatas.add(observationValidation);
-
 
135
		setChanged();
-
 
136
		notifyObservers();
-
 
137
	}
-
 
138
	
-
 
139
	public ArrayList<String> getPropositionsTaxonsData() {
-
 
140
		
-
 
141
		ArrayList<String> propositionsTaxonDatas = new ArrayList<String>();
-
 
142
		for (ObservationValidation observationValidation : imageCelValidationDatas) {
-
 
143
			String espece = observationValidation.getEspece();
-
 
144
			if (espece != "" && !propositionsTaxonDatas.contains(espece)) {
-
 
145
				propositionsTaxonDatas.add(observationValidation.getEspece());
-
 
146
			}
-
 
147
		}
-
 
148
		
-
 
149
		return propositionsTaxonDatas;
-
 
150
	}
Line 131... Line 151...
131
	}
151