001package io.ebeaninternal.dbmigration.migration;
002
003import javax.xml.bind.annotation.XmlAccessType;
004import javax.xml.bind.annotation.XmlAccessorType;
005import javax.xml.bind.annotation.XmlAttribute;
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 * &lt;complexType>
017 *   &lt;complexContent>
018 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
019 *       &lt;attribute name="columnName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
020 *       &lt;attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
021 *       &lt;attribute name="withHistory" type="{http://www.w3.org/2001/XMLSchema}boolean" />
022 *     &lt;/restriction>
023 *   &lt;/complexContent>
024 * &lt;/complexType>
025 * </pre>
026 */
027@XmlAccessorType(XmlAccessType.FIELD)
028@XmlType(name = "")
029@XmlRootElement(name = "dropColumn")
030public class DropColumn {
031
032  @XmlAttribute(name = "columnName", required = true)
033  protected String columnName;
034  @XmlAttribute(name = "tableName", required = true)
035  protected String tableName;
036  @XmlAttribute(name = "withHistory")
037  protected Boolean withHistory;
038
039  /**
040   * Gets the value of the columnName property.
041   *
042   * @return possible object is
043   * {@link String }
044   */
045  public String getColumnName() {
046    return columnName;
047  }
048
049  /**
050   * Sets the value of the columnName property.
051   *
052   * @param value allowed object is
053   *              {@link String }
054   */
055  public void setColumnName(String value) {
056    this.columnName = value;
057  }
058
059  /**
060   * Gets the value of the tableName property.
061   *
062   * @return possible object is
063   * {@link String }
064   */
065  public String getTableName() {
066    return tableName;
067  }
068
069  /**
070   * Sets the value of the tableName property.
071   *
072   * @param value allowed object is
073   *              {@link String }
074   */
075  public void setTableName(String value) {
076    this.tableName = value;
077  }
078
079  /**
080   * Gets the value of the withHistory property.
081   *
082   * @return possible object is
083   * {@link Boolean }
084   */
085  public Boolean isWithHistory() {
086    return withHistory;
087  }
088
089  /**
090   * Sets the value of the withHistory property.
091   *
092   * @param value allowed object is
093   *              {@link Boolean }
094   */
095  public void setWithHistory(Boolean value) {
096    this.withHistory = value;
097  }
098
099}