public class SqlResourceDefinition extends Object
Java class for SqlResource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SqlResource">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="query" type="{http://restsql.org/schema}Query"/>
<element name="metadata" type="{http://restsql.org/schema}MetaData"/>
<element name="validatedAttribute" type="{http://restsql.org/schema}ValidatedAttribute" maxOccurs="unbounded" minOccurs="0"/>
<element name="http" type="{http://restsql.org/schema}HttpConfig" minOccurs="0"/>
<element name="documentation" type="{http://restsql.org/schema}Documentation" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Documentation |
documentation |
protected HttpConfig |
http |
protected MetaData |
metadata |
protected Query |
query |
protected List<ValidatedAttribute> |
validatedAttribute |
| Constructor and Description |
|---|
SqlResourceDefinition() |
| Modifier and Type | Method and Description |
|---|---|
Documentation |
getDocumentation()
Gets the value of the documentation property.
|
HttpConfig |
getHttp()
Gets the value of the http property.
|
MetaData |
getMetadata()
Gets the value of the metadata property.
|
Query |
getQuery()
Gets the value of the query property.
|
List<ValidatedAttribute> |
getValidatedAttribute()
Gets the value of the validatedAttribute property.
|
void |
setDocumentation(Documentation value)
Sets the value of the documentation property.
|
void |
setHttp(HttpConfig value)
Sets the value of the http property.
|
void |
setMetadata(MetaData value)
Sets the value of the metadata property.
|
void |
setQuery(Query value)
Sets the value of the query property.
|
protected Query query
protected MetaData metadata
protected List<ValidatedAttribute> validatedAttribute
protected HttpConfig http
protected Documentation documentation
public Query getQuery()
Querypublic void setQuery(Query value)
value - allowed object is
Querypublic MetaData getMetadata()
MetaDatapublic void setMetadata(MetaData value)
value - allowed object is
MetaDatapublic List<ValidatedAttribute> getValidatedAttribute()
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 validatedAttribute property.
For example, to add a new item, do as follows:
getValidatedAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
ValidatedAttribute
public HttpConfig getHttp()
HttpConfigpublic void setHttp(HttpConfig value)
value - allowed object is
HttpConfigpublic Documentation getDocumentation()
Documentationpublic void setDocumentation(Documentation value)
value - allowed object is
DocumentationCopyright © 2011-2018 restSQL Project Contributors