Enum TemplateParameterType
- java.lang.Object
-
- java.lang.Enum<TemplateParameterType>
-
- com._1c.g5.v8.dt.right.templates.model.TemplateParameterType
-
- All Implemented Interfaces:
Serializable
,Comparable<TemplateParameterType>
,org.eclipse.emf.common.util.Enumerator
public enum TemplateParameterType extends Enum<TemplateParameterType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Template Parameter Type', and utility methods for working with them.- See Also:
RtPackage.getTemplateParameterType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_ACCESS_RIGHT_NAME
The 'Current Access Right Name' literal object.CURRENT_TABLE
The 'Current Table' literal object.CURRENT_TABLE_NAME
The 'Current Table Name' literal object.PARAMETER
The 'Parameter' literal object.WRONG_TYPE
The 'Wrong Type' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
CURRENT_ACCESS_RIGHT_NAME_VALUE
The 'Current Access Right Name' literal value.static int
CURRENT_TABLE_NAME_VALUE
The 'Current Table Name' literal value.static int
CURRENT_TABLE_VALUE
The 'Current Table' literal value.static int
PARAMETER_VALUE
The 'Parameter' literal value.static List<TemplateParameterType>
VALUES
A public read-only list of all the 'Template Parameter Type' enumerators.static int
WRONG_TYPE_VALUE
The 'Wrong Type' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateParameterType
get(int value)
Returns the 'Template Parameter Type' literal with the specified integer value.static TemplateParameterType
get(String literal)
Returns the 'Template Parameter Type' literal with the specified literal value.static TemplateParameterType
getByName(String name)
Returns the 'Template Parameter 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 TemplateParameterType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TemplateParameterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARAMETER
public static final TemplateParameterType PARAMETER
The 'Parameter' literal object.- See Also:
PARAMETER_VALUE
-
CURRENT_TABLE
public static final TemplateParameterType CURRENT_TABLE
The 'Current Table' literal object.- See Also:
CURRENT_TABLE_VALUE
-
CURRENT_TABLE_NAME
public static final TemplateParameterType CURRENT_TABLE_NAME
The 'Current Table Name' literal object.- See Also:
CURRENT_TABLE_NAME_VALUE
-
CURRENT_ACCESS_RIGHT_NAME
public static final TemplateParameterType CURRENT_ACCESS_RIGHT_NAME
The 'Current Access Right Name' literal object.- See Also:
CURRENT_ACCESS_RIGHT_NAME_VALUE
-
WRONG_TYPE
public static final TemplateParameterType WRONG_TYPE
The 'Wrong Type' literal object.- See Also:
WRONG_TYPE_VALUE
-
-
Field Detail
-
PARAMETER_VALUE
public static final int PARAMETER_VALUE
The 'Parameter' literal value.- See Also:
PARAMETER
, Constant Field Values
-
CURRENT_TABLE_VALUE
public static final int CURRENT_TABLE_VALUE
The 'Current Table' literal value.- See Also:
CURRENT_TABLE
, Constant Field Values
-
CURRENT_TABLE_NAME_VALUE
public static final int CURRENT_TABLE_NAME_VALUE
The 'Current Table Name' literal value.- See Also:
CURRENT_TABLE_NAME
, Constant Field Values
-
CURRENT_ACCESS_RIGHT_NAME_VALUE
public static final int CURRENT_ACCESS_RIGHT_NAME_VALUE
The 'Current Access Right Name' literal value.- See Also:
CURRENT_ACCESS_RIGHT_NAME
, Constant Field Values
-
WRONG_TYPE_VALUE
public static final int WRONG_TYPE_VALUE
The 'Wrong Type' literal value.- See Also:
WRONG_TYPE
, Constant Field Values
-
VALUES
public static final List<TemplateParameterType> VALUES
A public read-only list of all the 'Template Parameter Type' enumerators.
-
-
Method Detail
-
values
public static TemplateParameterType[] 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 (TemplateParameterType c : TemplateParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateParameterType 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 TemplateParameterType get(String literal)
Returns the 'Template Parameter Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static TemplateParameterType getByName(String name)
Returns the 'Template Parameter Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static TemplateParameterType get(int value)
Returns the 'Template Parameter 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<TemplateParameterType>
-
-