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

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

public class DbTable
extends DbAbstractTable

Java class for DbTable complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="DbTable">
   <complexContent>
     <extension base="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbAbstractTable">
       <sequence>
         <element name="PrimaryKey" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbPrimaryKey" minOccurs="0"/>
         <element name="Field" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbField" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ForeignKey" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbForeignKey" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Index" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbIndex" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Data" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbDataTable" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  DbDataTable data
           
protected  List<DbField> fields
           
protected  List<DbForeignKey> foreignKeys
           
protected  List<DbIndex> indexes
           
protected  DbPrimaryKey primaryKey
           
 
Fields inherited from class org.riverock.dbrevision.annotation.schema.db.DbAbstractTable
name, remark, schema, type
 
Constructor Summary
DbTable()
           
 
Method Summary
 DbDataTable getData()
          Gets the value of the data property.
 List<DbField> getFields()
          Gets the value of the fields property.
 List<DbForeignKey> getForeignKeys()
          Gets the value of the foreignKeys property.
 List<DbIndex> getIndexes()
          Gets the value of the indexes property.
 DbPrimaryKey getPrimaryKey()
          Gets the value of the primaryKey property.
 void setData(DbDataTable value)
          Sets the value of the data property.
 void setPrimaryKey(DbPrimaryKey value)
          Sets the value of the primaryKey property.
 
Methods inherited from class org.riverock.dbrevision.annotation.schema.db.DbAbstractTable
getName, getRemark, getSchema, getType, setName, setRemark, setSchema, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

primaryKey

protected DbPrimaryKey primaryKey

fields

protected List<DbField> fields

foreignKeys

protected List<DbForeignKey> foreignKeys

indexes

protected List<DbIndex> indexes

data

protected DbDataTable data
Constructor Detail

DbTable

public DbTable()
Method Detail

getPrimaryKey

public DbPrimaryKey getPrimaryKey()
Gets the value of the primaryKey property.

Returns:
possible object is DbPrimaryKey

setPrimaryKey

public void setPrimaryKey(DbPrimaryKey value)
Sets the value of the primaryKey property.

Parameters:
value - allowed object is DbPrimaryKey

getFields

public List<DbField> getFields()
Gets the value of the fields 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 fields property.

For example, to add a new item, do as follows:

    getFields().add(newItem);
 

Objects of the following type(s) are allowed in the list DbField


getForeignKeys

public List<DbForeignKey> getForeignKeys()
Gets the value of the foreignKeys 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 foreignKeys property.

For example, to add a new item, do as follows:

    getForeignKeys().add(newItem);
 

Objects of the following type(s) are allowed in the list DbForeignKey


getIndexes

public List<DbIndex> getIndexes()
Gets the value of the indexes 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 indexes property.

For example, to add a new item, do as follows:

    getIndexes().add(newItem);
 

Objects of the following type(s) are allowed in the list DbIndex


getData

public DbDataTable getData()
Gets the value of the data property.

Returns:
possible object is DbDataTable

setData

public void setData(DbDataTable value)
Sets the value of the data property.

Parameters:
value - allowed object is DbDataTable


Copyright © 2008 Riverock community. All Rights Reserved.