Package com._1c.g5.v8.dt.moxel.content
Enum AreaType
- java.lang.Object
-
- java.lang.Enum<AreaType>
-
- com._1c.g5.v8.dt.moxel.content.AreaType
-
- All Implemented Interfaces:
Serializable
,Comparable<AreaType>
,org.eclipse.emf.common.util.Enumerator
public enum AreaType extends Enum<AreaType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Area Type', and utility methods for working with them.- See Also:
ContentPackage.getAreaType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMNS_AREA
The 'Columns Area' literal object.GENERAL_AREA
The 'General Area' literal object.RECTANGLE_AREA
The 'Rectangle Area' literal object.ROWS_AREA
The 'Rows Area' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
COLUMNS_AREA_VALUE
The 'Columns Area' literal value.static int
GENERAL_AREA_VALUE
The 'General Area' literal value.static int
RECTANGLE_AREA_VALUE
The 'Rectangle Area' literal value.static int
ROWS_AREA_VALUE
The 'Rows Area' literal value.static List<AreaType>
VALUES
A public read-only list of all the 'Area Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AreaType
get(int value)
Returns the 'Area Type' literal with the specified integer value.static AreaType
get(String literal)
Returns the 'Area Type' literal with the specified literal value.static AreaType
getByName(String name)
Returns the 'Area 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 AreaType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AreaType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERAL_AREA
public static final AreaType GENERAL_AREA
The 'General Area' literal object.- See Also:
GENERAL_AREA_VALUE
-
ROWS_AREA
public static final AreaType ROWS_AREA
The 'Rows Area' literal object.- See Also:
ROWS_AREA_VALUE
-
COLUMNS_AREA
public static final AreaType COLUMNS_AREA
The 'Columns Area' literal object.- See Also:
COLUMNS_AREA_VALUE
-
RECTANGLE_AREA
public static final AreaType RECTANGLE_AREA
The 'Rectangle Area' literal object.- See Also:
RECTANGLE_AREA_VALUE
-
-
Field Detail
-
GENERAL_AREA_VALUE
public static final int GENERAL_AREA_VALUE
The 'General Area' literal value.- See Also:
GENERAL_AREA
, Constant Field Values
-
ROWS_AREA_VALUE
public static final int ROWS_AREA_VALUE
The 'Rows Area' literal value.- See Also:
ROWS_AREA
, Constant Field Values
-
COLUMNS_AREA_VALUE
public static final int COLUMNS_AREA_VALUE
The 'Columns Area' literal value.- See Also:
COLUMNS_AREA
, Constant Field Values
-
RECTANGLE_AREA_VALUE
public static final int RECTANGLE_AREA_VALUE
The 'Rectangle Area' literal value.- See Also:
RECTANGLE_AREA
, Constant Field Values
-
-
Method Detail
-
values
public static AreaType[] 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 (AreaType c : AreaType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AreaType 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 AreaType get(String literal)
Returns the 'Area Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static AreaType getByName(String name)
Returns the 'Area Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static AreaType get(int value)
Returns the 'Area 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
-
-