aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ConstraintType.java
diff options
context:
space:
mode:
Diffstat (limited to 'ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ConstraintType.java')
-rw-r--r--ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ConstraintType.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ConstraintType.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ConstraintType.java
index a79866a36..10394ae6f 100644
--- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ConstraintType.java
+++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ConstraintType.java
@@ -73,7 +73,7 @@ public class ConstraintType implements Serializable {
private int id;
@Column(name = "constraint_type", nullable = false, length = 64)
- private String constraintType;
+ private String theConstraintType;
@Column(name = "description", nullable = false, length = 255)
private String description;
@@ -84,7 +84,7 @@ public class ConstraintType implements Serializable {
public ConstraintType(String constraintType) {
this();
- this.constraintType = constraintType;
+ this.theConstraintType = constraintType;
}
public ConstraintType(String constraintType, String description) {
@@ -96,4 +96,11 @@ public class ConstraintType implements Serializable {
return RANGE_TYPES;
}
+ public String getConstraintType() {
+ return theConstraintType;
+ }
+
+ public void setConstraintType(final String theConstraintType) {
+ this.theConstraintType = theConstraintType;
+ }
}