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

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

public class DbRevision
extends Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Module" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="Versions">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class DbRevision.Module
          Java class for anonymous complex type.
 
Field Summary
protected  List<DbRevision.Module> modules
           
 
Constructor Summary
DbRevision()
           
 
Method Summary
 List<DbRevision.Module> getModules()
          Gets the value of the modules property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modules

protected List<DbRevision.Module> modules
Constructor Detail

DbRevision

public DbRevision()
Method Detail

getModules

public List<DbRevision.Module> getModules()
Gets the value of the modules 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 modules property.

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

    getModules().add(newItem);
 

Objects of the following type(s) are allowed in the list DbRevision.Module



Copyright © 2008 Riverock community. All Rights Reserved.