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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


Java class for anonymous complex type.

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

<complexType>
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <attribute name="oldName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="newName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="dataType" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>
/** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType> * &lt;complexContent> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;attribute name="oldName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;attribute name="newName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;attribute name="dataType" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;/restriction> * &lt;/complexContent> * &lt;/complexType> * </pre> */
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "renameColumn") public class RenameColumn { @XmlAttribute(name = "oldName", required = true) protected String oldName; @XmlAttribute(name = "newName", required = true) protected String newName; @XmlAttribute(name = "tableName", required = true) protected String tableName; @XmlAttribute(name = "dataType") protected String dataType;
Gets the value of the oldName property.
Returns:possible object is String
/** * Gets the value of the oldName property. * * @return possible object is * {@link String } */
public String getOldName() { return oldName; }
Sets the value of the oldName property.
Params:
  • value – allowed object is String
/** * Sets the value of the oldName property. * * @param value allowed object is * {@link String } */
public void setOldName(String value) { this.oldName = value; }
Gets the value of the newName property.
Returns:possible object is String
/** * Gets the value of the newName property. * * @return possible object is * {@link String } */
public String getNewName() { return newName; }
Sets the value of the newName property.
Params:
  • value – allowed object is String
/** * Sets the value of the newName property. * * @param value allowed object is * {@link String } */
public void setNewName(String value) { this.newName = value; }
Gets the value of the tableName property.
Returns:possible object is String
/** * Gets the value of the tableName property. * * @return possible object is * {@link String } */
public String getTableName() { return tableName; }
Sets the value of the tableName property.
Params:
  • value – allowed object is String
/** * Sets the value of the tableName property. * * @param value allowed object is * {@link String } */
public void setTableName(String value) { this.tableName = value; }
Gets the value of the dataType property.
Returns:possible object is String
/** * Gets the value of the dataType property. * * @return possible object is * {@link String } */
public String getDataType() { return dataType; }
Sets the value of the dataType property.
Params:
  • value – allowed object is String
/** * Sets the value of the dataType property. * * @param value allowed object is * {@link String } */
public void setDataType(String value) { this.dataType = value; } }