Package com._1c.g5.v8.dt.ql.model
Enum LogicalCompareType
- java.lang.Object
-
- java.lang.Enum<LogicalCompareType>
-
- com._1c.g5.v8.dt.ql.model.LogicalCompareType
-
- All Implemented Interfaces:
Serializable
,Comparable<LogicalCompareType>
,org.eclipse.emf.common.util.Enumerator
public enum LogicalCompareType extends Enum<LogicalCompareType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Logical Compare Type', and utility methods for working with them.- See Also:
QlPackage.getLogicalCompareType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL
The 'Equal' literal object.LESS
The 'Less' literal object.LESS_EQUAL
The 'Less Equal' literal object.MORE
The 'More' literal object.MORE_EQUAL
The 'More Equal' literal object.NOT_EQUAL
The 'Not Equal' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
EQUAL_VALUE
The 'Equal' literal value.static int
LESS_EQUAL_VALUE
The 'Less Equal' literal value.static int
LESS_VALUE
The 'Less' literal value.static int
MORE_EQUAL_VALUE
The 'More Equal' literal value.static int
MORE_VALUE
The 'More' literal value.static int
NOT_EQUAL_VALUE
The 'Not Equal' literal value.static List<LogicalCompareType>
VALUES
A public read-only list of all the 'Logical Compare Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogicalCompareType
get(int value)
Returns the 'Logical Compare Type' literal with the specified integer value.static LogicalCompareType
get(String literal)
Returns the 'Logical Compare Type' literal with the specified literal value.static LogicalCompareType
getByName(String name)
Returns the 'Logical Compare 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 LogicalCompareType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LogicalCompareType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LESS
public static final LogicalCompareType LESS
The 'Less' literal object.- See Also:
LESS_VALUE
-
EQUAL
public static final LogicalCompareType EQUAL
The 'Equal' literal object.- See Also:
EQUAL_VALUE
-
MORE
public static final LogicalCompareType MORE
The 'More' literal object.- See Also:
MORE_VALUE
-
LESS_EQUAL
public static final LogicalCompareType LESS_EQUAL
The 'Less Equal' literal object.- See Also:
LESS_EQUAL_VALUE
-
MORE_EQUAL
public static final LogicalCompareType MORE_EQUAL
The 'More Equal' literal object.- See Also:
MORE_EQUAL_VALUE
-
NOT_EQUAL
public static final LogicalCompareType NOT_EQUAL
The 'Not Equal' literal object.- See Also:
NOT_EQUAL_VALUE
-
-
Field Detail
-
LESS_VALUE
public static final int LESS_VALUE
The 'Less' literal value.- See Also:
LESS
, Constant Field Values
-
EQUAL_VALUE
public static final int EQUAL_VALUE
The 'Equal' literal value.- See Also:
EQUAL
, Constant Field Values
-
MORE_VALUE
public static final int MORE_VALUE
The 'More' literal value.- See Also:
MORE
, Constant Field Values
-
LESS_EQUAL_VALUE
public static final int LESS_EQUAL_VALUE
The 'Less Equal' literal value.- See Also:
LESS_EQUAL
, Constant Field Values
-
MORE_EQUAL_VALUE
public static final int MORE_EQUAL_VALUE
The 'More Equal' literal value.- See Also:
MORE_EQUAL
, Constant Field Values
-
NOT_EQUAL_VALUE
public static final int NOT_EQUAL_VALUE
The 'Not Equal' literal value.- See Also:
NOT_EQUAL
, Constant Field Values
-
VALUES
public static final List<LogicalCompareType> VALUES
A public read-only list of all the 'Logical Compare Type' enumerators.
-
-
Method Detail
-
values
public static LogicalCompareType[] 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 (LogicalCompareType c : LogicalCompareType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogicalCompareType 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 LogicalCompareType get(String literal)
Returns the 'Logical Compare Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static LogicalCompareType getByName(String name)
Returns the 'Logical Compare Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static LogicalCompareType get(int value)
Returns the 'Logical Compare 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<LogicalCompareType>
-
-