|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.riverock.dbrevision.annotation.schema.db.DbAbstractTable
org.riverock.dbrevision.annotation.schema.db.DbTable
public class DbTable
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 |
|---|
protected DbPrimaryKey primaryKey
protected List<DbField> fields
protected List<DbForeignKey> foreignKeys
protected List<DbIndex> indexes
protected DbDataTable data
| Constructor Detail |
|---|
public DbTable()
| Method Detail |
|---|
public DbPrimaryKey getPrimaryKey()
DbPrimaryKeypublic void setPrimaryKey(DbPrimaryKey value)
value - allowed object is
DbPrimaryKeypublic List<DbField> getFields()
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
public List<DbForeignKey> getForeignKeys()
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
public List<DbIndex> getIndexes()
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
public DbDataTable getData()
DbDataTablepublic void setData(DbDataTable value)
value - allowed object is
DbDataTable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||