Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 194 Rev 205
Line 28... Line 28...
28
 
28
 
29
		// Parcourt pour chaque clé
29
		// Parcourt pour chaque clé
30
		for (Iterator<String> it = im.iterator(); it.hasNext();) {
30
		for (Iterator<String> it = im.iterator(); it.hasNext();) {
31
			// Si elle est associée à une valeur, nous l'ajoutons
31
			// Si elle est associée à une valeur, nous l'ajoutons
-
 
32
			String cle = it.next();
32
			String cle = it.next();
33
			if (cle.startsWith(PREFIXE+"_")) {
33
			// Suppression de l'abréviation du champ. Inutile dans le contexte d'un objet
34
				// Suppression de l'abréviation du champ. Inutile dans le contexte d'un objet
34
			String cleObjet = cle.replaceFirst("^"+StructureConservation.PREFIXE+"_", "");
35
				String cleObjet = cle.replaceFirst("^"+PREFIXE+"_", "");
35
			// Sinon, nous ajoutons la clé avec une valeur vide
36
				// Sinon, nous ajoutons la clé avec une valeur vide
36
			String valeur = "";
37
				String valeur = "";
37
			if (valorisation.get(cle).isString() != null) {
38
				if (valorisation.get(cle).isString() != null) {
-
 
39
					valeur = valorisation.get(cle).isString().stringValue();
-
 
40
				}
38
				valeur = valorisation.get(cle).isString().stringValue();
41
				this.set(cleObjet, valeur);
39
			}
-
 
40
			this.set(cleObjet, valeur);
42
			}
41
		}
43
		}
Line 42... Line 44...
42
	}
44
	}
43
	
45
	
Line 73... Line 75...
73
		return renvoyerValeurCorrecte("collection_autre");
75
		return renvoyerValeurCorrecte("collection_autre");
74
	}
76
	}
75
	public void setCollectionAutre(String ca) {
77
	public void setCollectionAutre(String ca) {
76
		this.set("collection_autre", ca);
78
		this.set("collection_autre", ca);
77
	}
79
	}
-
 
80
	public void setCollectionAutre(String type, Object valeur) {
-
 
81
		setChaineDenormalise("collection_autre", type, valeur);
-
 
82
	}
Line 78... Line 83...
78
	
83
	
79
	// ACTION FUTURE
84
	// ACTION FUTURE
80
	public String getActionFuture() {
85
	public String getActionFuture() {
81
		return renvoyerValeurCorrecte("mark_action_future");
86
		return renvoyerValeurCorrecte("mark_action_future");
82
	}
87
	}
83
	public void setActionFuture(String af) {
88
	public void setActionFuture(String af) {
84
		this.set("mark_action_future", af);
89
		this.set("mark_action_future", af);
Line 85... Line 90...
85
	}
90
	}
86
	
91
	
87
	// ACTION FUTURE
92
	// ACTION FUTURE INFO
88
	public String getActionFutureInfo() {
93
	public String getActionFutureInfo() {
89
		return renvoyerValeurCorrecte("action_future");
94
		return renvoyerValeurCorrecte("action_future");
90
	}
95
	}
91
	public void setActionFutureInfo(String af) {
96
	public void setActionFutureInfo(String af) {
-
 
97
		this.set("action_future", af);
-
 
98
	}
-
 
99
 
-
 
100
	
-
 
101
	// RECHERCHE
-
 
102
	public String getRecherche() {
-
 
103
		return renvoyerValeurCorrecte("mark_recherche");
-
 
104
	}
-
 
105
	public void setRecherche(String r) {
-
 
106
		this.set("mark_recherche", r);
-
 
107
	}
-
 
108
	
-
 
109
	// RECHERCHE PROVENANCE
-
 
110
	public String getRechercheProvenance() {
-
 
111
		return renvoyerValeurCorrecte("truk_recherche_provenance");
-
 
112
	}
-
 
113
	public void setRechercheProvenance(String rp) {
-
 
114
		this.set("truk_recherche_provenance", rp);
-
 
115
	}
-
 
116
	public void setRechercheProvenance(String type, Object valeur) {
-
 
117
		setChaineDenormalise("truk_recherche_provenance", type, valeur);
-
 
118
	}
-
 
119
	
-
 
120
	// RECHERCHE TYPE
-
 
121
	public String getRechercheType() {
-
 
122
		return renvoyerValeurCorrecte("truk_recherche_type");
-
 
123
	}
-
 
124
	public void setRechercheType(String rt) {
-
 
125
		this.set("truk_recherche_type", rt);
-
 
126
	}
-
 
127
	public void setRechercheType(String type, Object valeur) {
-
 
128
		setChaineDenormalise("truk_recherche_type", type, valeur);
-
 
129
	}
-
 
130
	
-
 
131
	// ACCES SANS MOTIF
-
 
132
	public String getAccesSansMotif() {
-
 
133
		return renvoyerValeurCorrecte("mark_acces_ss_motif");
-
 
134
	}
-
 
135
	public void setAccesSansMotif(String asm) {
-
 
136
		this.set("mark_acces_ss_motif", asm);
-
 
137
	}
-
 
138
	
-
 
139
	// ACCES SANS MOTIF INFO
-
 
140
	public String getAccesSansMotifInfo() {
-
 
141
		return renvoyerValeurCorrecte("acces_ss_motif");
-
 
142
	}
-
 
143
	public void setAccesSansMotifInfo(String asm) {
-
 
144
		this.set("acces_ss_motif", asm);
-
 
145
	}
-
 
146
	
-
 
147
	// VISITE AVEC MOTIF
-
 
148
	public String getVisiteAvecMotif() {
-
 
149
		return renvoyerValeurCorrecte("mark_visite_avec_motif");
-
 
150
	}
-
 
151
	public void setVisiteAvecMotif(String vam) {
-
 
152
		this.set("mark_visite_avec_motif", vam);
-
 
153
	}
-
 
154
	
-
 
155
	// VISITE AVEC MOTIF INFO
-
 
156
	public String getVisiteAvecMotifInfo() {
-
 
157
		return renvoyerValeurCorrecte("visite_avec_motif");
-
 
158
	}
-
 
159
	public void setVisiteAvecMotifInfo(String vam) {
-
 
160
		this.set("visite_avec_motif", vam);
Line 92... Line 161...
92
		this.set("action_future", af);
161
	}