package io.ebeaninternal.extraddl.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;


Java class for anonymous complex type.

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

<complexType>
  <simpleContent>
    <extension base="<http://www.w3.org/2001/XMLSchema>string">
      <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="platforms" type="{http://www.w3.org/2001/XMLSchema}string" />
    </extension>
  </simpleContent>
</complexType>
/** * <p>Java class for anonymous complex type. * <p> * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;complexType> * &lt;simpleContent> * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string"> * &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;attribute name="platforms" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;/extension> * &lt;/simpleContent> * &lt;/complexType> * </pre> */
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) @XmlRootElement(name = "ddl-script") public class DdlScript { @XmlValue protected String value; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "platforms") protected String platforms; @XmlAttribute(name = "drop") protected boolean drop; @XmlAttribute(name = "init") protected boolean init;
Gets the value of the value property.
Returns:possible object is String
/** * Gets the value of the value property. * * @return possible object is * {@link String } */
public String getValue() { return value; }
Sets the value of the value property.
Params:
  • value – allowed object is String
/** * Sets the value of the value property. * * @param value allowed object is * {@link String } */
public void setValue(String value) { this.value = value; }
Gets the value of the name property.
Returns:possible object is String
/** * Gets the value of the name property. * * @return possible object is * {@link String } */
public String getName() { return name; }
Sets the value of the name property.
Params:
  • value – allowed object is String
/** * Sets the value of the name property. * * @param value allowed object is * {@link String } */
public void setName(String value) { this.name = value; }
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; }
Return if this a drop script.
/** * Return if this a drop script. */
public boolean isDrop() { return drop; }
Sets that this is a drop script.
/** * Sets that this is a drop script. */
public void setDrop(boolean drop) { this.drop = drop; }
Return if this a init script.
/** * Return if this a init script. */
public boolean isInit() { return init; }
Sets that this is a init script.
/** * Sets that this is a init script. */
public void setInit(boolean init) { this.init = init; } }