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

com.avaje.ebean.dbmigration.migration.Column Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version

package com.avaje.ebean.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;
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>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="notnull" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="historyExclude" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="primaryKey" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="identity" 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="unique" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="uniqueOneToOne" 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="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "column") public class Column { @XmlValue protected String content; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "type", required = true) protected String type; @XmlAttribute(name = "defaultValue") protected String defaultValue; @XmlAttribute(name = "notnull") protected Boolean notnull; @XmlAttribute(name = "historyExclude") protected Boolean historyExclude; @XmlAttribute(name = "primaryKey") protected Boolean primaryKey; @XmlAttribute(name = "identity") protected Boolean identity; @XmlAttribute(name = "checkConstraint") protected String checkConstraint; @XmlAttribute(name = "checkConstraintName") protected String checkConstraintName; @XmlAttribute(name = "unique") protected String unique; @XmlAttribute(name = "uniqueOneToOne") protected String uniqueOneToOne; @XmlAttribute(name = "references") protected String references; @XmlAttribute(name = "foreignKeyName") protected String foreignKeyName; @XmlAttribute(name = "foreignKeyIndex") protected String foreignKeyIndex; @XmlAttribute(name = "comment") protected String comment; /** * Gets the value of the content property. * * @return * possible object is * {@link String } * */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link String } * */ public void setContent(String value) { this.content = value; } /** * 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. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = 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 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 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 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 primaryKey property. * * @return * possible object is * {@link Boolean } * */ public Boolean isPrimaryKey() { return primaryKey; } /** * Sets the value of the primaryKey property. * * @param value * allowed object is * {@link Boolean } * */ public void setPrimaryKey(Boolean value) { this.primaryKey = value; } /** * Gets the value of the identity property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIdentity() { return identity; } /** * Sets the value of the identity property. * * @param value * allowed object is * {@link Boolean } * */ public void setIdentity(Boolean value) { this.identity = 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 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 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 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy