source: ether_statistics/service/implementation/com/medias/integration/utils/Statiques.java @ 569

Last change on this file since 569 was 569, checked in by vmipsl, 12 years ago

Nouveau projet

File size: 2.4 KB
Line 
1/**
2 * Created on 24 Jan. 2007
3 * @author
4 */
5
6package com.medias.integration.utils;
7
8import com.medias.integration.vues.SequenceModele;
9import com.medias.integration.vues.PlateformeModele;
10
11import java.util.ArrayList;
12import java.util.Date;
13import java.util.Iterator;
14import java.util.Set;
15
16/**
17 * Classe regroupant les attributs statiques utilisés
18 */
19
20public class Statiques {
21        /**
22         * Convertit un ensemble d'éléments de type Set en ArrayList
23         */ 
24        public static ArrayList<?> convertSetToArrayList(Set<?> set) {
25                ArrayList<Object> arrayList = new ArrayList<Object>();
26                if (set != null) {
27                        Iterator<?> it = set.iterator();
28                        Object obj = null;
29                        while (it.hasNext()) {
30                                obj = it.next();
31                                arrayList.add(obj);
32                        }
33                }
34                return arrayList;
35        }
36
37        /**dates du jeu*/
38        public static Date dateMinJeu = null;
39        public static Date dateMaxJeu = null;
40        /**public static Date jeuDateinser = null;
41        public static Date jeuDatemodif = null;*/
42        public static Integer latMinJeu = null;
43        public static Integer latMaxJeu = null;
44        public static Integer lonMinJeu = null;
45        public static Integer lonMaxJeu = null;
46        public static Integer altMinJeu = null;
47        public static Integer altMaxJeu = null;
48        public static Integer hsMinJeu = null;
49        public static Integer hsMaxJeu = null;
50        /**bilan*/
51        public static Date dateMinBilan = null;
52        public static Date dateMaxBilan = null;
53        public static Integer latMinBilan = null;
54        public static Integer latMaxBilan = null;
55        public static Integer lonMinBilan = null;
56        public static Integer lonMaxBilan = null;
57        public static Integer altMinBilan = null;
58        public static Integer altMaxBilan = null;
59        public static Integer hsMinBilan = null;
60        public static Integer hsMaxBilan = null;
61        public static double valMinBilan = 0.0;
62        public static double valMaxBilan = 0.0;
63        public static Integer nbValBilan = null;
64       
65        /**dates des sequences*/
66        public static Date dateMinSeq = null;
67        public static Date dateMaxSeq = null;
68        public static Integer latMinSeq = null;
69        public static Integer latMaxSeq = null;
70        public static Integer lonMinSeq = null;
71        public static Integer lonMaxSeq = null;
72        public static Integer altMinSeq = null;
73        public static Integer altMaxSeq = null;
74        public static Integer hsMinSeq = null;
75        public static Integer hsMaxSeq = null;
76        public static ArrayList<SequenceModele> sequencesModeles = null;
77        public static int nbMesuresSeq = 0;
78        public static Integer numSeq = null;
79       
80        public static ArrayList<PlateformeModele> plateformesModele = null;
81}
Note: See TracBrowser for help on using the repository browser.