-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathOperationsAttributes.java
More file actions
44 lines (37 loc) · 1.34 KB
/
OperationsAttributes.java
File metadata and controls
44 lines (37 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package solutions.bellatrix.servicenow.components.enums;
public enum OperationsAttributes {
EQUALS("Equals", "=", "Equals"),
DOES_NOT_EQUAL("Does not equal", "!=", "DoesNotEqual"),
IS_LESS_THAN("Is less than", "<", "IsLessThan"),
IS_GREATER_THAN("Is greater than", ">", "IsGreaterThan"),
IS_LESS_THAN_OR_EQUAL_TO("Is less than or equal to", "<=", "IsLessThanOrEqualTo"),
IS_GREATER_THAN_OR_EQUAL_TO("Is greater than or equal to", ">=", "IsGreaterThanOrEqualTo"),
IS_BLANK("Is blank", "", "IsBlank"),
IS_NOT_BLANK("Is not blank", "", "IsNotBlank"),
IS_BETWEEN("Is between", "", "IsBetween"),
CONTAINS("Contains", "", "Contains"),
DOES_NOT_CONTAIN("Does not contain", "", "DoesNotContain"),
STARTS_WITH("Starts with", "", "StartsWith"),
ENDS_WITH("Ends with", "", "EndsWith");
private final String value;
private final String sign;
private final String nameMethod;
OperationsAttributes(String value, String sign, String nameMethod) {
this.value = value;
this.sign = sign;
this.nameMethod = nameMethod;
}
public String getValue() {
return this.value;
}
public String getSign() {
return sign;
}
public String getNameMethod() {
return nameMethod;
}
@Override
public String toString() {
return this.value;
}
}