Class ErrorResponse
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.ErrorResponse
-
public class ErrorResponse extends Object
Java class for ErrorResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ErrorResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="detail" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="requestID" type="{urn:oasis:names:tc:DSML:2:0:core}RequestID" /> <attribute name="type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="notAttempted"/> <enumeration value="couldNotConnect"/> <enumeration value="connectionClosed"/> <enumeration value="malformedRequest"/> <enumeration value="gatewayInternalError"/> <enumeration value="authenticationFailed"/> <enumeration value="unresolvableURI"/> <enumeration value="other"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ErrorResponse.Detail
Java class for anonymous complex type.static class
ErrorResponse.ErrorType
Java class for null.
-
Field Summary
Fields Modifier and Type Field Description protected ErrorResponse.Detail
detail
protected String
message
protected String
requestID
protected ErrorResponse.ErrorType
type
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorResponse.Detail
getDetail()
Gets the value of the detail property.String
getMessage()
Gets the value of the message property.String
getRequestID()
Gets the value of the requestID property.ErrorResponse.ErrorType
getType()
Gets the value of the type property.void
setDetail(ErrorResponse.Detail value)
Sets the value of the detail property.void
setMessage(String value)
Sets the value of the message property.void
setRequestID(String value)
Sets the value of the requestID property.void
setType(ErrorResponse.ErrorType value)
Sets the value of the type property.
-
-
-
Field Detail
-
message
protected String message
-
detail
protected ErrorResponse.Detail detail
-
requestID
protected String requestID
-
type
protected ErrorResponse.ErrorType type
-
-
Method Detail
-
getMessage
public String getMessage()
Gets the value of the message property.- Returns:
- possible object is
String
-
setMessage
public void setMessage(String value)
Sets the value of the message property.- Parameters:
value
- allowed object isString
-
getDetail
public ErrorResponse.Detail getDetail()
Gets the value of the detail property.- Returns:
- possible object is
ErrorResponse.Detail
-
setDetail
public void setDetail(ErrorResponse.Detail value)
Sets the value of the detail property.- Parameters:
value
- allowed object isErrorResponse.Detail
-
getRequestID
public String getRequestID()
Gets the value of the requestID property.- Returns:
- possible object is
String
-
setRequestID
public void setRequestID(String value)
Sets the value of the requestID property.- Parameters:
value
- allowed object isString
-
getType
public ErrorResponse.ErrorType getType()
Gets the value of the type property.- Returns:
- possible object is
ErrorResponse.ErrorType
-
setType
public void setType(ErrorResponse.ErrorType value)
Sets the value of the type property.- Parameters:
value
- allowed object isErrorResponse.ErrorType
-
-