org.riverock.dbrevision.annotation.schema.db
Class DbSchema

java.lang.Object
  extended by org.riverock.dbrevision.annotation.schema.db.DbSchema

public class DbSchema
extends Object

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

tables

protected List<DbTable> tables

views

protected List<DbView> views

sequences

protected List<DbSequence> sequences
Constructor Detail

DbSchema

public DbSchema()
Method Detail

getTables

public List<DbTable> getTables()
Gets the value of the tables property.

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


getViews

public List<DbView> getViews()
Gets the value of the views property.

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


getSequences

public List<DbSequence> getSequences()
Gets the value of the sequences property.

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



Copyright © 2008 Riverock community. All Rights Reserved.