Disable syslog in heat-translator for functest integration
[parser.git] / verigraph / src / main / java / it / polito / nffg / neo4j / jaxb / HttpMessage.java
1 /*******************************************************************************
2  * Copyright (c) 2017 Politecnico di Torino and others.
3  *
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Apache License, Version 2.0
6  * which accompanies this distribution, and is available at
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *******************************************************************************/
9
10 package it.polito.nffg.neo4j.jaxb;
11
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlRootElement;
16 import javax.xml.bind.annotation.XmlSchemaType;
17 import javax.xml.bind.annotation.XmlType;
18
19
20 /**
21  * <p>Java class for anonymous complex type.
22  * <p>The following schema fragment specifies the expected content contained within this class.
23  * <pre>
24  * &lt;complexType>
25  *   &lt;complexContent>
26  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27  *       &lt;sequence>
28  *         &lt;element name="statusCode" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
29  *         &lt;element name="reasonPhrase" type="{http://www.w3.org/2001/XMLSchema}string"/>
30  *         &lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
31  *       &lt;/sequence>
32  *     &lt;/restriction>
33  *   &lt;/complexContent>
34  * &lt;/complexType>
35  * </pre>
36  */
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "", propOrder = {
39     "statusCode",
40     "reasonPhrase",
41     "message"
42 })
43 @XmlRootElement(name = "httpMessage", namespace = "http://www.example.org/response/")
44 public class HttpMessage {
45
46     @XmlElement(namespace = "http://www.example.org/response/", defaultValue = "500")
47     @XmlSchemaType(name = "unsignedShort")
48     protected int statusCode;
49     @XmlElement(namespace = "http://www.example.org/response/", required = true, defaultValue = "Internal Server Error")
50     protected String reasonPhrase;
51     @XmlElement(namespace = "http://www.example.org/response/")
52     protected String message;
53
54     /**
55      * Gets the value of the statusCode property.
56      */
57     public int getStatusCode() {
58         return statusCode;
59     }
60
61     /**
62      * Sets the value of the statusCode property.
63      */
64     public void setStatusCode(int value) {
65         this.statusCode = value;
66     }
67
68     /**
69      * Gets the value of the reasonPhrase property.
70      * @return
71      *     possible object is
72      *     {@link String }
73      */
74     public String getReasonPhrase() {
75         return reasonPhrase;
76     }
77
78     /**
79      * Sets the value of the reasonPhrase property.
80      * @param value
81      *     allowed object is
82      *     {@link String }
83      */
84     public void setReasonPhrase(String value) {
85         this.reasonPhrase = value;
86     }
87
88     /**
89      * Gets the value of the message property.
90      * @return
91      *     possible object is
92      *     {@link String }
93      */
94     public String getMessage() {
95         return message;
96     }
97
98     /**
99      * Sets the value of the message property.
100      * @param value
101      *     allowed object is
102      *     {@link String }
103      */
104     public void setMessage(String value) {
105         this.message = value;
106     }
107
108 }