io.ebeaninternal.dbmigration.migration.Sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean-ddlgen Show documentation
Show all versions of ebean-ddlgen Show documentation
DDL and DB Migration generation
package io.ebeaninternal.dbmigration.migration;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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 ref="{http://ebean-orm.github.io/xml/ns/dbmigration}apply"/>
* <element ref="{http://ebean-orm.github.io/xml/ns/dbmigration}rollback"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"apply",
"rollback"
})
@XmlRootElement(name = "sql")
public class Sql {
@XmlElement(required = true)
protected Apply apply;
@XmlElement(required = true)
protected Rollback rollback;
/**
* Gets the value of the apply property.
*
* @return possible object is
* {@link Apply }
*/
public Apply getApply() {
return apply;
}
/**
* Sets the value of the apply property.
*
* @param value allowed object is
* {@link Apply }
*/
public void setApply(Apply value) {
this.apply = value;
}
/**
* Gets the value of the rollback property.
*
* @return possible object is
* {@link Rollback }
*/
public Rollback getRollback() {
return rollback;
}
/**
* Sets the value of the rollback property.
*
* @param value allowed object is
* {@link Rollback }
*/
public void setRollback(Rollback value) {
this.rollback = value;
}
}