All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.dbmigration.migration.AlterColumn Maven / Gradle / Ivy

There is a newer version: 15.6.0
Show newest version
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * 

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="columnName" 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="withHistory" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="currentType" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="currentDefaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="notnull" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="currentNotnull" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="historyExclude" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="checkConstraint" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="checkConstraintName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="dropCheckConstraint" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="uniqueOneToOne" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="dropUnique" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="references" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="foreignKeyName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="foreignKeyIndex" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="foreignKeyOnDelete" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="foreignKeyOnUpdate" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="dropForeignKey" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="dropForeignKeyIndex" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "before", "after" }) @XmlRootElement(name = "alterColumn") public class AlterColumn { @XmlElement(required = false) protected List before; @XmlElement(required = false) protected List after; @XmlAttribute(name = "columnName", required = true) protected String columnName; @XmlAttribute(name = "tableName", required = true) protected String tableName; @XmlAttribute(name = "withHistory") protected Boolean withHistory; @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "currentType") protected String currentType; @XmlAttribute(name = "defaultValue") protected String defaultValue; @XmlAttribute(name = "currentDefaultValue") protected String currentDefaultValue; @XmlAttribute(name = "notnull") protected Boolean notnull; @XmlAttribute(name = "currentNotnull") protected Boolean currentNotnull; @XmlAttribute(name = "comment") protected String comment; @XmlAttribute(name = "historyExclude") protected Boolean historyExclude; @XmlAttribute(name = "checkConstraint") protected String checkConstraint; @XmlAttribute(name = "checkConstraintName") protected String checkConstraintName; @XmlAttribute(name = "dropCheckConstraint") protected String dropCheckConstraint; @XmlAttribute(name = "unique") protected String unique; @XmlAttribute(name = "uniqueOneToOne") protected String uniqueOneToOne; @XmlAttribute(name = "dropUnique") protected String dropUnique; @XmlAttribute(name = "references") protected String references; @XmlAttribute(name = "foreignKeyName") protected String foreignKeyName; @XmlAttribute(name = "foreignKeyIndex") protected String foreignKeyIndex; @XmlAttribute(name = "foreignKeyOnDelete") protected String foreignKeyOnDelete; @XmlAttribute(name = "foreignKeyOnUpdate") protected String foreignKeyOnUpdate; @XmlAttribute(name = "dropForeignKey") protected String dropForeignKey; @XmlAttribute(name = "dropForeignKeyIndex") protected String dropForeignKeyIndex; /** * Gets the value of the columnName property. * * @return possible object is * {@link String } */ public String getColumnName() { return columnName; } /** * Sets the value of the columnName property. * * @param value allowed object is * {@link String } */ public void setColumnName(String value) { this.columnName = value; } /** * 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. * * @param value allowed object is * {@link String } */ public void setTableName(String value) { this.tableName = value; } /** * Gets the value of the withHistory property. * * @return possible object is * {@link Boolean } */ public Boolean isWithHistory() { return withHistory; } /** * Sets the value of the withHistory property. * * @param value allowed object is * {@link Boolean } */ public void setWithHistory(Boolean value) { this.withHistory = value; } /** * Gets the value of the type property. * * @return possible object is * {@link String } */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value allowed object is * {@link String } */ public void setType(String value) { this.type = value; } /** * Gets the value of the currentType property. * * @return possible object is * {@link String } */ public String getCurrentType() { return currentType; } /** * Sets the value of the currentType property. * * @param value allowed object is * {@link String } */ public void setCurrentType(String value) { this.currentType = value; } /** * Gets the value of the defaultValue property. * * @return possible object is * {@link String } */ public String getDefaultValue() { return defaultValue; } /** * Sets the value of the defaultValue property. * * @param value allowed object is * {@link String } */ public void setDefaultValue(String value) { this.defaultValue = value; } /** * Gets the value of the currentDefaultValue property. * * @return possible object is * {@link String } */ public String getCurrentDefaultValue() { return currentDefaultValue; } /** * Sets the value of the currentDefaultValue property. * * @param value allowed object is * {@link String } */ public void setCurrentDefaultValue(String value) { this.currentDefaultValue = value; } /** * Gets the value of the notnull property. * * @return possible object is * {@link Boolean } */ public Boolean isNotnull() { return notnull; } /** * Sets the value of the notnull property. * * @param value allowed object is * {@link Boolean } */ public void setNotnull(Boolean value) { this.notnull = value; } /** * Gets the value of the currentNotnull property. * * @return possible object is * {@link Boolean } */ public Boolean isCurrentNotnull() { return currentNotnull; } /** * Sets the value of the currentNotnull property. * * @param value allowed object is * {@link Boolean } */ public void setCurrentNotnull(Boolean value) { this.currentNotnull = value; } /** * Gets the value of the comment property. * * @return possible object is * {@link String } */ public String getComment() { return comment; } /** * Sets the value of the comment property. * * @param value allowed object is * {@link String } */ public void setComment(String value) { this.comment = value; } /** * Gets the value of the historyExclude property. * * @return possible object is * {@link Boolean } */ public Boolean isHistoryExclude() { return historyExclude; } /** * Sets the value of the historyExclude property. * * @param value allowed object is * {@link Boolean } */ public void setHistoryExclude(Boolean value) { this.historyExclude = value; } /** * Gets the value of the checkConstraint property. * * @return possible object is * {@link String } */ public String getCheckConstraint() { return checkConstraint; } /** * Sets the value of the checkConstraint property. * * @param value allowed object is * {@link String } */ public void setCheckConstraint(String value) { this.checkConstraint = value; } /** * Gets the value of the checkConstraintName property. * * @return possible object is * {@link String } */ public String getCheckConstraintName() { return checkConstraintName; } /** * Sets the value of the checkConstraintName property. * * @param value allowed object is * {@link String } */ public void setCheckConstraintName(String value) { this.checkConstraintName = value; } /** * Gets the value of the dropCheckConstraint property. * * @return possible object is * {@link String } */ public String getDropCheckConstraint() { return dropCheckConstraint; } /** * Sets the value of the dropCheckConstraint property. * * @param value allowed object is * {@link String } */ public void setDropCheckConstraint(String value) { this.dropCheckConstraint = value; } /** * Gets the value of the unique property. * * @return possible object is * {@link String } */ public String getUnique() { return unique; } /** * Sets the value of the unique property. * * @param value allowed object is * {@link String } */ public void setUnique(String value) { this.unique = value; } /** * Gets the value of the uniqueOneToOne property. * * @return possible object is * {@link String } */ public String getUniqueOneToOne() { return uniqueOneToOne; } /** * Sets the value of the uniqueOneToOne property. * * @param value allowed object is * {@link String } */ public void setUniqueOneToOne(String value) { this.uniqueOneToOne = value; } /** * Gets the value of the dropUnique property. * * @return possible object is * {@link String } */ public String getDropUnique() { return dropUnique; } /** * Sets the value of the dropUnique property. * * @param value allowed object is * {@link String } */ public void setDropUnique(String value) { this.dropUnique = value; } /** * Gets the value of the references property. * * @return possible object is * {@link String } */ public String getReferences() { return references; } /** * Sets the value of the references property. * * @param value allowed object is * {@link String } */ public void setReferences(String value) { this.references = value; } /** * Gets the value of the foreignKeyName property. * * @return possible object is * {@link String } */ public String getForeignKeyName() { return foreignKeyName; } /** * Sets the value of the foreignKeyName property. * * @param value allowed object is * {@link String } */ public void setForeignKeyName(String value) { this.foreignKeyName = value; } /** * Gets the value of the foreignKeyIndex property. * * @return possible object is * {@link String } */ public String getForeignKeyIndex() { return foreignKeyIndex; } /** * Sets the value of the foreignKeyIndex property. * * @param value allowed object is * {@link String } */ public void setForeignKeyIndex(String value) { this.foreignKeyIndex = value; } /** * Gets the value of the foreignKeyOnDelete property. * * @return possible object is * {@link String } */ public String getForeignKeyOnDelete() { return foreignKeyOnDelete; } /** * Sets the value of the foreignKeyOnDelete property. * * @param value allowed object is * {@link String } */ public void setForeignKeyOnDelete(String value) { this.foreignKeyOnDelete = value; } /** * Gets the value of the foreignKeyOnUpdate property. * * @return possible object is * {@link String } */ public String getForeignKeyOnUpdate() { return foreignKeyOnUpdate; } /** * Sets the value of the foreignKeyOnUpdate property. * * @param value allowed object is * {@link String } */ public void setForeignKeyOnUpdate(String value) { this.foreignKeyOnUpdate = value; } /** * Gets the value of the dropForeignKey property. * * @return possible object is * {@link String } */ public String getDropForeignKey() { return dropForeignKey; } /** * Sets the value of the dropForeignKey property. * * @param value allowed object is * {@link String } */ public void setDropForeignKey(String value) { this.dropForeignKey = value; } /** * Gets the value of the dropForeignKeyIndex property. * * @return possible object is * {@link String } */ public String getDropForeignKeyIndex() { return dropForeignKeyIndex; } /** * Sets the value of the dropForeignKeyIndex property. * * @param value allowed object is * {@link String } */ public void setDropForeignKeyIndex(String value) { this.dropForeignKeyIndex = value; } public List getBefore() { if (before == null) { before = new ArrayList<>(); } return before; } public List getAfter() { if (after == null) { after = new ArrayList<>(); } return after; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy