Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1940 Rev 2650
Line 1... Line 1...
1
package org.tela_botanica.client.modeles.objets;
1
package org.tela_botanica.client.modeles.objets;
Line -... Line 2...
-
 
2
 
-
 
3
import org.tela_botanica.client.i18n.Msg;
2
 
4
 
Line 3... Line 5...
3
public class InfosReferentielNom {
5
public class InfosReferentielNom {
4
	
6
	
5
	private String code = null;
7
	private String code = null;
6
	private String version = null;
8
	private String version = null;
Line 7... Line 9...
7
	private String versionCourte = null;
9
	private String versionCourte = null;
8
	private String intitule = null;
-
 
9
 
-
 
Line 10... Line 10...
10
	public InfosReferentielNom(String infosReferentiel) {
10
	private String intitule = null;
11
		String[] codeCompletIntitule = infosReferentiel.split(",");
11
 
-
 
12
	public InfosReferentielNom(String infosReferentiel) {
12
		intitule = codeCompletIntitule[1];
13
		
13
		
14
		String[] codeVersion = infosReferentiel.split(":");
14
		String[] codeVersion = codeCompletIntitule[0].split(":");
15
		code = codeVersion[0];
15
		code = codeVersion[0];
16
		intitule = Msg.get("referentiel-"+code);
16
		if(codeVersion.length > 1) {
17
		if(codeVersion.length > 1) {