Enum BSLModuleType
- java.lang.Object
-
- java.lang.Enum<BSLModuleType>
-
- com._1c.g5.v8.dt.debug.model.base.data.BSLModuleType
-
- All Implemented Interfaces:
Serializable
,Comparable<BSLModuleType>
,org.eclipse.emf.common.util.Enumerator
public enum BSLModuleType extends Enum<BSLModuleType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'BSL Module Type', and utility methods for working with them.- See Also:
DataPackage.getBSLModuleType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIG_MODULE
The 'Config Module' literal object.EXT_MD_MODULE
The 'Ext MD Module' literal object.EXTENSION_MODULE
The 'Extension Module' literal object.SYSTEM_FORM_MODULE
The 'System Form Module' literal object.SYSTEM_MODULE
The 'System Module' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
CONFIG_MODULE_VALUE
The 'Config Module' literal value.static int
EXT_MD_MODULE_VALUE
The 'Ext MD Module' literal value.static int
EXTENSION_MODULE_VALUE
The 'Extension Module' literal value.static int
SYSTEM_FORM_MODULE_VALUE
The 'System Form Module' literal value.static int
SYSTEM_MODULE_VALUE
The 'System Module' literal value.static List<BSLModuleType>
VALUES
A public read-only list of all the 'BSL Module Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BSLModuleType
get(int value)
Returns the 'BSL Module Type' literal with the specified integer value.static BSLModuleType
get(String literal)
Returns the 'BSL Module Type' literal with the specified literal value.static BSLModuleType
getByName(String name)
Returns the 'BSL Module Type' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static BSLModuleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BSLModuleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONFIG_MODULE
public static final BSLModuleType CONFIG_MODULE
The 'Config Module' literal object.- See Also:
CONFIG_MODULE_VALUE
-
SYSTEM_FORM_MODULE
public static final BSLModuleType SYSTEM_FORM_MODULE
The 'System Form Module' literal object.- See Also:
SYSTEM_FORM_MODULE_VALUE
-
SYSTEM_MODULE
public static final BSLModuleType SYSTEM_MODULE
The 'System Module' literal object.- See Also:
SYSTEM_MODULE_VALUE
-
EXT_MD_MODULE
public static final BSLModuleType EXT_MD_MODULE
The 'Ext MD Module' literal object.- See Also:
EXT_MD_MODULE_VALUE
-
EXTENSION_MODULE
public static final BSLModuleType EXTENSION_MODULE
The 'Extension Module' literal object.- See Also:
EXTENSION_MODULE_VALUE
-
-
Field Detail
-
CONFIG_MODULE_VALUE
public static final int CONFIG_MODULE_VALUE
The 'Config Module' literal value.- See Also:
CONFIG_MODULE
, Constant Field Values
-
SYSTEM_FORM_MODULE_VALUE
public static final int SYSTEM_FORM_MODULE_VALUE
The 'System Form Module' literal value.- See Also:
SYSTEM_FORM_MODULE
, Constant Field Values
-
SYSTEM_MODULE_VALUE
public static final int SYSTEM_MODULE_VALUE
The 'System Module' literal value.- See Also:
SYSTEM_MODULE
, Constant Field Values
-
EXT_MD_MODULE_VALUE
public static final int EXT_MD_MODULE_VALUE
The 'Ext MD Module' literal value.- See Also:
EXT_MD_MODULE
, Constant Field Values
-
EXTENSION_MODULE_VALUE
public static final int EXTENSION_MODULE_VALUE
The 'Extension Module' literal value.- See Also:
EXTENSION_MODULE
, Constant Field Values
-
VALUES
public static final List<BSLModuleType> VALUES
A public read-only list of all the 'BSL Module Type' enumerators.
-
-
Method Detail
-
values
public static BSLModuleType[] 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 (BSLModuleType c : BSLModuleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BSLModuleType 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
-
get
public static BSLModuleType get(String literal)
Returns the 'BSL Module Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static BSLModuleType getByName(String name)
Returns the 'BSL Module Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static BSLModuleType get(int value)
Returns the 'BSL Module Type' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<BSLModuleType>
-
-