public enum ReseauSocialEnum extends Enum<ReseauSocialEnum>
| Enum Constant and Description |
|---|
FACEBOOK |
LINKEDIN |
TWITTER |
VIADEO |
VIAEDUC |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
String |
getName() |
static ReseauSocialEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReseauSocialEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReseauSocialEnum FACEBOOK
public static final ReseauSocialEnum TWITTER
public static final ReseauSocialEnum LINKEDIN
public static final ReseauSocialEnum VIADEO
public static final ReseauSocialEnum VIAEDUC
public static ReseauSocialEnum[] values()
for (ReseauSocialEnum c : ReseauSocialEnum.values()) System.out.println(c);
public static ReseauSocialEnum 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 getLabel()
public String getName()
Copyright © 2017. All rights reserved.