Subversion Repositories eFlore/Applications.coel

Rev

Rev 1023 | Rev 1108 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
907 jpm 1
package org.tela_botanica.client.configuration;
2
 
3
import com.google.gwt.i18n.client.Dictionary;
4
 
5
/**
6
 * Classe chargeant certains paramètres de configuration à partir d'un fichier
7
 * javascript (config.js)
8
 *
9
 * @author Aurélien PERONNET
10
 *
11
 */
12
public class APropos {
13
 
1107 jpm 14
	private String appliNom;
15
	private String appliCode;
16
	private String appliVersionNumero;
17
	private String appliVersionCode;
1023 jpm 18
	private String developpeurs;
19
	private String traducteurs;
20
	private String licence;
21
 
907 jpm 22
	private String dateHeureCompilation;
23
	private String revisionGlobale;
24
	private String versionJavaCompilation;
25
 
26
	public APropos() {
27
		// on utilise le dictionnaire d'internationalisation pour lire les variables du fichier javascript
28
		Dictionary apropos = Dictionary.getDictionary("apropos");
1107 jpm 29
		appliNom = apropos.get("appliNom");
30
		appliCode = apropos.get("appliCode");
31
		appliVersionNumero = apropos.get("appliVersionNumero");
32
		appliVersionCode = apropos.get("appliVersionCode");
1023 jpm 33
		developpeurs = apropos.get("developpeurs");
34
		traducteurs = apropos.get("traducteurs");
35
		licence = apropos.get("licence");
907 jpm 36
		dateHeureCompilation = apropos.get("dateHeureCompilation");
37
		revisionGlobale = apropos.get("revisionGlobale");
38
		versionJavaCompilation = apropos.get("versionJavaCompilation");
1023 jpm 39
 
907 jpm 40
	}
41
 
1107 jpm 42
	public String getAppliNom() {
43
		return appliNom;
44
	}
45
 
46
	public String getAppliCode() {
47
		return appliCode;
48
	}
49
 
50
	public String getAppliVersionNumero() {
51
		return appliVersionNumero;
52
	}
53
 
54
	public String getAppliVersionCode() {
55
		return appliVersionCode;
56
	}
57
 
1023 jpm 58
	public String getDeveloppeurs() {
59
		return developpeurs;
60
	}
61
 
62
	public String getTraducteurs() {
63
		return traducteurs;
64
	}
65
 
66
	public String getLicence() {
67
		return licence;
68
	}
69
 
907 jpm 70
	public String getDateHeureCompilation() {
71
		return dateHeureCompilation;
72
	}
73
 
74
	public String getRevisionGlobale() {
75
		return revisionGlobale;
76
	}
77
 
78
	public String getVersionJavaCompilation() {
79
		return versionJavaCompilation;
80
	}
81
 
82
}