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;


Java class for ddl-script complex type.

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

<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>
/** * <p>Java class for ddl-script complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="ddl-script"> * &lt;complexContent> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;sequence> * &lt;element name="ddl" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> * &lt;/sequence> * &lt;attribute name="platforms" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;/restriction> * &lt;/complexContent> * &lt;/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.

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 ddl property.

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

   getDdl().add(newItem);

Objects of the following type(s) are allowed in the list String

/** * 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.
Returns:possible object is String
/** * 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.
Params:
  • value – allowed object is String
/** * Sets the value of the platforms property. * * @param value allowed object is * {@link String } */
public void setPlatforms(String value) { this.platforms = value; } }