Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Cleanup drl files in policy/engine test modules"
[policy/engine.git]
/
ONAP-REST
/
src
/
main
/
java
/
org
/
onap
/
policy
/
rest
/
jpa
/
ConstraintType.java
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
a79866a
..
10394ae
100644
(file)
--- 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 int id;
@Column(name = "constraint_type", nullable = false, length = 64)
- private String
c
onstraintType;
+ private String
theC
onstraintType;
@Column(name = "description", nullable = false, length = 255)
private String description;
@Column(name = "description", nullable = false, length = 255)
private String description;
@@
-84,7
+84,7
@@
public class ConstraintType implements Serializable {
public ConstraintType(String constraintType) {
this();
public ConstraintType(String constraintType) {
this();
- this.
c
onstraintType = constraintType;
+ this.
theC
onstraintType = constraintType;
}
public ConstraintType(String constraintType, String description) {
}
public ConstraintType(String constraintType, String description) {
@@
-96,4
+96,11
@@
public class ConstraintType implements Serializable {
return RANGE_TYPES;
}
return RANGE_TYPES;
}
+ public String getConstraintType() {
+ return theConstraintType;
+ }
+
+ public void setConstraintType(final String theConstraintType) {
+ this.theConstraintType = theConstraintType;
+ }
}
}