Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2131 Rev 2163
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
	}