1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2007.08.06 at 08:17:38 PM MSD 6 // 7 8 9 package org.riverock.dbrevision.annotation.schema.db; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlElement; 16 import javax.xml.bind.annotation.XmlRootElement; 17 import javax.xml.bind.annotation.XmlType; 18 19 20 /** 21 * <p>Java class for anonymous complex type. 22 * 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 25 * <pre> 26 * <complexType> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element name="Type"> 31 * <simpleType> 32 * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> 33 * <enumeration value="CUSTOM_SQL"/> 34 * <enumeration value="CUSTOM_CLASS_ACTION"/> 35 * <enumeration value="CREATE_SEQUENCE"/> 36 * <enumeration value="CREATE_TABLE"/> 37 * <enumeration value="ADD_TABLE_COLUMN"/> 38 * <enumeration value="DROP_TABLE_COLUMN"/> 39 * <enumeration value="ADD_PRIMARY_KEY"/> 40 * <enumeration value="ADD_FOREIGN_KEY"/> 41 * <enumeration value="DROP_PRIMARY_KEY"/> 42 * <enumeration value="DROP_FOREIGN_KEY"/> 43 * <enumeration value="DROP_TABLE"/> 44 * <enumeration value="DROP_SEQUENCE"/> 45 * <enumeration value="DELETE_BEFORE_FK"/> 46 * <enumeration value="COPY_COLUMN"/> 47 * <enumeration value="CLONE_COLUMN"/> 48 * <enumeration value="COPY_TABLE"/> 49 * </restriction> 50 * </simpleType> 51 * </element> 52 * <element ref="{}ActionParameter" maxOccurs="unbounded" minOccurs="0"/> 53 * </sequence> 54 * </restriction> 55 * </complexContent> 56 * </complexType> 57 * </pre> 58 * 59 * 60 */ 61 @XmlAccessorType(XmlAccessType.FIELD) 62 @XmlType(name = "", propOrder = { 63 "type", 64 "actionParameters" 65 }) 66 @XmlRootElement(name = "Action", namespace = "") 67 public class Action { 68 69 @XmlElement(name = "Type", required = true) 70 protected String type; 71 @XmlElement(name = "ActionParameter") 72 protected List<ActionParameter> actionParameters; 73 74 /** 75 * Gets the value of the type property. 76 * 77 * @return 78 * possible object is 79 * {@link String } 80 * 81 */ 82 public String getType() { 83 return type; 84 } 85 86 /** 87 * Sets the value of the type property. 88 * 89 * @param value 90 * allowed object is 91 * {@link String } 92 * 93 */ 94 public void setType(String value) { 95 this.type = value; 96 } 97 98 /** 99 * Gets the value of the actionParameters property. 100 * 101 * <p> 102 * This accessor method returns a reference to the live list, 103 * not a snapshot. Therefore any modification you make to the 104 * returned list will be present inside the JAXB object. 105 * This is why there is not a <CODE>set</CODE> method for the actionParameters property. 106 * 107 * <p> 108 * For example, to add a new item, do as follows: 109 * <pre> 110 * getActionParameters().add(newItem); 111 * </pre> 112 * 113 * 114 * <p> 115 * Objects of the following type(s) are allowed in the list 116 * {@link ActionParameter } 117 * 118 * 119 */ 120 public List<ActionParameter> getActionParameters() { 121 if (actionParameters == null) { 122 actionParameters = new ArrayList<ActionParameter>(); 123 } 124 return this.actionParameters; 125 } 126 127 }