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="oldName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
020 *       &lt;attribute name="newName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
021 *     &lt;/restriction>
022 *   &lt;/complexContent>
023 * &lt;/complexType>
024 * </pre>
025 */
026@XmlAccessorType(XmlAccessType.FIELD)
027@XmlType(name = "")
028@XmlRootElement(name = "renameTable")
029public class RenameTable {
030
031  @XmlAttribute(name = "oldName", required = true)
032  protected String oldName;
033  @XmlAttribute(name = "newName", required = true)
034  protected String newName;
035
036  /**
037   * Gets the value of the oldName property.
038   *
039   * @return possible object is
040   * {@link String }
041   */
042  public String getOldName() {
043    return oldName;
044  }
045
046  /**
047   * Sets the value of the oldName property.
048   *
049   * @param value allowed object is
050   *              {@link String }
051   */
052  public void setOldName(String value) {
053    this.oldName = value;
054  }
055
056  /**
057   * Gets the value of the newName property.
058   *
059   * @return possible object is
060   * {@link String }
061   */
062  public String getNewName() {
063    return newName;
064  }
065
066  /**
067   * Sets the value of the newName property.
068   *
069   * @param value allowed object is
070   *              {@link String }
071   */
072  public void setNewName(String value) {
073    this.newName = value;
074  }
075
076}