public enum MailServerType extends Enum<MailServerType> implements IdentLibelleIdentifiable
Modifier and Type | Method and Description |
---|---|
boolean |
equalsIdent(Double ident) |
static MailServerType |
fromIdent(Double ident) |
static MailServerType |
fromLibelle(String libelle) |
Double |
getIdent() |
String |
getLibelle() |
static MailServerType[] |
listerMailServerType() |
static List<String> |
listerMailServerTypesName() |
static MailServerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MailServerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailServerType UNKNOWN
public static final MailServerType EXCHANGE
public static final MailServerType POP3
public static final MailServerType GMAIL
public static MailServerType[] values()
for (MailServerType c : MailServerType.values()) System.out.println(c);
public static MailServerType 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 Double getIdent()
getIdent
in interface IdentIdentifiable
public String getLibelle()
getLibelle
in interface Localisable
public boolean equalsIdent(Double ident)
public static MailServerType fromIdent(Double ident)
public static MailServerType fromLibelle(String libelle)
public static final MailServerType[] listerMailServerType()
Copyright © 2016. All rights reserved.