fixed model property constraints

This commit is contained in:
2021-09-03 12:48:23 -04:00
parent 7089fb2bc8
commit 147a9a4a3e

View File

@@ -33,7 +33,7 @@ public class PropertyInfo extends NamedObject {
private boolean indexed; private boolean indexed;
@JsonProperty @JsonProperty
private List<ConstraintInfo> contraints; private List<ConstraintInfo> constraints;
@@ -101,4 +101,12 @@ public class PropertyInfo extends NamedObject {
this.indexed = indexed; this.indexed = indexed;
} }
public List<ConstraintInfo> getConstraints() {
return constraints;
}
public void setConstraints(List<ConstraintInfo> constraints) {
this.constraints = constraints;
}
} }