/** * * geo-platform * Rich webgis framework * http://geo-platform.org * ==================================================================== * * Copyright (C) 2008-2017 geoSDI Group (CNR IMAA - Potenza - ITALY). * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. 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/ * * ==================================================================== * * Linking this library statically or dynamically with other modules is * making a combined work based on this library. Thus, the terms and * conditions of the GNU General Public License cover the whole combination. * * As a special exception, the copyright holders of this library give you permission * to link this library with independent modules to produce an executable, regardless * of the license terms of these independent modules, and to copy and distribute * the resulting executable under terms of your choice, provided that you also meet, * for each linked independent module, the terms and conditions of the license of * that module. An independent module is a module which is not derived from or * based on this library. If you modify this library, you may extend this exception * to your version of the library, but you are not obligated to do so. If you do not * wish to do so, delete this exception statement from your version. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.04.18 at 12:36:36 PM CEST // package org.geosdi.geoplatform.xml.csw.v202; import java.math.BigInteger; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy; import org.jvnet.jaxb2_commons.lang.ToString; import org.jvnet.jaxb2_commons.lang.ToStringStrategy; import org.jvnet.jaxb2_commons.locator.ObjectLocator; /** * * Reports the total number of catalogue items modified by a transaction * request (i.e, inserted, updated, deleted). If the client did not * specify a requestId, the server may assign one (a URI value). * * * <p>Java class for TransactionSummaryType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="TransactionSummaryType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="totalInserted" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> * <element name="totalUpdated" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> * <element name="totalDeleted" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> * </sequence> * <attribute name="requestId" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TransactionSummaryType", propOrder = { "totalInserted", "totalUpdated", "totalDeleted" }) public class TransactionSummaryType implements ToString { @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger totalInserted; @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger totalUpdated; @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger totalDeleted; @XmlAttribute(name = "requestId") @XmlSchemaType(name = "anyURI") protected String requestId; /** * Gets the value of the totalInserted property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getTotalInserted() { return totalInserted; } /** * Sets the value of the totalInserted property. * * @param value * allowed object is * {@link BigInteger } * */ public void setTotalInserted(BigInteger value) { this.totalInserted = value; } public boolean isSetTotalInserted() { return (this.totalInserted!= null); } /** * Gets the value of the totalUpdated property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getTotalUpdated() { return totalUpdated; } /** * Sets the value of the totalUpdated property. * * @param value * allowed object is * {@link BigInteger } * */ public void setTotalUpdated(BigInteger value) { this.totalUpdated = value; } public boolean isSetTotalUpdated() { return (this.totalUpdated!= null); } /** * Gets the value of the totalDeleted property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getTotalDeleted() { return totalDeleted; } /** * Sets the value of the totalDeleted property. * * @param value * allowed object is * {@link BigInteger } * */ public void setTotalDeleted(BigInteger value) { this.totalDeleted = value; } public boolean isSetTotalDeleted() { return (this.totalDeleted!= null); } /** * Gets the value of the requestId property. * * @return * possible object is * {@link String } * */ public String getRequestId() { return requestId; } /** * Sets the value of the requestId property. * * @param value * allowed object is * {@link String } * */ public void setRequestId(String value) { this.requestId = value; } public boolean isSetRequestId() { return (this.requestId!= null); } public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { BigInteger theTotalInserted; theTotalInserted = this.getTotalInserted(); strategy.appendField(locator, this, "totalInserted", buffer, theTotalInserted); } { BigInteger theTotalUpdated; theTotalUpdated = this.getTotalUpdated(); strategy.appendField(locator, this, "totalUpdated", buffer, theTotalUpdated); } { BigInteger theTotalDeleted; theTotalDeleted = this.getTotalDeleted(); strategy.appendField(locator, this, "totalDeleted", buffer, theTotalDeleted); } { String theRequestId; theRequestId = this.getRequestId(); strategy.appendField(locator, this, "requestId", buffer, theRequestId); } return buffer; } }