public class MetaData extends Object
Java class for MetaData complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetaData">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="database" type="{http://restsql.org/schema}Database"/>
<element name="table" type="{http://restsql.org/schema}Table" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Database |
database |
protected List<Table> |
table |
| Constructor and Description |
|---|
MetaData() |
| Modifier and Type | Method and Description |
|---|---|
Database |
getDatabase()
Gets the value of the database property.
|
List<Table> |
getTable()
Gets the value of the table property.
|
void |
setDatabase(Database value)
Sets the value of the database property.
|
public Database getDatabase()
Databasepublic void setDatabase(Database value)
value - allowed object is
Databasepublic List<Table> getTable()
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 table property.
For example, to add a new item, do as follows:
getTable().add(newItem);
Objects of the following type(s) are allowed in the list
Table
Copyright © 2011-2018 restSQL Project Contributors