Package com._1c.g5.v8.dt.bsl.compare
Enum BslModuleSectionType
- java.lang.Object
-
- java.lang.Enum<BslModuleSectionType>
-
- com._1c.g5.v8.dt.bsl.compare.BslModuleSectionType
-
- All Implemented Interfaces:
Serializable
,Comparable<BslModuleSectionType>
,org.eclipse.emf.common.util.Enumerator
public enum BslModuleSectionType extends Enum<BslModuleSectionType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Bsl Module Section Type', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECLARATION
The 'Declaration' literal object.DELETE_REGION_PREPROCESSOR
The 'Delete Region Preprocessor' literal object.FUNCTION
The 'Function' literal object.IF_PREPROCESSOR
The 'If Preprocessor' literal object.INSERT_REGION_PREPROCESSOR
The 'Insert Region Preprocessor' literal object.MAIN
The 'Main' literal object.METHOD_BODY
The 'Method Body' literal object.METHOD_SIGNATURE
The 'Method Signature' literal object.PROCEDURE
The 'Procedure' literal object.REGION_PREPROCESSOR
The 'Region Preprocessor' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
DECLARATION_VALUE
The 'Declaration' literal value.static int
DELETE_REGION_PREPROCESSOR_VALUE
The 'Delete Region Preprocessor' literal value.static int
FUNCTION_VALUE
The 'Function' literal value.static int
IF_PREPROCESSOR_VALUE
The 'If Preprocessor' literal value.static int
INSERT_REGION_PREPROCESSOR_VALUE
The 'Insert Region Preprocessor' literal value.static int
MAIN_VALUE
The 'Main' literal value.static int
METHOD_BODY_VALUE
The 'Method Body' literal value.static int
METHOD_SIGNATURE_VALUE
The 'Method Signature' literal value.static int
PROCEDURE_VALUE
The 'Procedure' literal value.static int
REGION_PREPROCESSOR_VALUE
The 'Region Preprocessor' literal value.static List<BslModuleSectionType>
VALUES
A public read-only list of all the 'Bsl Module Section Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BslModuleSectionType
get(int value)
Returns the 'Bsl Module Section Type' literal with the specified integer value.static BslModuleSectionType
get(String literal)
Returns the 'Bsl Module Section Type' literal with the specified literal value.static BslModuleSectionType
getByName(String name)
Returns the 'Bsl Module Section 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 BslModuleSectionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BslModuleSectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROCEDURE
public static final BslModuleSectionType PROCEDURE
The 'Procedure' literal object.- See Also:
PROCEDURE_VALUE
-
FUNCTION
public static final BslModuleSectionType FUNCTION
The 'Function' literal object.- See Also:
FUNCTION_VALUE
-
REGION_PREPROCESSOR
public static final BslModuleSectionType REGION_PREPROCESSOR
The 'Region Preprocessor' literal object.- See Also:
REGION_PREPROCESSOR_VALUE
-
INSERT_REGION_PREPROCESSOR
public static final BslModuleSectionType INSERT_REGION_PREPROCESSOR
The 'Insert Region Preprocessor' literal object.- See Also:
INSERT_REGION_PREPROCESSOR_VALUE
-
DELETE_REGION_PREPROCESSOR
public static final BslModuleSectionType DELETE_REGION_PREPROCESSOR
The 'Delete Region Preprocessor' literal object.- See Also:
DELETE_REGION_PREPROCESSOR_VALUE
-
IF_PREPROCESSOR
public static final BslModuleSectionType IF_PREPROCESSOR
The 'If Preprocessor' literal object.- See Also:
IF_PREPROCESSOR_VALUE
-
DECLARATION
public static final BslModuleSectionType DECLARATION
The 'Declaration' literal object.- See Also:
DECLARATION_VALUE
-
MAIN
public static final BslModuleSectionType MAIN
The 'Main' literal object.- See Also:
MAIN_VALUE
-
METHOD_SIGNATURE
public static final BslModuleSectionType METHOD_SIGNATURE
The 'Method Signature' literal object.- See Also:
METHOD_SIGNATURE_VALUE
-
METHOD_BODY
public static final BslModuleSectionType METHOD_BODY
The 'Method Body' literal object.- See Also:
METHOD_BODY_VALUE
-
-
Field Detail
-
PROCEDURE_VALUE
public static final int PROCEDURE_VALUE
The 'Procedure' literal value.- See Also:
PROCEDURE
, Constant Field Values
-
FUNCTION_VALUE
public static final int FUNCTION_VALUE
The 'Function' literal value.- See Also:
FUNCTION
, Constant Field Values
-
REGION_PREPROCESSOR_VALUE
public static final int REGION_PREPROCESSOR_VALUE
The 'Region Preprocessor' literal value.- See Also:
REGION_PREPROCESSOR
, Constant Field Values
-
INSERT_REGION_PREPROCESSOR_VALUE
public static final int INSERT_REGION_PREPROCESSOR_VALUE
The 'Insert Region Preprocessor' literal value.- See Also:
INSERT_REGION_PREPROCESSOR
, Constant Field Values
-
DELETE_REGION_PREPROCESSOR_VALUE
public static final int DELETE_REGION_PREPROCESSOR_VALUE
The 'Delete Region Preprocessor' literal value.- See Also:
DELETE_REGION_PREPROCESSOR
, Constant Field Values
-
IF_PREPROCESSOR_VALUE
public static final int IF_PREPROCESSOR_VALUE
The 'If Preprocessor' literal value.- See Also:
IF_PREPROCESSOR
, Constant Field Values
-
DECLARATION_VALUE
public static final int DECLARATION_VALUE
The 'Declaration' literal value.- See Also:
DECLARATION
, Constant Field Values
-
MAIN_VALUE
public static final int MAIN_VALUE
The 'Main' literal value.- See Also:
MAIN
, Constant Field Values
-
METHOD_SIGNATURE_VALUE
public static final int METHOD_SIGNATURE_VALUE
The 'Method Signature' literal value.- See Also:
METHOD_SIGNATURE
, Constant Field Values
-
METHOD_BODY_VALUE
public static final int METHOD_BODY_VALUE
The 'Method Body' literal value.- See Also:
METHOD_BODY
, Constant Field Values
-
VALUES
public static final List<BslModuleSectionType> VALUES
A public read-only list of all the 'Bsl Module Section Type' enumerators.
-
-
Method Detail
-
values
public static BslModuleSectionType[] 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 (BslModuleSectionType c : BslModuleSectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BslModuleSectionType 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 BslModuleSectionType get(String literal)
Returns the 'Bsl Module Section Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static BslModuleSectionType getByName(String name)
Returns the 'Bsl Module Section Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static BslModuleSectionType get(int value)
Returns the 'Bsl Module Section 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<BslModuleSectionType>
-
-