Skip to content
Snippets Groups Projects
Commit df2cec5f authored by Thomas Mewily's avatar Thomas Mewily
Browse files

ProfCore, couleur

parent 285dd37e
No related branches found
No related tags found
No related merge requests found
Showing
with 33 additions and 3 deletions
File deleted
No preview for this file type
No preview for this file type
No preview for this file type
File added
File added
No preview for this file type
No preview for this file type
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
public enum Couleur
{
ArcEnCiel("arcEnCiel"),
Rouge("rouge"),
Vert ("vert"),
Bleu ("bleu"),
Blanc("blanc");
private String value;
private Couleur(String value)
{
this.value = value;
}
public String getString() { return value; }
@Override public void toString()
{
return getString();
}
public static Couleur valueOf(String value) {
for (Couleur col : Couleur.values()) {
if(col.getString() == value)
{
return col;
}
}
return ArcEnCiel;
}
}
......@@ -25,9 +25,7 @@ public class GommetteAttribEntity {
idEleve = nIdEleve;
}
public int getIdProf() {
return idProf;
}
public int getIdProf() { return idProf; }
public void setIdProf(int nIdProf) {
idProf = nIdProf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment