IdentifierGroupSearch.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.utils.logger.beans.context.core.search;

  21. import java.io.Serializable;

  22. import org.openspcoop2.utils.logger.beans.IdentifierSearch;

  23. /**
  24.  * IdentifierGroupSearch
  25.  *
  26.  * @author Poli Andrea (apoli@link.it)
  27.  * @author $Author$
  28.  * @version $Rev$, $Date$
  29.  */
  30. public class IdentifierGroupSearch implements Serializable {

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

  35.     private boolean and = true;
  36.    
  37.     private IdentifierSearch clusterId;
  38.    
  39.     private IdentifierSearch requestIdentifier;
  40.    
  41.     private boolean onlyDuplicateRequest;
  42.    
  43.     private IdentifierSearch requestCorrelationIdentifier;
  44.    
  45.     private IdentifierSearch responseIdentifier;
  46.    
  47.     private boolean onlyDuplicateResponse;
  48.    
  49.     private IdentifierSearch responseCorrelationIdentifier;
  50.    
  51.     public boolean isAnd() {
  52.         return this.and;
  53.     }

  54.     public void setAnd(boolean and) {
  55.         this.and = and;
  56.     }
  57.    
  58.     public IdentifierSearch getClusterId() {
  59.         return this.clusterId;
  60.     }

  61.     public void setClusterId(IdentifierSearch clusterId) {
  62.         this.clusterId = clusterId;
  63.     }

  64.     public IdentifierSearch getRequestIdentifier() {
  65.         return this.requestIdentifier;
  66.     }

  67.     public void setRequestIdentifier(IdentifierSearch requestIdentifier) {
  68.         this.requestIdentifier = requestIdentifier;
  69.     }

  70.     public boolean isOnlyDuplicateRequest() {
  71.         return this.onlyDuplicateRequest;
  72.     }

  73.     public void setOnlyDuplicateRequest(boolean onlyDuplicateRequest) {
  74.         this.onlyDuplicateRequest = onlyDuplicateRequest;
  75.     }

  76.     public IdentifierSearch getRequestCorrelationIdentifier() {
  77.         return this.requestCorrelationIdentifier;
  78.     }

  79.     public void setRequestCorrelationIdentifier(IdentifierSearch requestCorrelationIdentifier) {
  80.         this.requestCorrelationIdentifier = requestCorrelationIdentifier;
  81.     }

  82.     public IdentifierSearch getResponseIdentifier() {
  83.         return this.responseIdentifier;
  84.     }

  85.     public void setResponseIdentifier(IdentifierSearch responseIdentifier) {
  86.         this.responseIdentifier = responseIdentifier;
  87.     }

  88.     public boolean isOnlyDuplicateResponse() {
  89.         return this.onlyDuplicateResponse;
  90.     }

  91.     public void setOnlyDuplicateResponse(boolean onlyDuplicateResponse) {
  92.         this.onlyDuplicateResponse = onlyDuplicateResponse;
  93.     }

  94.     public IdentifierSearch getResponseCorrelationIdentifier() {
  95.         return this.responseCorrelationIdentifier;
  96.     }

  97.     public void setResponseCorrelationIdentifier(IdentifierSearch responseCorrelationIdentifier) {
  98.         this.responseCorrelationIdentifier = responseCorrelationIdentifier;
  99.     }
  100. }