All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jaxdb.ddlx_0_4.Triggers Maven / Gradle / Ivy

Go to download

SQLx is a vendor-agnostic, XML-based SQL data definition standard that offers the power of XML validation for your static SQL data. The SQLx framework utilizes a strongly-typed DDLx file to generate a XML Schema document that translates DDLx constructs into the XSD language. With the SQLx XSLT, the SQLx tool leverages the power of XML Schema Validation and provides a cohesive structured model to define SQL data (that conforms to your SQL schema, defined in a DDLx file).

There is a newer version: 0.6.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2019.07.22 at 07:16:31 AM UTC 
//


package org.jaxdb.ddlx_0_4;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for triggers complex type. * *

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

 * <complexType name="triggers">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence maxOccurs="unbounded">
 *         <element name="trigger">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="time" use="required">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *                       <enumeration value="BEFORE"/>
 *                       <enumeration value="AFTER"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="actions" use="required">
 *                   <simpleType>
 *                     <list>
 *                       <simpleType>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *                           <enumeration value="INSERT"/>
 *                           <enumeration value="UPDATE"/>
 *                           <enumeration value="DELETE"/>
 *                         </restriction>
 *                       </simpleType>
 *                     </list>
 *                   </simpleType>
 *                 </attribute>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "triggers", propOrder = { "trigger" }) public class Triggers { @XmlElement(required = true) protected List trigger; /** * Gets the value of the trigger 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 trigger property. * *

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

     *    getTrigger().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Triggers.Trigger } * * */ public List getTrigger() { if (trigger == null) { trigger = new ArrayList(); } return this.trigger; } /** *

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">
     *       <attribute name="time" use="required">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     *             <enumeration value="BEFORE"/>
     *             <enumeration value="AFTER"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="actions" use="required">
     *         <simpleType>
     *           <list>
     *             <simpleType>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     *                 <enumeration value="INSERT"/>
     *                 <enumeration value="UPDATE"/>
     *                 <enumeration value="DELETE"/>
     *               </restriction>
     *             </simpleType>
     *           </list>
     *         </simpleType>
     *       </attribute>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) public static class Trigger { @XmlValue protected String content; @XmlAttribute(name = "time", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String time; @XmlAttribute(name = "actions", required = true) protected List actions; /** * Gets the value of the content property. * * @return * possible object is * {@link String } * */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link String } * */ public void setContent(String value) { this.content = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link String } * */ public String getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link String } * */ public void setTime(String value) { this.time = value; } /** * Gets the value of the actions 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 actions property. * *

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

         *    getActions().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getActions() { if (actions == null) { actions = new ArrayList(); } return this.actions; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy