fixed model property constraints
This commit is contained in:
parent
c03c916e02
commit
45d055c743
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -100,5 +100,13 @@ public class PropertyInfo extends NamedObject {
|
|||||||
public void setIndexed(boolean indexed) {
|
public void setIndexed(boolean indexed) {
|
||||||
this.indexed = indexed;
|
this.indexed = indexed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<ConstraintInfo> getConstraints() {
|
||||||
|
return constraints;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setConstraints(List<ConstraintInfo> constraints) {
|
||||||
|
this.constraints = constraints;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user