public enum VisibilityMode extends Enum<VisibilityMode> implements org.eclipse.emf.common.util.Enumerator
Enum Constant and Description |
---|
PACKAGEVISIBILITY |
PRIVATE |
PROTECTED |
PUBLIC |
VISIBILITYUNDEFINED |
Modifier and Type | Field and Description |
---|---|
static int |
PACKAGEVISIBILITY_VALUE |
static int |
PRIVATE_VALUE |
static int |
PROTECTED_VALUE |
static int |
PUBLIC_VALUE |
static List<VisibilityMode> |
VALUES |
static int |
VISIBILITYUNDEFINED_VALUE |
Modifier and Type | Method and Description |
---|---|
static VisibilityMode |
get(int value) |
static VisibilityMode |
get(String literal) |
static VisibilityMode |
getByName(String name) |
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString() |
static VisibilityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisibilityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisibilityMode PUBLIC
public static final VisibilityMode PROTECTED
public static final VisibilityMode PRIVATE
public static final VisibilityMode VISIBILITYUNDEFINED
public static final VisibilityMode PACKAGEVISIBILITY
public static final int PUBLIC_VALUE
public static final int PROTECTED_VALUE
public static final int PRIVATE_VALUE
public static final int VISIBILITYUNDEFINED_VALUE
public static final int PACKAGEVISIBILITY_VALUE
public static final List<VisibilityMode> VALUES
public static VisibilityMode[] values()
for (VisibilityMode c : VisibilityMode.values()) System.out.println(c);
public static VisibilityMode 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 VisibilityMode get(String literal)
public static VisibilityMode getByName(String name)
public static VisibilityMode get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<VisibilityMode>