summaryrefslogtreecommitdiffstats
path: root/common-be/src/main/java/org/openecomp
diff options
context:
space:
mode:
Diffstat (limited to 'common-be/src/main/java/org/openecomp')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java
index 80672b6d73..2963b6bcd1 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java
@@ -42,7 +42,12 @@ public enum ConstraintType {
PATTERN("pattern"),
SCHEMA("schema");
- private static final Set<ConstraintType> comparableConstraints = Set.of(ConstraintType.GREATER_THAN, ConstraintType.LESS_THAN);
+ private static final Set<ConstraintType> comparableConstraints = Set.of(
+ ConstraintType.EQUAL,
+ ConstraintType.GREATER_THAN,
+ ConstraintType.GREATER_OR_EQUAL,
+ ConstraintType.LESS_OR_EQUAL,
+ ConstraintType.LESS_THAN);
private final String type;
private final List<String> typeAlias;