Enum TemplateType
- java.lang.Object
-
- java.lang.Enum<TemplateType>
-
- com._1c.g5.v8.dt.metadata.mdclass.TemplateType
-
- All Implemented Interfaces:
Serializable
,Comparable<TemplateType>
,org.eclipse.emf.common.util.Enumerator
public enum TemplateType extends Enum<TemplateType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Template Type', and utility methods for working with them.- See Also:
MdClassPackage.getTemplateType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_DOCUMENT
The 'Active Document' literal object.ADD_IN
The 'Add In' literal object.BINARY_DATA
The 'Binary Data' literal object.DATA_COMPOSITION_APPEARANCE_TEMPLATE
The 'Data Composition Appearance Template' literal object.DATA_COMPOSITION_SCHEMA
The 'Data Composition Schema' literal object.GEOGRAPHICAL_SCHEMA
The 'Geographical Schema' literal object.GRAPHICAL_SCHEMA
The 'Graphical Schema' literal object.HTML_DOCUMENT
The 'HTML Document' literal object.SPREADSHEET_DOCUMENT
The 'Spreadsheet Document' literal object.TEXT_DOCUMENT
The 'Text Document' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVE_DOCUMENT_VALUE
The 'Active Document' literal value.static int
ADD_IN_VALUE
The 'Add In' literal value.static int
BINARY_DATA_VALUE
The 'Binary Data' literal value.static int
DATA_COMPOSITION_APPEARANCE_TEMPLATE_VALUE
The 'Data Composition Appearance Template' literal value.static int
DATA_COMPOSITION_SCHEMA_VALUE
The 'Data Composition Schema' literal value.static int
GEOGRAPHICAL_SCHEMA_VALUE
The 'Geographical Schema' literal value.static int
GRAPHICAL_SCHEMA_VALUE
The 'Graphical Schema' literal value.static int
HTML_DOCUMENT_VALUE
The 'HTML Document' literal value.static int
SPREADSHEET_DOCUMENT_VALUE
The 'Spreadsheet Document' literal value.static int
TEXT_DOCUMENT_VALUE
The 'Text Document' literal value.static List<TemplateType>
VALUES
A public read-only list of all the 'Template Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateType
get(int value)
Returns the 'Template Type' literal with the specified integer value.static TemplateType
get(String literal)
Returns the 'Template Type' literal with the specified literal value.static TemplateType
getByName(String name)
Returns the 'Template 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 TemplateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TemplateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPREADSHEET_DOCUMENT
public static final TemplateType SPREADSHEET_DOCUMENT
The 'Spreadsheet Document' literal object.- See Also:
SPREADSHEET_DOCUMENT_VALUE
-
BINARY_DATA
public static final TemplateType BINARY_DATA
The 'Binary Data' literal object.- See Also:
BINARY_DATA_VALUE
-
ACTIVE_DOCUMENT
public static final TemplateType ACTIVE_DOCUMENT
The 'Active Document' literal object.- See Also:
ACTIVE_DOCUMENT_VALUE
-
HTML_DOCUMENT
public static final TemplateType HTML_DOCUMENT
The 'HTML Document' literal object.- See Also:
HTML_DOCUMENT_VALUE
-
TEXT_DOCUMENT
public static final TemplateType TEXT_DOCUMENT
The 'Text Document' literal object.- See Also:
TEXT_DOCUMENT_VALUE
-
GEOGRAPHICAL_SCHEMA
public static final TemplateType GEOGRAPHICAL_SCHEMA
The 'Geographical Schema' literal object.- See Also:
GEOGRAPHICAL_SCHEMA_VALUE
-
GRAPHICAL_SCHEMA
public static final TemplateType GRAPHICAL_SCHEMA
The 'Graphical Schema' literal object.- See Also:
GRAPHICAL_SCHEMA_VALUE
-
DATA_COMPOSITION_SCHEMA
public static final TemplateType DATA_COMPOSITION_SCHEMA
The 'Data Composition Schema' literal object.- See Also:
DATA_COMPOSITION_SCHEMA_VALUE
-
DATA_COMPOSITION_APPEARANCE_TEMPLATE
public static final TemplateType DATA_COMPOSITION_APPEARANCE_TEMPLATE
The 'Data Composition Appearance Template' literal object.
-
ADD_IN
public static final TemplateType ADD_IN
The 'Add In' literal object.- See Also:
ADD_IN_VALUE
-
-
Field Detail
-
SPREADSHEET_DOCUMENT_VALUE
public static final int SPREADSHEET_DOCUMENT_VALUE
The 'Spreadsheet Document' literal value.- See Also:
SPREADSHEET_DOCUMENT
, Constant Field Values
-
BINARY_DATA_VALUE
public static final int BINARY_DATA_VALUE
The 'Binary Data' literal value.- See Also:
BINARY_DATA
, Constant Field Values
-
ACTIVE_DOCUMENT_VALUE
public static final int ACTIVE_DOCUMENT_VALUE
The 'Active Document' literal value.- See Also:
ACTIVE_DOCUMENT
, Constant Field Values
-
HTML_DOCUMENT_VALUE
public static final int HTML_DOCUMENT_VALUE
The 'HTML Document' literal value.- See Also:
HTML_DOCUMENT
, Constant Field Values
-
TEXT_DOCUMENT_VALUE
public static final int TEXT_DOCUMENT_VALUE
The 'Text Document' literal value.- See Also:
TEXT_DOCUMENT
, Constant Field Values
-
GEOGRAPHICAL_SCHEMA_VALUE
public static final int GEOGRAPHICAL_SCHEMA_VALUE
The 'Geographical Schema' literal value.- See Also:
GEOGRAPHICAL_SCHEMA
, Constant Field Values
-
GRAPHICAL_SCHEMA_VALUE
public static final int GRAPHICAL_SCHEMA_VALUE
The 'Graphical Schema' literal value.- See Also:
GRAPHICAL_SCHEMA
, Constant Field Values
-
DATA_COMPOSITION_SCHEMA_VALUE
public static final int DATA_COMPOSITION_SCHEMA_VALUE
The 'Data Composition Schema' literal value.- See Also:
DATA_COMPOSITION_SCHEMA
, Constant Field Values
-
DATA_COMPOSITION_APPEARANCE_TEMPLATE_VALUE
public static final int DATA_COMPOSITION_APPEARANCE_TEMPLATE_VALUE
The 'Data Composition Appearance Template' literal value.
-
ADD_IN_VALUE
public static final int ADD_IN_VALUE
The 'Add In' literal value.- See Also:
ADD_IN
, Constant Field Values
-
VALUES
public static final List<TemplateType> VALUES
A public read-only list of all the 'Template Type' enumerators.
-
-
Method Detail
-
values
public static TemplateType[] 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 (TemplateType c : TemplateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateType 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 TemplateType get(String literal)
Returns the 'Template Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static TemplateType getByName(String name)
Returns the 'Template Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static TemplateType get(int value)
Returns the 'Template 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<TemplateType>
-
-