Package com._1c.g5.v8.dt.mcore
Enum SourceType
- java.lang.Object
-
- java.lang.Enum<SourceType>
-
- com._1c.g5.v8.dt.mcore.SourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<SourceType>
,org.eclipse.emf.common.util.Enumerator
public enum SourceType extends Enum<SourceType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Source Type', and utility methods for working with them.- See Also:
McorePackage.getSourceType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARACTERISTIC
The 'Characteristic' literal object.CHARACTERISTIC_KIND
The 'Characteristic Kind' literal object.CHARACTERISTIC_MAIN_FIELDS
The 'Characteristic Main Fields' literal object.CHOICE_PARAM_LINKS
The 'Choice Param Links' literal object.EDB_TABLE_KEY_FIELDS
The 'EDB Table Key Fields' literal object.FIELDS_FOR_LOCKING
The 'Fields For Locking' literal object.INPUT_BY_STRING
The 'Input By String' literal object.STANDARD_FIELDS
The 'Standard Fields' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
CHARACTERISTIC_KIND_VALUE
The 'Characteristic Kind' literal value.static int
CHARACTERISTIC_MAIN_FIELDS_VALUE
The 'Characteristic Main Fields' literal value.static int
CHARACTERISTIC_VALUE
The 'Characteristic' literal value.static int
CHOICE_PARAM_LINKS_VALUE
The 'Choice Param Links' literal value.static int
EDB_TABLE_KEY_FIELDS_VALUE
The 'EDB Table Key Fields' literal value.static int
FIELDS_FOR_LOCKING_VALUE
The 'Fields For Locking' literal value.static int
INPUT_BY_STRING_VALUE
The 'Input By String' literal value.static int
STANDARD_FIELDS_VALUE
The 'Standard Fields' literal value.static List<SourceType>
VALUES
A public read-only list of all the 'Source Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceType
get(int value)
Returns the 'Source Type' literal with the specified integer value.static SourceType
get(String literal)
Returns the 'Source Type' literal with the specified literal value.static SourceType
getByName(String name)
Returns the 'Source 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 SourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INPUT_BY_STRING
public static final SourceType INPUT_BY_STRING
The 'Input By String' literal object.- See Also:
INPUT_BY_STRING_VALUE
-
CHARACTERISTIC_KIND
public static final SourceType CHARACTERISTIC_KIND
The 'Characteristic Kind' literal object.- See Also:
CHARACTERISTIC_KIND_VALUE
-
CHARACTERISTIC
public static final SourceType CHARACTERISTIC
The 'Characteristic' literal object.- See Also:
CHARACTERISTIC_VALUE
-
STANDARD_FIELDS
public static final SourceType STANDARD_FIELDS
The 'Standard Fields' literal object.- See Also:
STANDARD_FIELDS_VALUE
-
CHOICE_PARAM_LINKS
public static final SourceType CHOICE_PARAM_LINKS
The 'Choice Param Links' literal object.- See Also:
CHOICE_PARAM_LINKS_VALUE
-
CHARACTERISTIC_MAIN_FIELDS
public static final SourceType CHARACTERISTIC_MAIN_FIELDS
The 'Characteristic Main Fields' literal object.- See Also:
CHARACTERISTIC_MAIN_FIELDS_VALUE
-
EDB_TABLE_KEY_FIELDS
public static final SourceType EDB_TABLE_KEY_FIELDS
The 'EDB Table Key Fields' literal object.- See Also:
EDB_TABLE_KEY_FIELDS_VALUE
-
FIELDS_FOR_LOCKING
public static final SourceType FIELDS_FOR_LOCKING
The 'Fields For Locking' literal object.- See Also:
FIELDS_FOR_LOCKING_VALUE
-
-
Field Detail
-
INPUT_BY_STRING_VALUE
public static final int INPUT_BY_STRING_VALUE
The 'Input By String' literal value.- See Also:
INPUT_BY_STRING
, Constant Field Values
-
CHARACTERISTIC_KIND_VALUE
public static final int CHARACTERISTIC_KIND_VALUE
The 'Characteristic Kind' literal value.- See Also:
CHARACTERISTIC_KIND
, Constant Field Values
-
CHARACTERISTIC_VALUE
public static final int CHARACTERISTIC_VALUE
The 'Characteristic' literal value.- See Also:
CHARACTERISTIC
, Constant Field Values
-
STANDARD_FIELDS_VALUE
public static final int STANDARD_FIELDS_VALUE
The 'Standard Fields' literal value.- See Also:
STANDARD_FIELDS
, Constant Field Values
-
CHOICE_PARAM_LINKS_VALUE
public static final int CHOICE_PARAM_LINKS_VALUE
The 'Choice Param Links' literal value.- See Also:
CHOICE_PARAM_LINKS
, Constant Field Values
-
CHARACTERISTIC_MAIN_FIELDS_VALUE
public static final int CHARACTERISTIC_MAIN_FIELDS_VALUE
The 'Characteristic Main Fields' literal value.- See Also:
CHARACTERISTIC_MAIN_FIELDS
, Constant Field Values
-
EDB_TABLE_KEY_FIELDS_VALUE
public static final int EDB_TABLE_KEY_FIELDS_VALUE
The 'EDB Table Key Fields' literal value.- See Also:
EDB_TABLE_KEY_FIELDS
, Constant Field Values
-
FIELDS_FOR_LOCKING_VALUE
public static final int FIELDS_FOR_LOCKING_VALUE
The 'Fields For Locking' literal value.- See Also:
FIELDS_FOR_LOCKING
, Constant Field Values
-
VALUES
public static final List<SourceType> VALUES
A public read-only list of all the 'Source Type' enumerators.
-
-
Method Detail
-
values
public static SourceType[] 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 (SourceType c : SourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SourceType 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 SourceType get(String literal)
Returns the 'Source Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static SourceType getByName(String name)
Returns the 'Source Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static SourceType get(int value)
Returns the 'Source 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<SourceType>
-
-