// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2020.10.24 at 09:39:16 AM CEST // package net.ivoa.xml.uws.v1; 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; /** * * A short summary of an error - a fuller representation of the * error may be retrieved from /{jobs}/{job-id}/error * * *
Java class for ErrorSummary complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="ErrorSummary"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * <attribute name="type" use="required" type="{http://www.ivoa.net/xml/UWS/v1.0}ErrorType" /> * <attribute name="hasDetail" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * </restriction> * </complexContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ErrorSummary", propOrder = { "message" }) public class ErrorSummary { @XmlElement(required = true) protected String message; @XmlAttribute(name = "type", required = true) protected ErrorType type; @XmlAttribute(name = "hasDetail", required = true) protected boolean hasDetail; /** * Gets the value of the message property. * * @return * possible object is * {@link String } * */ public String getMessage() { return message; } /** * Sets the value of the message property. * * @param value * allowed object is * {@link String } * */ public void setMessage(String value) { this.message = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link ErrorType } * */ public ErrorType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link ErrorType } * */ public void setType(ErrorType value) { this.type = value; } /** * Gets the value of the hasDetail property. * */ public boolean isHasDetail() { return hasDetail; } /** * Sets the value of the hasDetail property. * */ public void setHasDetail(boolean value) { this.hasDetail = value; } }