Package com._1c.g5.v8.dt.form.model
Enum FormPagesState
- java.lang.Object
-
- java.lang.Enum<FormPagesState>
-
- com._1c.g5.v8.dt.form.model.FormPagesState
-
- All Implemented Interfaces:
Serializable
,Comparable<FormPagesState>
,org.eclipse.emf.common.util.Enumerator
public enum FormPagesState extends Enum<FormPagesState> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Pages State', and utility methods for working with them.- See Also:
FormPackage.getFormPagesState()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO
The 'Auto' literal object.CURRENT_PAGE
The 'Current Page' literal object.TITLES
The 'Titles' literal object.TITLES_AND_CURRENT_PAGE
The 'Titles And Current Page' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_VALUE
The 'Auto' literal value.static int
CURRENT_PAGE_VALUE
The 'Current Page' literal value.static int
TITLES_AND_CURRENT_PAGE_VALUE
The 'Titles And Current Page' literal value.static int
TITLES_VALUE
The 'Titles' literal value.static List<FormPagesState>
VALUES
A public read-only list of all the 'Pages State' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormPagesState
get(int value)
Returns the 'Pages State' literal with the specified integer value.static FormPagesState
get(String literal)
Returns the 'Pages State' literal with the specified literal value.static FormPagesState
getByName(String name)
Returns the 'Pages State' 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 FormPagesState
valueOf(String name)
Returns the enum constant of this type with the specified name.static FormPagesState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final FormPagesState AUTO
The 'Auto' literal object.- See Also:
AUTO_VALUE
-
TITLES_AND_CURRENT_PAGE
public static final FormPagesState TITLES_AND_CURRENT_PAGE
The 'Titles And Current Page' literal object.- See Also:
TITLES_AND_CURRENT_PAGE_VALUE
-
TITLES
public static final FormPagesState TITLES
The 'Titles' literal object.- See Also:
TITLES_VALUE
-
CURRENT_PAGE
public static final FormPagesState CURRENT_PAGE
The 'Current Page' literal object.- See Also:
CURRENT_PAGE_VALUE
-
-
Field Detail
-
AUTO_VALUE
public static final int AUTO_VALUE
The 'Auto' literal value.- See Also:
AUTO
, Constant Field Values
-
TITLES_AND_CURRENT_PAGE_VALUE
public static final int TITLES_AND_CURRENT_PAGE_VALUE
The 'Titles And Current Page' literal value.- See Also:
TITLES_AND_CURRENT_PAGE
, Constant Field Values
-
TITLES_VALUE
public static final int TITLES_VALUE
The 'Titles' literal value.- See Also:
TITLES
, Constant Field Values
-
CURRENT_PAGE_VALUE
public static final int CURRENT_PAGE_VALUE
The 'Current Page' literal value.- See Also:
CURRENT_PAGE
, Constant Field Values
-
VALUES
public static final List<FormPagesState> VALUES
A public read-only list of all the 'Pages State' enumerators.
-
-
Method Detail
-
values
public static FormPagesState[] 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 (FormPagesState c : FormPagesState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormPagesState 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 FormPagesState get(String literal)
Returns the 'Pages State' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static FormPagesState getByName(String name)
Returns the 'Pages State' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static FormPagesState get(int value)
Returns the 'Pages State' 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<FormPagesState>
-
-