public enum SmtpProtocol extends Enum<SmtpProtocol> implements org.eclipse.emf.common.util.Enumerator
StorePackage.getSmtpProtocol()| Enum Constant and Description |
|---|
SMTP
The 'SMTP' literal object.
|
SMTPS
The 'SMTPS' literal object.
|
STARTTLS
The 'STARTTLS' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
SMTP_VALUE
The 'SMTP' literal value.
|
static int |
SMTPS_VALUE
The 'SMTPS' literal value.
|
static int |
STARTTLS_VALUE
The 'STARTTLS' literal value.
|
static List<SmtpProtocol> |
VALUES
A public read-only list of all the 'Smtp Protocol' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static SmtpProtocol |
get(int value)
Returns the 'Smtp Protocol' literal with the specified integer value.
|
static SmtpProtocol |
get(String literal)
Returns the 'Smtp Protocol' literal with the specified literal value.
|
static SmtpProtocol |
getByName(String name)
Returns the 'Smtp Protocol' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static SmtpProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmtpProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmtpProtocol SMTP
SMTP_VALUEpublic static final SmtpProtocol SMTPS
SMTPS_VALUEpublic static final SmtpProtocol STARTTLS
STARTTLS_VALUEpublic static final int SMTP_VALUE
If the meaning of 'SMTP' literal object isn't clear, there really should be more of a description here...
SMTP,
Constant Field Valuespublic static final int SMTPS_VALUE
If the meaning of 'SMTPS' literal object isn't clear, there really should be more of a description here...
SMTPS,
Constant Field Valuespublic static final int STARTTLS_VALUE
If the meaning of 'STARTTLS' literal object isn't clear, there really should be more of a description here...
STARTTLS,
Constant Field Valuespublic static final List<SmtpProtocol> VALUES
public static SmtpProtocol[] values()
for (SmtpProtocol c : SmtpProtocol.values()) System.out.println(c);
public static SmtpProtocol 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 static SmtpProtocol get(String literal)
literal - the literal.null.public static SmtpProtocol getByName(String name)
name - the name.null.public static SmtpProtocol get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<SmtpProtocol>Copyright © 2016 OpenSource BIM. All rights reserved.