001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2015.08.26 at 05:38:23 AM CEST 006// 007 008 009package org.opends.dsml.protocol; 010 011import javax.xml.bind.annotation.XmlAccessType; 012import javax.xml.bind.annotation.XmlAccessorType; 013import javax.xml.bind.annotation.XmlAnyElement; 014import javax.xml.bind.annotation.XmlAttribute; 015import javax.xml.bind.annotation.XmlElement; 016import javax.xml.bind.annotation.XmlType; 017 018 019/** 020 * <p>Java class for ErrorResponse complex type. 021 * 022 * <p>The following schema fragment specifies the expected content contained within this class. 023 * 024 * <pre> 025 * <complexType name="ErrorResponse"> 026 * <complexContent> 027 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 028 * <sequence> 029 * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 030 * <element name="detail" minOccurs="0"> 031 * <complexType> 032 * <complexContent> 033 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 034 * <sequence> 035 * <any/> 036 * </sequence> 037 * </restriction> 038 * </complexContent> 039 * </complexType> 040 * </element> 041 * </sequence> 042 * <attribute name="requestID" type="{urn:oasis:names:tc:DSML:2:0:core}RequestID" /> 043 * <attribute name="type"> 044 * <simpleType> 045 * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> 046 * <enumeration value="notAttempted"/> 047 * <enumeration value="couldNotConnect"/> 048 * <enumeration value="connectionClosed"/> 049 * <enumeration value="malformedRequest"/> 050 * <enumeration value="gatewayInternalError"/> 051 * <enumeration value="authenticationFailed"/> 052 * <enumeration value="unresolvableURI"/> 053 * <enumeration value="other"/> 054 * </restriction> 055 * </simpleType> 056 * </attribute> 057 * </restriction> 058 * </complexContent> 059 * </complexType> 060 * </pre> 061 * 062 * 063 */ 064@XmlAccessorType(XmlAccessType.FIELD) 065@XmlType(name = "ErrorResponse", namespace = "urn:oasis:names:tc:DSML:2:0:core", propOrder = { 066 "message", 067 "detail" 068}) 069public class ErrorResponse { 070 071 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core") 072 protected String message; 073 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core") 074 protected ErrorResponse.Detail detail; 075 @XmlAttribute(name = "requestID") 076 protected String requestID; 077 @XmlAttribute(name = "type") 078 protected String type; 079 080 /** 081 * Gets the value of the message property. 082 * 083 * @return 084 * possible object is 085 * {@link String } 086 * 087 */ 088 public String getMessage() { 089 return message; 090 } 091 092 /** 093 * Sets the value of the message property. 094 * 095 * @param value 096 * allowed object is 097 * {@link String } 098 * 099 */ 100 public void setMessage(String value) { 101 this.message = value; 102 } 103 104 /** 105 * Gets the value of the detail property. 106 * 107 * @return 108 * possible object is 109 * {@link ErrorResponse.Detail } 110 * 111 */ 112 public ErrorResponse.Detail getDetail() { 113 return detail; 114 } 115 116 /** 117 * Sets the value of the detail property. 118 * 119 * @param value 120 * allowed object is 121 * {@link ErrorResponse.Detail } 122 * 123 */ 124 public void setDetail(ErrorResponse.Detail value) { 125 this.detail = value; 126 } 127 128 /** 129 * Gets the value of the requestID property. 130 * 131 * @return 132 * possible object is 133 * {@link String } 134 * 135 */ 136 public String getRequestID() { 137 return requestID; 138 } 139 140 /** 141 * Sets the value of the requestID property. 142 * 143 * @param value 144 * allowed object is 145 * {@link String } 146 * 147 */ 148 public void setRequestID(String value) { 149 this.requestID = value; 150 } 151 152 /** 153 * Gets the value of the type property. 154 * 155 * @return 156 * possible object is 157 * {@link String } 158 * 159 */ 160 public String getType() { 161 return type; 162 } 163 164 /** 165 * Sets the value of the type property. 166 * 167 * @param value 168 * allowed object is 169 * {@link String } 170 * 171 */ 172 public void setType(String value) { 173 this.type = value; 174 } 175 176 177 /** 178 * <p>Java class for anonymous complex type. 179 * 180 * <p>The following schema fragment specifies the expected content contained within this class. 181 * 182 * <pre> 183 * <complexType> 184 * <complexContent> 185 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 186 * <sequence> 187 * <any/> 188 * </sequence> 189 * </restriction> 190 * </complexContent> 191 * </complexType> 192 * </pre> 193 * 194 * 195 */ 196 @XmlAccessorType(XmlAccessType.FIELD) 197 @XmlType(name = "", propOrder = { 198 "any" 199 }) 200 public static class Detail { 201 202 @XmlAnyElement(lax = true) 203 protected Object any; 204 205 /** 206 * Gets the value of the any property. 207 * 208 * @return 209 * possible object is 210 * {@link Object } 211 * 212 */ 213 public Object getAny() { 214 return any; 215 } 216 217 /** 218 * Sets the value of the any property. 219 * 220 * @param value 221 * allowed object is 222 * {@link Object } 223 * 224 */ 225 public void setAny(Object value) { 226 this.any = value; 227 } 228 229 } 230 231}