Enum Class ScriptVariant
- All Implemented Interfaces:
EnumWithValue
,Serializable
,Comparable<ScriptVariant>
,Constable
Возможные варианты языков, на которых разрабатывается код
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionСокращенное имяvalue()
Английское имяstatic ScriptVariant
valueByString
(String string) Ищет элемент перечисления по именам (рус, анг, короткое)static ScriptVariant
Returns the enum constant of this class with the specified name.valueRu()
Русское имяstatic ScriptVariant[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.github._1c_syntax.bsl.mdo.support.EnumWithValue
isUnknown
-
Enum Constant Details
-
ENGLISH
-
RUSSIAN
-
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueByString
Ищет элемент перечисления по именам (рус, анг, короткое)- Parameters:
string
- Имя искомого элемента- Returns:
- Найденное значение, если не найден - то RUSSIAN
-
value
Английское имя- Specified by:
value
in interfaceEnumWithValue
- Returns:
- Строковое значение перечисления
-
valueRu
Русское имя -
shortName
Сокращенное имя
-