public class DocumentationResponse extends Object
Java class for Response complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Response"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="header" type="{http://restsql.org/schema}Header" maxOccurs="unbounded" minOccurs="0"/> <element name="body" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}int" default="200" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
DocumentationResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Gets the value of the body property.
|
List<DocumentationHeader> |
getHeader()
Gets the value of the header property.
|
int |
getStatus()
Gets the value of the status property.
|
void |
setBody(String value)
Sets the value of the body property.
|
void |
setStatus(Integer value)
Sets the value of the status property.
|
public List<DocumentationHeader> getHeader()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the header property.
For example, to add a new item, do as follows:
getHeader().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentationHeader
public String getBody()
String
public void setBody(String value)
value
- allowed object is
String
public int getStatus()
Integer
Copyright © 2011-2018 restSQL Project Contributors