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

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

public class DbDataTable
extends Object

Java class for DbDataTable complex type.

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

 <complexType name="DbDataTable">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Record" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbDataRecord" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<DbDataRecord> records
           
 
Constructor Summary
DbDataTable()
           
 
Method Summary
 List<DbDataRecord> getRecords()
          Gets the value of the records property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

records

protected List<DbDataRecord> records
Constructor Detail

DbDataTable

public DbDataTable()
Method Detail

getRecords

public List<DbDataRecord> getRecords()
Gets the value of the records 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 records property.

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

    getRecords().add(newItem);
 

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



Copyright © 2008 Riverock community. All Rights Reserved.