View Javadoc

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   * &lt;complexType>
27   *   &lt;complexContent>
28   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29   *       &lt;sequence>
30   *         &lt;element name="Type">
31   *           &lt;simpleType>
32   *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
33   *               &lt;enumeration value="CUSTOM_SQL"/>
34   *               &lt;enumeration value="CUSTOM_CLASS_ACTION"/>
35   *               &lt;enumeration value="CREATE_SEQUENCE"/>
36   *               &lt;enumeration value="CREATE_TABLE"/>
37   *               &lt;enumeration value="ADD_TABLE_COLUMN"/>
38   *               &lt;enumeration value="DROP_TABLE_COLUMN"/>
39   *               &lt;enumeration value="ADD_PRIMARY_KEY"/>
40   *               &lt;enumeration value="ADD_FOREIGN_KEY"/>
41   *               &lt;enumeration value="DROP_PRIMARY_KEY"/>
42   *               &lt;enumeration value="DROP_FOREIGN_KEY"/>
43   *               &lt;enumeration value="DROP_TABLE"/>
44   *               &lt;enumeration value="DROP_SEQUENCE"/>
45   *               &lt;enumeration value="DELETE_BEFORE_FK"/>
46   *               &lt;enumeration value="COPY_COLUMN"/>
47   *               &lt;enumeration value="CLONE_COLUMN"/>
48   *               &lt;enumeration value="COPY_TABLE"/>
49   *             &lt;/restriction>
50   *           &lt;/simpleType>
51   *         &lt;/element>
52   *         &lt;element ref="{}ActionParameter" maxOccurs="unbounded" minOccurs="0"/>
53   *       &lt;/sequence>
54   *     &lt;/restriction>
55   *   &lt;/complexContent>
56   * &lt;/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 }