Package com._1c.g5.v8.dt.ql.model
Enum QuerySchemaPeriodAdditionType
- java.lang.Object
-
- java.lang.Enum<QuerySchemaPeriodAdditionType>
-
- com._1c.g5.v8.dt.ql.model.QuerySchemaPeriodAdditionType
-
- All Implemented Interfaces:
Serializable
,Comparable<QuerySchemaPeriodAdditionType>
,org.eclipse.emf.common.util.Enumerator
public enum QuerySchemaPeriodAdditionType extends Enum<QuerySchemaPeriodAdditionType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Query Schema Period Addition Type', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAY
The 'Day' literal object.HALF_YEAR
The 'Half Year' literal object.HOUR
The 'Hour' literal object.MINUTE
The 'Minute' literal object.MONTH
The 'Month' literal object.QUARTER
The 'Quarter' literal object.SECOND
The 'Second' literal object.TEN_DAYS
The 'Ten Days' literal object.WEEK
The 'Week' literal object.WITHOUT_ADDITIONS
The 'Without Additions' literal object.YEAR
The 'Year' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
DAY_VALUE
The 'Day' literal value.static int
HALF_YEAR_VALUE
The 'Half Year' literal value.static int
HOUR_VALUE
The 'Hour' literal value.static int
MINUTE_VALUE
The 'Minute' literal value.static int
MONTH_VALUE
The 'Month' literal value.static int
QUARTER_VALUE
The 'Quarter' literal value.static int
SECOND_VALUE
The 'Second' literal value.static int
TEN_DAYS_VALUE
The 'Ten Days' literal value.static List<QuerySchemaPeriodAdditionType>
VALUES
A public read-only list of all the 'Query Schema Period Addition Type' enumerators.static int
WEEK_VALUE
The 'Week' literal value.static int
WITHOUT_ADDITIONS_VALUE
The 'Without Additions' literal value.static int
YEAR_VALUE
The 'Year' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuerySchemaPeriodAdditionType
get(int value)
Returns the 'Query Schema Period Addition Type' literal with the specified integer value.static QuerySchemaPeriodAdditionType
get(String literal)
Returns the 'Query Schema Period Addition Type' literal with the specified literal value.static QuerySchemaPeriodAdditionType
getByName(String name)
Returns the 'Query Schema Period Addition 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 QuerySchemaPeriodAdditionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static QuerySchemaPeriodAdditionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WITHOUT_ADDITIONS
public static final QuerySchemaPeriodAdditionType WITHOUT_ADDITIONS
The 'Without Additions' literal object.- See Also:
WITHOUT_ADDITIONS_VALUE
-
YEAR
public static final QuerySchemaPeriodAdditionType YEAR
The 'Year' literal object.- See Also:
YEAR_VALUE
-
TEN_DAYS
public static final QuerySchemaPeriodAdditionType TEN_DAYS
The 'Ten Days' literal object.- See Also:
TEN_DAYS_VALUE
-
DAY
public static final QuerySchemaPeriodAdditionType DAY
The 'Day' literal object.- See Also:
DAY_VALUE
-
QUARTER
public static final QuerySchemaPeriodAdditionType QUARTER
The 'Quarter' literal object.- See Also:
QUARTER_VALUE
-
MONTH
public static final QuerySchemaPeriodAdditionType MONTH
The 'Month' literal object.- See Also:
MONTH_VALUE
-
MINUTE
public static final QuerySchemaPeriodAdditionType MINUTE
The 'Minute' literal object.- See Also:
MINUTE_VALUE
-
WEEK
public static final QuerySchemaPeriodAdditionType WEEK
The 'Week' literal object.- See Also:
WEEK_VALUE
-
HALF_YEAR
public static final QuerySchemaPeriodAdditionType HALF_YEAR
The 'Half Year' literal object.- See Also:
HALF_YEAR_VALUE
-
SECOND
public static final QuerySchemaPeriodAdditionType SECOND
The 'Second' literal object.- See Also:
SECOND_VALUE
-
HOUR
public static final QuerySchemaPeriodAdditionType HOUR
The 'Hour' literal object.- See Also:
HOUR_VALUE
-
-
Field Detail
-
WITHOUT_ADDITIONS_VALUE
public static final int WITHOUT_ADDITIONS_VALUE
The 'Without Additions' literal value.- See Also:
WITHOUT_ADDITIONS
, Constant Field Values
-
YEAR_VALUE
public static final int YEAR_VALUE
The 'Year' literal value.- See Also:
YEAR
, Constant Field Values
-
TEN_DAYS_VALUE
public static final int TEN_DAYS_VALUE
The 'Ten Days' literal value.- See Also:
TEN_DAYS
, Constant Field Values
-
DAY_VALUE
public static final int DAY_VALUE
The 'Day' literal value.- See Also:
DAY
, Constant Field Values
-
QUARTER_VALUE
public static final int QUARTER_VALUE
The 'Quarter' literal value.- See Also:
QUARTER
, Constant Field Values
-
MONTH_VALUE
public static final int MONTH_VALUE
The 'Month' literal value.- See Also:
MONTH
, Constant Field Values
-
MINUTE_VALUE
public static final int MINUTE_VALUE
The 'Minute' literal value.- See Also:
MINUTE
, Constant Field Values
-
WEEK_VALUE
public static final int WEEK_VALUE
The 'Week' literal value.- See Also:
WEEK
, Constant Field Values
-
HALF_YEAR_VALUE
public static final int HALF_YEAR_VALUE
The 'Half Year' literal value.- See Also:
HALF_YEAR
, Constant Field Values
-
SECOND_VALUE
public static final int SECOND_VALUE
The 'Second' literal value.- See Also:
SECOND
, Constant Field Values
-
HOUR_VALUE
public static final int HOUR_VALUE
The 'Hour' literal value.- See Also:
HOUR
, Constant Field Values
-
VALUES
public static final List<QuerySchemaPeriodAdditionType> VALUES
A public read-only list of all the 'Query Schema Period Addition Type' enumerators.
-
-
Method Detail
-
values
public static QuerySchemaPeriodAdditionType[] 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 (QuerySchemaPeriodAdditionType c : QuerySchemaPeriodAdditionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuerySchemaPeriodAdditionType 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 QuerySchemaPeriodAdditionType get(String literal)
Returns the 'Query Schema Period Addition Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static QuerySchemaPeriodAdditionType getByName(String name)
Returns the 'Query Schema Period Addition Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static QuerySchemaPeriodAdditionType get(int value)
Returns the 'Query Schema Period Addition 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<QuerySchemaPeriodAdditionType>
-
-