Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1672 Rev 2158
Line 317... Line 317...
317
		return referentielTaxo;
317
		return referentielTaxo;
318
	}
318
	}
Line 319... Line 319...
319
 
319
 
320
	public String getCodeCourtReferentielTaxo() {
320
	public String getCodeCourtReferentielTaxo() {
321
		String codeRef = "";
321
		String codeRef = "";
-
 
322
		if(!getReferentielTaxo().equals("") && getReferentielTaxo().length() >= 3) {
-
 
323
			int positionDeuxPoints = referentielTaxo.indexOf(':');
-
 
324
			if (positionDeuxPoints == -1) {
-
 
325
				codeRef = referentielTaxo;
322
		if(!getReferentielTaxo().equals("") && getReferentielTaxo().length() >= 5) {
326
			} else {
-
 
327
				codeRef = referentielTaxo.substring(0, positionDeuxPoints);
323
			codeRef = referentielTaxo.substring(0, 5);
328
			}
324
		}
329
		}
325
		return codeRef;
330
		return codeRef;
Line 326... Line 331...
326
	}
331
	}