org.eclipse.mofscript.MOFScriptModel
Class AccessLevel

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by org.eclipse.mofscript.MOFScriptModel.AccessLevel
All Implemented Interfaces:
java.io.Serializable, org.eclipse.emf.common.util.Enumerator

public final class AccessLevel
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the literals of the enumeration 'Access Level', and utility methods for working with them.

See Also:
MOFScriptModelPackage.getAccessLevel(), Serialized Form

Field Summary
static int NONE
          The 'NONE' literal value
static AccessLevel NONE_LITERAL
          The 'NONE' literal object
static int PRIVATE
          The 'PRIVATE' literal value
static AccessLevel PRIVATE_LITERAL
          The 'PRIVATE' literal object
static int PROTECTED
          The 'PROTECTED' literal value
static AccessLevel PROTECTED_LITERAL
          The 'PROTECTED' literal object
static int PUBLIC
          The 'PUBLIC' literal value
static AccessLevel PUBLIC_LITERAL
          The 'PUBLIC' literal object
static java.util.List VALUES
          A public read-only list of all the 'Access Level' enumerators
 
Method Summary
static AccessLevel get(int value)
          Returns the 'Access Level' literal with the specified integer value
static AccessLevel get(java.lang.String literal)
          Returns the 'Access Level' literal with the specified literal value
static AccessLevel getByName(java.lang.String name)
          Returns the 'Access Level' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
The 'NONE' literal value.

If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...

See Also:
NONE_LITERAL, Constant Field Values

PUBLIC

public static final int PUBLIC
The 'PUBLIC' literal value.

If the meaning of 'PUBLIC' literal object isn't clear, there really should be more of a description here...

See Also:
PUBLIC_LITERAL, Constant Field Values

PROTECTED

public static final int PROTECTED
The 'PROTECTED' literal value.

If the meaning of 'PROTECTED' literal object isn't clear, there really should be more of a description here...

See Also:
PROTECTED_LITERAL, Constant Field Values

PRIVATE

public static final int PRIVATE
The 'PRIVATE' literal value.

If the meaning of 'PRIVATE' literal object isn't clear, there really should be more of a description here...

See Also:
PRIVATE_LITERAL, Constant Field Values

NONE_LITERAL

public static final AccessLevel NONE_LITERAL
The 'NONE' literal object.

See Also:
NONE

PUBLIC_LITERAL

public static final AccessLevel PUBLIC_LITERAL
The 'PUBLIC' literal object.

See Also:
PUBLIC

PROTECTED_LITERAL

public static final AccessLevel PROTECTED_LITERAL
The 'PROTECTED' literal object.

See Also:
PROTECTED

PRIVATE_LITERAL

public static final AccessLevel PRIVATE_LITERAL
The 'PRIVATE' literal object.

See Also:
PRIVATE

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Access Level' enumerators.

Method Detail

get

public static AccessLevel get(java.lang.String literal)
Returns the 'Access Level' literal with the specified literal value.


getByName

public static AccessLevel getByName(java.lang.String name)
Returns the 'Access Level' literal with the specified name.


get

public static AccessLevel get(int value)
Returns the 'Access Level' literal with the specified integer value.