public enum TypeUtilisateur extends Enum<TypeUtilisateur>
Enum Constant and Description |
---|
COLLABORATEUR |
EXTRANET |
Modifier and Type | Method and Description |
---|---|
static TypeUtilisateur |
getByValue(Double value) |
Double |
value() |
static TypeUtilisateur |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeUtilisateur[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeUtilisateur COLLABORATEUR
public static final TypeUtilisateur EXTRANET
public static TypeUtilisateur[] values()
for (TypeUtilisateur c : TypeUtilisateur.values()) System.out.println(c);
public static TypeUtilisateur 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 nullpublic final Double value()
public static TypeUtilisateur getByValue(Double value)
Copyright © 2016. All rights reserved.