Package com._1c.g5.v8.dt.supply
Enum ModuleSectionType
- java.lang.Object
-
- java.lang.Enum<ModuleSectionType>
-
- com._1c.g5.v8.dt.supply.ModuleSectionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ModuleSectionType>
public enum ModuleSectionType extends Enum<ModuleSectionType>
The type of the module's section
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECLARATION
Variable declaration blockDELETE_REGION_PREPROCESSOR
Delete region pre-processorFUNCTION
ProcedureIF_PREPROCESSOR
If- pre-processorINSERT_REGION_PREPROCESSOR
Insert region pre-processorMAIN
Main declaration blockMETHOD_BODY
Method (function/procedure) bodyMETHOD_SIGNATURE
Method (function/procedure) signaturePROCEDURE
ProcedureREGION_PREPROCESSOR
Region pre-processor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModuleSectionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ModuleSectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROCEDURE
public static final ModuleSectionType PROCEDURE
Procedure
-
FUNCTION
public static final ModuleSectionType FUNCTION
Procedure
-
REGION_PREPROCESSOR
public static final ModuleSectionType REGION_PREPROCESSOR
Region pre-processor
-
INSERT_REGION_PREPROCESSOR
public static final ModuleSectionType INSERT_REGION_PREPROCESSOR
Insert region pre-processor
-
DELETE_REGION_PREPROCESSOR
public static final ModuleSectionType DELETE_REGION_PREPROCESSOR
Delete region pre-processor
-
IF_PREPROCESSOR
public static final ModuleSectionType IF_PREPROCESSOR
If- pre-processor
-
DECLARATION
public static final ModuleSectionType DECLARATION
Variable declaration block
-
MAIN
public static final ModuleSectionType MAIN
Main declaration block
-
METHOD_SIGNATURE
public static final ModuleSectionType METHOD_SIGNATURE
Method (function/procedure) signature
-
METHOD_BODY
public static final ModuleSectionType METHOD_BODY
Method (function/procedure) body
-
-
Method Detail
-
values
public static ModuleSectionType[] 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 (ModuleSectionType c : ModuleSectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModuleSectionType 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
-
-