1 /*******************************************************************************
2 * Copyright (c) 2017 Politecnico di Torino and others.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Apache License, Version 2.0
6 * which accompanies this distribution, and is available at
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *******************************************************************************/
10 package it.polito.escape.verify.model;
12 import java.util.ArrayList;
13 import java.util.List;
15 import io.swagger.annotations.ApiModel;
16 import io.swagger.annotations.ApiModelProperty;
18 @ApiModel(value = "Policy verification")
19 public class Verification {
21 @ApiModelProperty(example = "SAT | UNSAT | UNKNOWN")
22 private String result;
23 private String comment;
24 private List<Test> tests = new ArrayList<Test>();
26 public Verification() {
30 public Verification(String result) {
34 public Verification(String result, List<Test> tests, String comment){
37 this.comment = comment;
40 public Verification(String result, String comment){
42 this.comment = comment;
45 public String getResult() {
49 public void setResult(String result) {
53 public List<Test> getTests() {
57 public void setTests(List<Test> tests) {
61 public String getComment() {
65 public void setComment(String comment) {
66 this.comment = comment;