Class Column
- java.lang.Object
-
- io.ebeaninternal.dbmigration.migration.Column
-
public class Column extends Object
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"> <sequence> <element name="before" type="{http://ebean-orm.github.io/xml/ns/dbmigration}ddl-script" maxOccurs="unbounded" minOccurs="0"/> <element name="after" type="{http://ebean-orm.github.io/xml/ns/dbmigration}ddl-script" maxOccurs="unbounded" minOccurs="0"/> </sequence> <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="foreignKeyOnDelete" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="foreignKeyOnUpdate" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Column()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DdlScript>
getAfter()
Gets the value of the after property.List<DdlScript>
getBefore()
Gets the value of the before property.String
getCheckConstraint()
Gets the value of the checkConstraint property.String
getCheckConstraintName()
Gets the value of the checkConstraintName property.String
getComment()
Gets the value of the comment property.String
getDefaultValue()
Gets the value of the defaultValue property.String
getForeignKeyIndex()
Gets the value of the foreignKeyIndex property.String
getForeignKeyName()
Gets the value of the foreignKeyName property.String
getForeignKeyOnDelete()
Gets the value of the foreignKeyOnDelete property.String
getForeignKeyOnUpdate()
Gets the value of the foreignKeyOnUpdate property.String
getName()
Gets the value of the name property.String
getReferences()
Gets the value of the references property.String
getType()
Gets the value of the type property.String
getUnique()
Gets the value of the unique property.String
getUniqueOneToOne()
Gets the value of the uniqueOneToOne property.Boolean
isHistoryExclude()
Gets the value of the historyExclude property.Boolean
isIdentity()
Gets the value of the identity property.Boolean
isNotnull()
Gets the value of the notnull property.Boolean
isPrimaryKey()
Gets the value of the primaryKey property.void
setCheckConstraint(String value)
Sets the value of the checkConstraint property.void
setCheckConstraintName(String value)
Sets the value of the checkConstraintName property.void
setComment(String value)
Sets the value of the comment property.void
setDefaultValue(String value)
Sets the value of the defaultValue property.void
setForeignKeyIndex(String value)
Sets the value of the foreignKeyIndex property.void
setForeignKeyName(String value)
Sets the value of the foreignKeyName property.void
setForeignKeyOnDelete(String value)
Sets the value of the foreignKeyOnDelete property.void
setForeignKeyOnUpdate(String value)
Sets the value of the foreignKeyOnUpdate property.void
setHistoryExclude(Boolean value)
Sets the value of the historyExclude property.void
setIdentity(Boolean value)
Sets the value of the identity property.void
setName(String value)
Sets the value of the name property.void
setNotnull(Boolean value)
Sets the value of the notnull property.void
setPrimaryKey(Boolean value)
Sets the value of the primaryKey property.void
setReferences(String value)
Sets the value of the references property.void
setType(String value)
Sets the value of the type property.void
setUnique(String value)
Sets the value of the unique property.void
setUniqueOneToOne(String value)
Sets the value of the uniqueOneToOne property.
-
-
-
Constructor Detail
-
Column
public Column()
-
-
Method Detail
-
getBefore
public List<DdlScript> getBefore()
Gets the value of the before property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the before property.For example, to add a new item, do as follows:
getBefore().add(newItem);
Objects of the following type(s) are allowed in the list
DdlScript
-
getAfter
public List<DdlScript> getAfter()
Gets the value of the after property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the after property.For example, to add a new item, do as follows:
getAfter().add(newItem);
Objects of the following type(s) are allowed in the list
DdlScript
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
getDefaultValue
public String getDefaultValue()
Gets the value of the defaultValue property.- Returns:
- possible object is
String
-
setDefaultValue
public void setDefaultValue(String value)
Sets the value of the defaultValue property.- Parameters:
value
- allowed object isString
-
isNotnull
public Boolean isNotnull()
Gets the value of the notnull property.- Returns:
- possible object is
Boolean
-
setNotnull
public void setNotnull(Boolean value)
Sets the value of the notnull property.- Parameters:
value
- allowed object isBoolean
-
isHistoryExclude
public Boolean isHistoryExclude()
Gets the value of the historyExclude property.- Returns:
- possible object is
Boolean
-
setHistoryExclude
public void setHistoryExclude(Boolean value)
Sets the value of the historyExclude property.- Parameters:
value
- allowed object isBoolean
-
isPrimaryKey
public Boolean isPrimaryKey()
Gets the value of the primaryKey property.- Returns:
- possible object is
Boolean
-
setPrimaryKey
public void setPrimaryKey(Boolean value)
Sets the value of the primaryKey property.- Parameters:
value
- allowed object isBoolean
-
isIdentity
public Boolean isIdentity()
Gets the value of the identity property.- Returns:
- possible object is
Boolean
-
setIdentity
public void setIdentity(Boolean value)
Sets the value of the identity property.- Parameters:
value
- allowed object isBoolean
-
getCheckConstraint
public String getCheckConstraint()
Gets the value of the checkConstraint property.- Returns:
- possible object is
String
-
setCheckConstraint
public void setCheckConstraint(String value)
Sets the value of the checkConstraint property.- Parameters:
value
- allowed object isString
-
getCheckConstraintName
public String getCheckConstraintName()
Gets the value of the checkConstraintName property.- Returns:
- possible object is
String
-
setCheckConstraintName
public void setCheckConstraintName(String value)
Sets the value of the checkConstraintName property.- Parameters:
value
- allowed object isString
-
getUnique
public String getUnique()
Gets the value of the unique property.- Returns:
- possible object is
String
-
setUnique
public void setUnique(String value)
Sets the value of the unique property.- Parameters:
value
- allowed object isString
-
getUniqueOneToOne
public String getUniqueOneToOne()
Gets the value of the uniqueOneToOne property.- Returns:
- possible object is
String
-
setUniqueOneToOne
public void setUniqueOneToOne(String value)
Sets the value of the uniqueOneToOne property.- Parameters:
value
- allowed object isString
-
getReferences
public String getReferences()
Gets the value of the references property.- Returns:
- possible object is
String
-
setReferences
public void setReferences(String value)
Sets the value of the references property.- Parameters:
value
- allowed object isString
-
getForeignKeyName
public String getForeignKeyName()
Gets the value of the foreignKeyName property.- Returns:
- possible object is
String
-
setForeignKeyName
public void setForeignKeyName(String value)
Sets the value of the foreignKeyName property.- Parameters:
value
- allowed object isString
-
getForeignKeyIndex
public String getForeignKeyIndex()
Gets the value of the foreignKeyIndex property.- Returns:
- possible object is
String
-
setForeignKeyIndex
public void setForeignKeyIndex(String value)
Sets the value of the foreignKeyIndex property.- Parameters:
value
- allowed object isString
-
getForeignKeyOnDelete
public String getForeignKeyOnDelete()
Gets the value of the foreignKeyOnDelete property.- Returns:
- possible object is
String
-
setForeignKeyOnDelete
public void setForeignKeyOnDelete(String value)
Sets the value of the foreignKeyOnDelete property.- Parameters:
value
- allowed object isString
-
getForeignKeyOnUpdate
public String getForeignKeyOnUpdate()
Gets the value of the foreignKeyOnUpdate property.- Returns:
- possible object is
String
-
setForeignKeyOnUpdate
public void setForeignKeyOnUpdate(String value)
Sets the value of the foreignKeyOnUpdate property.- Parameters:
value
- allowed object isString
-
getComment
public String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(String value)
Sets the value of the comment property.- Parameters:
value
- allowed object isString
-
-