public enum VisibilityKind extends java.lang.Enum<VisibilityKind> implements org.eclipse.emf.common.util.Enumerator
Enum Constant and Description |
---|
PACKAGE_LITERAL |
PRIVATE_LITERAL |
PROTECTED_LITERAL |
PUBLIC_LITERAL |
Modifier and Type | Field and Description |
---|---|
static int |
PACKAGE |
static int |
PRIVATE |
static int |
PROTECTED |
static int |
PUBLIC |
static java.util.List<VisibilityKind> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static VisibilityKind |
get(int value) |
static VisibilityKind |
get(java.lang.String literal) |
static VisibilityKind |
getByName(java.lang.String name) |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString() |
static VisibilityKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VisibilityKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisibilityKind PUBLIC_LITERAL
public static final VisibilityKind PRIVATE_LITERAL
public static final VisibilityKind PROTECTED_LITERAL
public static final VisibilityKind PACKAGE_LITERAL
public static final int PUBLIC
public static final int PRIVATE
public static final int PROTECTED
public static final int PACKAGE
public static final java.util.List<VisibilityKind> VALUES
public static VisibilityKind[] values()
for (VisibilityKind c : VisibilityKind.values()) System.out.println(c);
public static VisibilityKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static VisibilityKind get(java.lang.String literal)
public static VisibilityKind getByName(java.lang.String name)
public static VisibilityKind get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<VisibilityKind>