public enum EtatEffet extends Enum<EtatEffet> implements CodeIdentifiable
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static EtatEffet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EtatEffet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EtatEffet NON_REGLE
public static final EtatEffet REGLE
public static final EtatEffet AUTRE
public static EtatEffet[] values()
for (EtatEffet c : EtatEffet.values()) System.out.println(c);
public static EtatEffet 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 String getCode()
getCode
in interface CodeIdentifiable
Copyright © 2016. All rights reserved.