Package com._1c.g5.v8.dt.moxel
Enum DuplexPrintingType
- java.lang.Object
-
- java.lang.Enum<DuplexPrintingType>
-
- com._1c.g5.v8.dt.moxel.DuplexPrintingType
-
- All Implemented Interfaces:
Serializable
,Comparable<DuplexPrintingType>
,org.eclipse.emf.common.util.Enumerator
public enum DuplexPrintingType extends Enum<DuplexPrintingType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Duplex Printing Type', and utility methods for working with them.- See Also:
MoxelPackage.getDuplexPrintingType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILP_PAGES_UP
The 'Filp Pages Up' literal object.FLIP_PAGES_LEFT
The 'Flip Pages Left' literal object.NONE
The 'None' literal object.USE_PRINTER_SETTINGS
The 'Use Printer Settings' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
FILP_PAGES_UP_VALUE
The 'Filp Pages Up' literal value.static int
FLIP_PAGES_LEFT_VALUE
The 'Flip Pages Left' literal value.static int
NONE_VALUE
The 'None' literal value.static int
USE_PRINTER_SETTINGS_VALUE
The 'Use Printer Settings' literal value.static List<DuplexPrintingType>
VALUES
A public read-only list of all the 'Duplex Printing Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DuplexPrintingType
get(int value)
Returns the 'Duplex Printing Type' literal with the specified integer value.static DuplexPrintingType
get(String literal)
Returns the 'Duplex Printing Type' literal with the specified literal value.static DuplexPrintingType
getByName(String name)
Returns the 'Duplex Printing 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 DuplexPrintingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DuplexPrintingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DuplexPrintingType NONE
The 'None' literal object.- See Also:
NONE_VALUE
-
FLIP_PAGES_LEFT
public static final DuplexPrintingType FLIP_PAGES_LEFT
The 'Flip Pages Left' literal object.- See Also:
FLIP_PAGES_LEFT_VALUE
-
FILP_PAGES_UP
public static final DuplexPrintingType FILP_PAGES_UP
The 'Filp Pages Up' literal object.- See Also:
FILP_PAGES_UP_VALUE
-
USE_PRINTER_SETTINGS
public static final DuplexPrintingType USE_PRINTER_SETTINGS
The 'Use Printer Settings' literal object.- See Also:
USE_PRINTER_SETTINGS_VALUE
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
The 'None' literal value.- See Also:
NONE
, Constant Field Values
-
FLIP_PAGES_LEFT_VALUE
public static final int FLIP_PAGES_LEFT_VALUE
The 'Flip Pages Left' literal value.- See Also:
FLIP_PAGES_LEFT
, Constant Field Values
-
FILP_PAGES_UP_VALUE
public static final int FILP_PAGES_UP_VALUE
The 'Filp Pages Up' literal value.- See Also:
FILP_PAGES_UP
, Constant Field Values
-
USE_PRINTER_SETTINGS_VALUE
public static final int USE_PRINTER_SETTINGS_VALUE
The 'Use Printer Settings' literal value.- See Also:
USE_PRINTER_SETTINGS
, Constant Field Values
-
VALUES
public static final List<DuplexPrintingType> VALUES
A public read-only list of all the 'Duplex Printing Type' enumerators.
-
-
Method Detail
-
values
public static DuplexPrintingType[] 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 (DuplexPrintingType c : DuplexPrintingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DuplexPrintingType 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 DuplexPrintingType get(String literal)
Returns the 'Duplex Printing Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static DuplexPrintingType getByName(String name)
Returns the 'Duplex Printing Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static DuplexPrintingType get(int value)
Returns the 'Duplex Printing 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<DuplexPrintingType>
-
-