Package com._1c.g5.v8.dt.metadata.dbview
Enum DbViewFieldPeriodType
- java.lang.Object
-
- java.lang.Enum<DbViewFieldPeriodType>
-
- com._1c.g5.v8.dt.metadata.dbview.DbViewFieldPeriodType
-
- All Implemented Interfaces:
Serializable
,Comparable<DbViewFieldPeriodType>
,org.eclipse.emf.common.util.Enumerator
public enum DbViewFieldPeriodType extends Enum<DbViewFieldPeriodType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Field Period Type', and utility methods for working with them.- See Also:
DbViewPackage.getDbViewFieldPeriodType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONAL_PERIOD
The 'Additional Period' literal object.MAIN_PERIOD
The 'Main Period' literal object.SPECIFY_PERIOD
The 'Specify Period' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
ADDITIONAL_PERIOD_VALUE
The 'Additional Period' literal value.static int
MAIN_PERIOD_VALUE
The 'Main Period' literal value.static int
SPECIFY_PERIOD_VALUE
The 'Specify Period' literal value.static List<DbViewFieldPeriodType>
VALUES
A public read-only list of all the 'Field Period Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbViewFieldPeriodType
get(int value)
Returns the 'Field Period Type' literal with the specified integer value.static DbViewFieldPeriodType
get(String literal)
Returns the 'Field Period Type' literal with the specified literal value.static DbViewFieldPeriodType
getByName(String name)
Returns the 'Field Period 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 DbViewFieldPeriodType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DbViewFieldPeriodType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAIN_PERIOD
public static final DbViewFieldPeriodType MAIN_PERIOD
The 'Main Period' literal object.- See Also:
MAIN_PERIOD_VALUE
-
SPECIFY_PERIOD
public static final DbViewFieldPeriodType SPECIFY_PERIOD
The 'Specify Period' literal object.- See Also:
SPECIFY_PERIOD_VALUE
-
ADDITIONAL_PERIOD
public static final DbViewFieldPeriodType ADDITIONAL_PERIOD
The 'Additional Period' literal object.- See Also:
ADDITIONAL_PERIOD_VALUE
-
-
Field Detail
-
MAIN_PERIOD_VALUE
public static final int MAIN_PERIOD_VALUE
The 'Main Period' literal value.- See Also:
MAIN_PERIOD
, Constant Field Values
-
SPECIFY_PERIOD_VALUE
public static final int SPECIFY_PERIOD_VALUE
The 'Specify Period' literal value.- See Also:
SPECIFY_PERIOD
, Constant Field Values
-
ADDITIONAL_PERIOD_VALUE
public static final int ADDITIONAL_PERIOD_VALUE
The 'Additional Period' literal value.- See Also:
ADDITIONAL_PERIOD
, Constant Field Values
-
VALUES
public static final List<DbViewFieldPeriodType> VALUES
A public read-only list of all the 'Field Period Type' enumerators.
-
-
Method Detail
-
values
public static DbViewFieldPeriodType[] 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 (DbViewFieldPeriodType c : DbViewFieldPeriodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DbViewFieldPeriodType 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 DbViewFieldPeriodType get(String literal)
Returns the 'Field Period Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static DbViewFieldPeriodType getByName(String name)
Returns the 'Field Period Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static DbViewFieldPeriodType get(int value)
Returns the 'Field Period 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<DbViewFieldPeriodType>
-
-