Enum EntityPermissionValue
- java.lang.Object
-
- java.lang.Enum<EntityPermissionValue>
-
- ru.moysklad.remap_1_2.entities.permissions.value.EntityPermissionValue
-
- All Implemented Interfaces:
Serializable,Comparable<EntityPermissionValue>
public enum EntityPermissionValue extends Enum<EntityPermissionValue>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLNOOWNOWN_GROUPOWN_GROUP_SHAREDOWN_SHARED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntityPermissionValuevalueOf(String name)Returns the enum constant of this type with the specified name.static EntityPermissionValue[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO
public static final EntityPermissionValue NO
-
OWN
public static final EntityPermissionValue OWN
-
OWN_SHARED
public static final EntityPermissionValue OWN_SHARED
-
OWN_GROUP
public static final EntityPermissionValue OWN_GROUP
-
OWN_GROUP_SHARED
public static final EntityPermissionValue OWN_GROUP_SHARED
-
ALL
public static final EntityPermissionValue ALL
-
-
Method Detail
-
values
public static EntityPermissionValue[] 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 (EntityPermissionValue c : EntityPermissionValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityPermissionValue 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
-
-