/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2008 - 2009, Geomatys * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. */ package org.geotoolkit.wps.xml.v100; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ResponseDocumentType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ResponseDocumentType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Output" type="{http://www.opengis.net/wps/1.0.0}DocumentOutputDefinitionType" maxOccurs="unbounded"/> * </sequence> * <attribute name="storeExecuteResponse" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="lineage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * </restriction> * </complexContent> * </complexType> * </pre> * * * @module */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ResponseDocumentType", propOrder = { "output" }) public class ResponseDocumentType { @XmlElement(name = "Output", required = true) protected List<DocumentOutputDefinitionType> output; @XmlAttribute protected Boolean storeExecuteResponse; @XmlAttribute protected Boolean lineage; @XmlAttribute protected Boolean status; public ResponseDocumentType() { } public ResponseDocumentType(Boolean storeExecuteResponse, Boolean lineage, Boolean status) { this.lineage = lineage; this.status = status; this.storeExecuteResponse = storeExecuteResponse; } public ResponseDocumentType(Boolean storeExecuteResponse, Boolean lineage, Boolean status, List<DocumentOutputDefinitionType> output) { this.lineage = lineage; this.status = status; this.storeExecuteResponse = storeExecuteResponse; this.output = output; } /** * Gets the value of the output property. * * @return Objects of the following type(s) are allowed in the list * {@link DocumentOutputDefinitionType } * * */ public List<DocumentOutputDefinitionType> getOutput() { if (output == null) { output = new ArrayList<>(); } return this.output; } public void setOutput(List<DocumentOutputDefinitionType> output) { this.output = output; } /** * Gets the value of the storeExecuteResponse property. * * @return * possible object is * {@link Boolean } * */ public boolean isStoreExecuteResponse() { if (storeExecuteResponse == null) { return false; } else { return storeExecuteResponse; } } /** * Sets the value of the storeExecuteResponse property. * * @param value * allowed object is * {@link Boolean } * */ public void setStoreExecuteResponse(final Boolean value) { this.storeExecuteResponse = value; } /** * Gets the value of the lineage property. * * @return * possible object is * {@link Boolean } * */ public boolean isLineage() { if (lineage == null) { return false; } else { return lineage; } } /** * Sets the value of the lineage property. * * @param value * allowed object is * {@link Boolean } * */ public void setLineage(final Boolean value) { this.lineage = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link Boolean } * */ public boolean isStatus() { if (status == null) { return false; } else { return status; } } /** * Sets the value of the status property. * * @param value * allowed object is * {@link Boolean } * */ public void setStatus(final Boolean value) { this.status = value; } }