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