Enum ShowMode
- java.lang.Object
-
- java.lang.Enum<ShowMode>
-
- com._1c.g5.v8.dt.geographicalschema.model.ShowMode
-
- All Implemented Interfaces:
Serializable,Comparable<ShowMode>,org.eclipse.emf.common.util.Enumerator
public enum ShowMode extends Enum<ShowMode> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Show Mode', and utility methods for working with them.- See Also:
GeographicalSchemaPackage.getShowMode()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_DATAThe 'All Data' literal object.SCALE_DEFINEDThe 'Scale Defined' literal object.SPECIFIED_AREAThe 'Specified Area' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intALL_DATA_VALUEThe 'All Data' literal value.static intSCALE_DEFINED_VALUEThe 'Scale Defined' literal value.static intSPECIFIED_AREA_VALUEThe 'Specified Area' literal value.static List<ShowMode>VALUESA public read-only list of all the 'Show Mode' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShowModeget(int value)Returns the 'Show Mode' literal with the specified integer value.static ShowModeget(String literal)Returns the 'Show Mode' literal with the specified literal value.static ShowModegetByName(String name)Returns the 'Show Mode' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static ShowModevalueOf(String name)Returns the enum constant of this type with the specified name.static ShowMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCALE_DEFINED
public static final ShowMode SCALE_DEFINED
The 'Scale Defined' literal object.- See Also:
SCALE_DEFINED_VALUE
-
ALL_DATA
public static final ShowMode ALL_DATA
The 'All Data' literal object.- See Also:
ALL_DATA_VALUE
-
SPECIFIED_AREA
public static final ShowMode SPECIFIED_AREA
The 'Specified Area' literal object.- See Also:
SPECIFIED_AREA_VALUE
-
-
Field Detail
-
SCALE_DEFINED_VALUE
public static final int SCALE_DEFINED_VALUE
The 'Scale Defined' literal value.- See Also:
SCALE_DEFINED, Constant Field Values
-
ALL_DATA_VALUE
public static final int ALL_DATA_VALUE
The 'All Data' literal value.- See Also:
ALL_DATA, Constant Field Values
-
SPECIFIED_AREA_VALUE
public static final int SPECIFIED_AREA_VALUE
The 'Specified Area' literal value.- See Also:
SPECIFIED_AREA, Constant Field Values
-
-
Method Detail
-
values
public static ShowMode[] 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 (ShowMode c : ShowMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShowMode 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 ShowMode get(String literal)
Returns the 'Show Mode' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static ShowMode getByName(String name)
Returns the 'Show Mode' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static ShowMode get(int value)
Returns the 'Show Mode' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()
- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator
-
-