Enum AccessPrivileges
- java.lang.Object
 - 
- java.lang.Enum<AccessPrivileges>
 - 
- jetbrains.mps.core.aspects.behaviour.AccessPrivileges
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Comparable<AccessPrivileges>
public enum AccessPrivileges extends Enum<AccessPrivileges>
Access privileges in the behavior language. 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessPrivilegesfromModifiers(Integer modifier)StringtoString()static AccessPrivilegesvalueOf(String name)Returns the enum constant of this type with the specified name.static AccessPrivileges[]values()Returns an array containing the constants of this enum type, in the order they are declared. 
 - 
 
- 
- 
Enum Constant Detail
- 
PUBLIC
public static final AccessPrivileges PUBLIC
 
- 
PRIVATE
public static final AccessPrivileges PRIVATE
 
- 
PROTECTED
public static final AccessPrivileges PROTECTED
 
- 
PACKAGE
public static final AccessPrivileges PACKAGE
 
 - 
 
- 
Method Detail
- 
values
public static AccessPrivileges[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccessPrivileges c : AccessPrivileges.values()) System.out.println(c);
- Returns:
 - an array containing the constants of this enum type, in the order they are declared
 
 
- 
valueOf
public static AccessPrivileges valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
 name- the name of the enum constant to be returned.- Returns:
 - the enum constant with the specified name
 - Throws:
 IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
 
- 
fromModifiers
public static AccessPrivileges fromModifiers(Integer modifier)
 
- 
toString
public String toString()
- Overrides:
 toStringin classEnum<AccessPrivileges>
 
 - 
 
 -