debut MPD
This commit is contained in:
@@ -7,4 +7,15 @@ public enum TypeGroupe {
|
||||
private TypeGroupe(String s) {
|
||||
name = s;
|
||||
}
|
||||
public static TypeGroupe getType(String s){
|
||||
switch(s){
|
||||
case("Tous les étudiants"):
|
||||
return TypeGroupe.ROOT;
|
||||
case("partition"):
|
||||
return TypeGroupe.PARTITION;
|
||||
case("libre"):
|
||||
return TypeGroupe.FREE;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user