EsitoPresenzaToken.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.pdd.core.token;

  21. /**
  22.  * Esito di un processo di ricerca token.
  23.  *
  24.  * @author Andrea Poli (apoli@link.it)
  25.  * @author $Author$
  26.  * @version $Rev$, $Date$
  27.  */
  28. public abstract class EsitoPresenzaToken extends EsitoToken implements java.io.Serializable {

  29.    
  30.     /**
  31.      *
  32.      */
  33.     private static final long serialVersionUID = 1L;

  34.     private boolean presente;
  35.    
  36.     private String headerHttp;
  37.    
  38.     private String propertyUrl;
  39.    
  40.     private String propertyFormBased;
  41.        
  42.    
  43.     public boolean isPresente() {
  44.         return this.presente;
  45.     }

  46.     public void setPresente(boolean presente) {
  47.         this.presente = presente;
  48.     }

  49.     public String getHeaderHttp() {
  50.         return this.headerHttp;
  51.     }

  52.     public void setHeaderHttp(String headerHttp) {
  53.         this.headerHttp = headerHttp;
  54.     }

  55.     public String getPropertyUrl() {
  56.         return this.propertyUrl;
  57.     }
  58.    
  59.     public void setPropertyUrl(String propertyUrl) {
  60.         this.propertyUrl = propertyUrl;
  61.     }

  62.     public String getPropertyFormBased() {
  63.         return this.propertyFormBased;
  64.     }

  65.     public void setPropertyFormBased(String propertyFormBased) {
  66.         this.propertyFormBased = propertyFormBased;
  67.     }




  68.    
  69.    
  70.     @Override
  71.     public String toString(){
  72.         StringBuilder bf = new StringBuilder();
  73.        
  74.         bf.append("token presente: ");
  75.         bf.append(this.presente);
  76.        
  77.         bf.append(super.toString());
  78.        
  79.         return bf.toString();
  80.     }
  81. }