public static enum Utilisateur.TypeDroit extends Enum<Utilisateur.TypeDroit> implements Comparable<Utilisateur.TypeDroit>
| Enum Constant and Description |
|---|
ADMINISTRATEUR
Administrateur
|
UTILISATEUR
Utilisateur
|
| Modifier and Type | Method and Description |
|---|---|
static Utilisateur.TypeDroit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Utilisateur.TypeDroit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcompareTopublic static final Utilisateur.TypeDroit ADMINISTRATEUR
public static final Utilisateur.TypeDroit UTILISATEUR
public static Utilisateur.TypeDroit[] values()
for (Utilisateur.TypeDroit c : Utilisateur.TypeDroit.values()) System.out.println(c);
public static Utilisateur.TypeDroit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012. All Rights Reserved.