|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.riverock.dbrevision.annotation.schema.db.DbSchema
public class DbSchema
Java class for DbSchema complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DbSchema">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Table" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbTable" maxOccurs="unbounded" minOccurs="0"/>
<element name="View" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbView" maxOccurs="unbounded" minOccurs="0"/>
<element name="Sequence" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbSequence" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<DbSequence> |
sequences
|
protected List<DbTable> |
tables
|
protected List<DbView> |
views
|
| Constructor Summary | |
|---|---|
DbSchema()
|
|
| Method Summary | |
|---|---|
List<DbSequence> |
getSequences()
Gets the value of the sequences property. |
List<DbTable> |
getTables()
Gets the value of the tables property. |
List<DbView> |
getViews()
Gets the value of the views property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<DbTable> tables
protected List<DbView> views
protected List<DbSequence> sequences
| Constructor Detail |
|---|
public DbSchema()
| Method Detail |
|---|
public List<DbTable> getTables()
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 tables property.
For example, to add a new item, do as follows:
getTables().add(newItem);
Objects of the following type(s) are allowed in the list
DbTable
public List<DbView> getViews()
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 views property.
For example, to add a new item, do as follows:
getViews().add(newItem);
Objects of the following type(s) are allowed in the list
DbView
public List<DbSequence> getSequences()
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 sequences property.
For example, to add a new item, do as follows:
getSequences().add(newItem);
Objects of the following type(s) are allowed in the list
DbSequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||