public enum MIMEPartFlag extends Enum<MIMEPartFlag> implements INumberEnum<Integer>
Enum Constant and Description |
---|
BODY_IN_DBOBJECT |
HAS_BOUNDARY |
HAS_HEADERS |
SHARED_DBOBJECT |
SKIP_FOR_CONVERSION |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Integer |
getValue() |
static MIMEPartFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MIMEPartFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MIMEPartFlag HAS_BOUNDARY
public static final MIMEPartFlag HAS_HEADERS
public static final MIMEPartFlag BODY_IN_DBOBJECT
public static final MIMEPartFlag SHARED_DBOBJECT
public static final MIMEPartFlag SKIP_FOR_CONVERSION
public static MIMEPartFlag[] values()
for (MIMEPartFlag c : MIMEPartFlag.values()) System.out.println(c);
public static MIMEPartFlag 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 Integer getValue()
getValue
in interface INumberEnum<Integer>
public long getLongValue()
getLongValue
in interface INumberEnum<Integer>
long
Copyright © 2014–2018. All rights reserved.