001package io.ebeaninternal.dbmigration.migration; 002 003import javax.xml.bind.annotation.XmlAccessType; 004import javax.xml.bind.annotation.XmlAccessorType; 005import javax.xml.bind.annotation.XmlElement; 006import javax.xml.bind.annotation.XmlRootElement; 007import javax.xml.bind.annotation.XmlType; 008 009 010/** 011 * <p>Java class for anonymous complex type. 012 * 013 * <p>The following schema fragment specifies the expected content contained within this class. 014 * 015 * <pre> 016 * <complexType> 017 * <complexContent> 018 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 019 * <sequence> 020 * <element ref="{http://ebean-orm.github.io/xml/ns/dbmigration}apply"/> 021 * <element ref="{http://ebean-orm.github.io/xml/ns/dbmigration}rollback"/> 022 * </sequence> 023 * </restriction> 024 * </complexContent> 025 * </complexType> 026 * </pre> 027 */ 028@XmlAccessorType(XmlAccessType.FIELD) 029@XmlType(name = "", propOrder = { 030 "apply", 031 "rollback" 032}) 033@XmlRootElement(name = "sql") 034public class Sql { 035 036 @XmlElement(required = true) 037 protected Apply apply; 038 @XmlElement(required = true) 039 protected Rollback rollback; 040 041 /** 042 * Gets the value of the apply property. 043 * 044 * @return possible object is 045 * {@link Apply } 046 */ 047 public Apply getApply() { 048 return apply; 049 } 050 051 /** 052 * Sets the value of the apply property. 053 * 054 * @param value allowed object is 055 * {@link Apply } 056 */ 057 public void setApply(Apply value) { 058 this.apply = value; 059 } 060 061 /** 062 * Gets the value of the rollback property. 063 * 064 * @return possible object is 065 * {@link Rollback } 066 */ 067 public Rollback getRollback() { 068 return rollback; 069 } 070 071 /** 072 * Sets the value of the rollback property. 073 * 074 * @param value allowed object is 075 * {@link Rollback } 076 */ 077 public void setRollback(Rollback value) { 078 this.rollback = value; 079 } 080 081}