ValidazioneResult.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */

  20. package org.openspcoop2.protocol.sdk.validator;



  21. /**
  22.  * Risultato della Validazione dei Documenti
  23.  *
  24.  * @author $Author$
  25.  * @version $Rev$, $Date$
  26.  */

  27. public class ValidazioneResult {

  28.     private boolean esito;
  29.     private String messaggioErrore;
  30.     private String messaggioWarning;    
  31.     private Exception exception;
  32.    
  33.     public boolean isEsito() {
  34.         return this.esito;
  35.     }
  36.     public void setEsito(boolean esito) {
  37.         this.esito = esito;
  38.     }
  39.     public String getMessaggioErrore() {
  40.         return this.messaggioErrore;
  41.     }
  42.     public void setMessaggioErrore(String messaggioErrore) {
  43.         this.messaggioErrore = messaggioErrore;
  44.     }
  45.     public String getMessaggioWarning() {
  46.         return this.messaggioWarning;
  47.     }
  48.     public void setMessaggioWarning(String messaggioWarning) {
  49.         this.messaggioWarning = messaggioWarning;
  50.     }
  51.     public Exception getException() {
  52.         return this.exception;
  53.     }
  54.     public void setException(Exception exception) {
  55.         this.exception = exception;
  56.     }

  57. }