StatistichePdndTracing.java
- /*
- * GovWay - A customizable API Gateway
- * https://govway.org
- *
- * Copyright (c) 2005-2025 Link.it srl (https://link.it).
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3, as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
- package org.openspcoop2.core.statistiche;
- import javax.xml.bind.annotation.XmlAccessType;
- import javax.xml.bind.annotation.XmlAccessorType;
- import javax.xml.bind.annotation.XmlElement;
- import javax.xml.bind.annotation.XmlRootElement;
- import javax.xml.bind.annotation.XmlType;
- import org.openspcoop2.core.statistiche.constants.PdndMethods;
- import org.openspcoop2.core.statistiche.constants.PossibiliStatiPdnd;
- import org.openspcoop2.core.statistiche.constants.PossibiliStatiRichieste;
- import java.io.Serializable;
- /** <p>Java class for statistiche-pdnd-tracing complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType name="statistiche-pdnd-tracing">
- * <sequence>
- * <element name="data-tracciamento" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="1" maxOccurs="1"/>
- * <element name="data-registrazione" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0" maxOccurs="1"/>
- * <element name="pdd-codice" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/>
- * <element name="csv" type="{http://www.w3.org/2001/XMLSchema}hexBinary" minOccurs="0" maxOccurs="1"/>
- * <element name="method" type="{http://www.openspcoop2.org/core/statistiche}pdnd-methods" minOccurs="0" maxOccurs="1"/>
- * <element name="stato-pdnd" type="{http://www.openspcoop2.org/core/statistiche}possibili-stati-pdnd" minOccurs="1" maxOccurs="1" default="WAITING"/>
- * <element name="tentativi-pubblicazione" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="1" maxOccurs="1" default="0"/>
- * <element name="stato" type="{http://www.openspcoop2.org/core/statistiche}possibili-stati-richieste" minOccurs="0" maxOccurs="1"/>
- * <element name="tracing-id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/>
- * <element name="error-details" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/>
- * <element name="history" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1" maxOccurs="1"/>
- * </sequence>
- * </complexType>
- * </pre>
- *
- * @version $Rev$, $Date$
- *
- * @author Poli Andrea (poli@link.it)
- * @author Tommaso Burlon (tommaso.burlon@link.it)
- * @author $Author$
- * */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "statistiche-pdnd-tracing",
- propOrder = {
- "dataTracciamento",
- "dataRegistrazione",
- "dataPubblicazione",
- "pddCodice",
- "csv",
- "method",
- "statoPdnd",
- "tentativiPubblicazione",
- "stato",
- "tracingId",
- "errorDetails",
- "history"
- }
- )
- @XmlRootElement(name = "statistiche-pdnd-tracing")
- public class StatistichePdndTracing extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
- public StatistichePdndTracing() {
- super();
- }
- public java.util.Date getDataTracciamento() {
- return this.dataTracciamento;
- }
- public void setDataTracciamento(java.util.Date dataTracciamento) {
- this.dataTracciamento = dataTracciamento;
- }
- public java.util.Date getDataRegistrazione() {
- return this.dataRegistrazione;
- }
- public void setDataRegistrazione(java.util.Date dataRegistrazione) {
- this.dataRegistrazione = dataRegistrazione;
- }
- public java.util.Date getDataPubblicazione() {
- return this.dataPubblicazione;
- }
- public void setDataPubblicazione(java.util.Date dataPubblicazione) {
- this.dataPubblicazione = dataPubblicazione;
- }
- public java.lang.String getPddCodice() {
- return this.pddCodice;
- }
- public void setPddCodice(java.lang.String pddCodice) {
- this.pddCodice = pddCodice;
- }
- public byte[] getCsv() {
- return this.csv;
- }
- public void setCsv(byte[] csv) {
- this.csv = csv;
- }
- public void setMethodRawEnumValue(String value) {
- this.method = (PdndMethods) PdndMethods.toEnumConstantFromString(value);
- }
- public String getMethodRawEnumValue() {
- if(this.method == null){
- return null;
- }else{
- return this.method.toString();
- }
- }
- public org.openspcoop2.core.statistiche.constants.PdndMethods getMethod() {
- return this.method;
- }
- public void setMethod(org.openspcoop2.core.statistiche.constants.PdndMethods method) {
- this.method = method;
- }
- public void setStatoPdndRawEnumValue(String value) {
- this.statoPdnd = (PossibiliStatiPdnd) PossibiliStatiPdnd.toEnumConstantFromString(value);
- }
- public String getStatoPdndRawEnumValue() {
- if(this.statoPdnd == null){
- return null;
- }else{
- return this.statoPdnd.toString();
- }
- }
- public org.openspcoop2.core.statistiche.constants.PossibiliStatiPdnd getStatoPdnd() {
- return this.statoPdnd;
- }
- public void setStatoPdnd(org.openspcoop2.core.statistiche.constants.PossibiliStatiPdnd statoPdnd) {
- this.statoPdnd = statoPdnd;
- }
- public java.lang.Integer getTentativiPubblicazione() {
- return this.tentativiPubblicazione;
- }
- public void setTentativiPubblicazione(java.lang.Integer tentativiPubblicazione) {
- this.tentativiPubblicazione = tentativiPubblicazione;
- }
- public void setStatoRawEnumValue(String value) {
- this.stato = (PossibiliStatiRichieste) PossibiliStatiRichieste.toEnumConstantFromString(value);
- }
- public String getStatoRawEnumValue() {
- if(this.stato == null){
- return null;
- }else{
- return this.stato.toString();
- }
- }
- public org.openspcoop2.core.statistiche.constants.PossibiliStatiRichieste getStato() {
- return this.stato;
- }
- public void setStato(org.openspcoop2.core.statistiche.constants.PossibiliStatiRichieste stato) {
- this.stato = stato;
- }
- public java.lang.String getTracingId() {
- return this.tracingId;
- }
- public void setTracingId(java.lang.String tracingId) {
- this.tracingId = tracingId;
- }
- public java.lang.String getErrorDetails() {
- return this.errorDetails;
- }
- public void setErrorDetails(java.lang.String errorDetails) {
- this.errorDetails = errorDetails;
- }
- public int getHistory() {
- return this.history;
- }
- public void setHistory(int history) {
- this.history = history;
- }
- private static final long serialVersionUID = 1L;
- private static org.openspcoop2.core.statistiche.model.StatistichePdndTracingModel modelStaticInstance = null;
- private static synchronized void initModelStaticInstance(){
- if(org.openspcoop2.core.statistiche.StatistichePdndTracing.modelStaticInstance==null){
- org.openspcoop2.core.statistiche.StatistichePdndTracing.modelStaticInstance = new org.openspcoop2.core.statistiche.model.StatistichePdndTracingModel();
- }
- }
- public static org.openspcoop2.core.statistiche.model.StatistichePdndTracingModel model(){
- if(org.openspcoop2.core.statistiche.StatistichePdndTracing.modelStaticInstance==null){
- initModelStaticInstance();
- }
- return org.openspcoop2.core.statistiche.StatistichePdndTracing.modelStaticInstance;
- }
- @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
- @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
- @XmlElement(name="data-tracciamento",required=true,nillable=false,type=java.lang.String.class)
- protected java.util.Date dataTracciamento;
- @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
- @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
- @XmlElement(name="data-registrazione",required=false,nillable=false,type=java.lang.String.class)
- protected java.util.Date dataRegistrazione;
- @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
- @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
- @XmlElement(name="data-pubblicazione",required=false,nillable=false,type=java.lang.String.class)
- protected java.util.Date dataPubblicazione;
- @javax.xml.bind.annotation.XmlSchemaType(name="string")
- @XmlElement(name="pdd-codice",required=true,nillable=false)
- protected java.lang.String pddCodice;
- @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.HexBinaryAdapter.class)
- @javax.xml.bind.annotation.XmlSchemaType(name="hexBinary")
- @XmlElement(type=String.class, name="csv",required=false,nillable=false)
- protected byte[] csv;
- @javax.xml.bind.annotation.XmlTransient
- protected java.lang.String methodRawEnumValue;
- @XmlElement(name="method",required=false,nillable=false)
- protected PdndMethods method;
- @javax.xml.bind.annotation.XmlTransient
- protected java.lang.String statoPdndRawEnumValue;
- @XmlElement(name="stato-pdnd",required=true,nillable=false,defaultValue="WAITING")
- protected PossibiliStatiPdnd statoPdnd = (PossibiliStatiPdnd) PossibiliStatiPdnd.toEnumConstantFromString("WAITING");
- @javax.xml.bind.annotation.XmlSchemaType(name="integer")
- @XmlElement(name="tentativi-pubblicazione",required=true,nillable=false,defaultValue="0")
- protected java.lang.Integer tentativiPubblicazione = java.lang.Integer.valueOf("0");
- @javax.xml.bind.annotation.XmlTransient
- protected java.lang.String statoRawEnumValue;
- @XmlElement(name="stato",required=false,nillable=false)
- protected PossibiliStatiRichieste stato;
- @javax.xml.bind.annotation.XmlSchemaType(name="string")
- @XmlElement(name="tracing-id",required=false,nillable=false)
- protected java.lang.String tracingId;
- @javax.xml.bind.annotation.XmlSchemaType(name="string")
- @XmlElement(name="error-details",required=false,nillable=false)
- protected java.lang.String errorDetails;
- @javax.xml.bind.annotation.XmlSchemaType(name="int")
- @XmlElement(name="history",required=true,nillable=false)
- protected int history;
- }