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>
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.
|
public Query getQuery()
Query
public void setQuery(Query value)
value
- allowed object is
Query
public MetaData getMetadata()
MetaData
public void setMetadata(MetaData value)
value
- allowed object is
MetaData
public 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()
HttpConfig
public void setHttp(HttpConfig value)
value
- allowed object is
HttpConfig
public Documentation getDocumentation()
Documentation
public void setDocumentation(Documentation value)
value
- allowed object is
Documentation
Copyright © 2011-2018 restSQL Project Contributors