Enum BslValueType
- java.lang.Object
-
- java.lang.Enum<BslValueType>
-
- com._1c.g5.v8.dt.debug.core.model.values.BslValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<BslValueType>
public enum BslValueType extends Enum<BslValueType>
BSl value type in 1C:Enterprise debug model. This class is based on 1C:Enterprise Runtime BSL values codes.- See Also:
IBslValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BslValueType
getByCode(int code)
FindBslValueType
by numeric code.boolean
isPrimitive()
Returns whether the BSL value type is primitive.static BslValueType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BslValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEDINED
public static final BslValueType UNDEDINED
-
NULL
public static final BslValueType NULL
-
BOOLEAN
public static final BslValueType BOOLEAN
-
NUMBER
public static final BslValueType NUMBER
-
STRING
public static final BslValueType STRING
-
DATE
public static final BslValueType DATE
-
REFERENCE
public static final BslValueType REFERENCE
-
TYPE
public static final BslValueType TYPE
-
-
Method Detail
-
values
public static BslValueType[] 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 (BslValueType c : BslValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BslValueType 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
-
getByCode
public static BslValueType getByCode(int code)
FindBslValueType
by numeric code.- Parameters:
a
- code numeric code of type to find type- Returns:
- the BSL value type instance, never
null
- Throws:
IllegalArgumentException
- if cannot find BSL type with given code
-
isPrimitive
public boolean isPrimitive()
Returns whether the BSL value type is primitive.- Returns:
- whether the BSL value type is primitive
-
-