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

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

public class Action
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="Type">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="CUSTOM_SQL"/>
               <enumeration value="CUSTOM_CLASS_ACTION"/>
               <enumeration value="CREATE_SEQUENCE"/>
               <enumeration value="CREATE_TABLE"/>
               <enumeration value="ADD_TABLE_COLUMN"/>
               <enumeration value="DROP_TABLE_COLUMN"/>
               <enumeration value="ADD_PRIMARY_KEY"/>
               <enumeration value="ADD_FOREIGN_KEY"/>
               <enumeration value="DROP_PRIMARY_KEY"/>
               <enumeration value="DROP_FOREIGN_KEY"/>
               <enumeration value="DROP_TABLE"/>
               <enumeration value="DROP_SEQUENCE"/>
               <enumeration value="DELETE_BEFORE_FK"/>
               <enumeration value="COPY_COLUMN"/>
               <enumeration value="CLONE_COLUMN"/>
               <enumeration value="COPY_TABLE"/>
             </restriction>
           </simpleType>
         </element>
         <element ref="{}ActionParameter" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ActionParameter> actionParameters
           
protected  String type
           
 
Constructor Summary
Action()
           
 
Method Summary
 List<ActionParameter> getActionParameters()
          Gets the value of the actionParameters property.
 String getType()
          Gets the value of the type property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected String type

actionParameters

protected List<ActionParameter> actionParameters
Constructor Detail

Action

public Action()
Method Detail

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getActionParameters

public List<ActionParameter> getActionParameters()
Gets the value of the actionParameters 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 actionParameters property.

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

    getActionParameters().add(newItem);
 

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



Copyright © 2008 Riverock community. All Rights Reserved.