mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
* Add partition meta mapping * Fix to allow schema prefix on select dynamic formula * Add partition meta mapping * Migration XSD Update * Fix to allow schema prefix on select dynamic formula * Bump ebean-migration to 11.8.1
93 lines
2.3 KiB
Java
93 lines
2.3 KiB
Java
package io.ebeaninternal.dbmigration.migration;
|
|
|
|
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 java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
* <p>Java class for ddl-script complex type.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
*
|
|
* <pre>
|
|
* <complexType name="ddl-script">
|
|
* <complexContent>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
* <sequence>
|
|
* <element name="ddl" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
|
|
* </sequence>
|
|
* <attribute name="platforms" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </pre>
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "ddl-script", propOrder = {
|
|
"ddl"
|
|
})
|
|
public class DdlScript {
|
|
|
|
@XmlElement(required = true)
|
|
protected List<String> ddl;
|
|
@XmlAttribute(name = "platforms")
|
|
protected String platforms;
|
|
|
|
/**
|
|
* Gets the value of the ddl property.
|
|
*
|
|
* <p>
|
|
* 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 <CODE>set</CODE> method for the ddl property.
|
|
*
|
|
* <p>
|
|
* For example, to add a new item, do as follows:
|
|
* <pre>
|
|
* getDdl().add(newItem);
|
|
* </pre>
|
|
*
|
|
*
|
|
* <p>
|
|
* Objects of the following type(s) are allowed in the list
|
|
* {@link String }
|
|
*/
|
|
public List<String> getDdl() {
|
|
if (ddl == null) {
|
|
ddl = new ArrayList<>();
|
|
}
|
|
return ddl;
|
|
}
|
|
|
|
public void setDdl(List<String> ddl) {
|
|
this.ddl = ddl;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the platforms property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getPlatforms() {
|
|
return platforms;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the platforms property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setPlatforms(String value) {
|
|
this.platforms = value;
|
|
}
|
|
|
|
}
|