public enum VisibilityKind extends java.lang.Enum<VisibilityKind> implements org.eclipse.emf.common.util.Enumerator
CapellacorePackage.getVisibilityKind()| Enum Constant and Description |
|---|
PACKAGE
The 'PACKAGE' literal object.
|
PRIVATE
The 'PRIVATE' literal object.
|
PROTECTED
The 'PROTECTED' literal object.
|
PUBLIC
The 'PUBLIC' literal object.
|
UNSET
The 'UNSET' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
PACKAGE_VALUE
The 'PACKAGE' literal value.
|
static int |
PRIVATE_VALUE
The 'PRIVATE' literal value.
|
static int |
PROTECTED_VALUE
The 'PROTECTED' literal value.
|
static int |
PUBLIC_VALUE
The 'PUBLIC' literal value.
|
static int |
UNSET_VALUE
The 'UNSET' literal value.
|
static java.util.List<VisibilityKind> |
VALUES
A public read-only list of all the 'Visibility Kind' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static VisibilityKind |
get(int value)
Returns the 'Visibility Kind' literal with the specified integer value.
|
static VisibilityKind |
get(java.lang.String literal)
Returns the 'Visibility Kind' literal with the specified literal value.
|
static VisibilityKind |
getByName(java.lang.String name)
Returns the 'Visibility Kind' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
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 UNSET
UNSET_VALUEpublic static final VisibilityKind PUBLIC
PUBLIC_VALUEpublic static final VisibilityKind PROTECTED
PROTECTED_VALUEpublic static final VisibilityKind PRIVATE
PRIVATE_VALUEpublic static final VisibilityKind PACKAGE
PACKAGE_VALUEpublic static final int UNSET_VALUE
If the meaning of 'UNSET' literal object isn't clear, there really should be more of a description here...
UNSET,
Constant Field Valuespublic static final int PUBLIC_VALUE
If the meaning of 'PUBLIC' literal object isn't clear, there really should be more of a description here...
PUBLIC,
Constant Field Valuespublic static final int PROTECTED_VALUE
If the meaning of 'PROTECTED' literal object isn't clear, there really should be more of a description here...
PROTECTED,
Constant Field Valuespublic static final int PRIVATE_VALUE
If the meaning of 'PRIVATE' literal object isn't clear, there really should be more of a description here...
PRIVATE,
Constant Field Valuespublic static final int PACKAGE_VALUE
If the meaning of 'PACKAGE' literal object isn't clear, there really should be more of a description here...
PACKAGE,
Constant Field Valuespublic 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)
literal - the literal.null.public static VisibilityKind getByName(java.lang.String name)
name - the name.null.public static VisibilityKind get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<VisibilityKind>