use of org.eclipse.winery.repository.rest.resources.apiData.boundarydefinitions.PropertyConstraintsApiData in project winery by eclipse.
the class PropertyConstraintsResource method onGet.
@GET
@Produces(MediaType.APPLICATION_JSON)
public List<PropertyConstraintsApiData> onGet() {
List<PropertyConstraintsApiData> apiDatas = new ArrayList<>();
Iterator<TPropertyConstraint> iterator = this.propertyConstraints.getPropertyConstraint().iterator();
for (TPropertyConstraint propertyConstraint : this.propertyConstraints.getPropertyConstraint()) {
apiDatas.add(new PropertyConstraintsApiData(propertyConstraint));
}
return apiDatas;
}
Aggregations