Class AddColumn
- java.lang.Object
-
- io.ebeaninternal.dbmigration.migration.AddColumn
-
public class AddColumn 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 ref="{http://ebean-orm.github.io/xml/ns/dbmigration}column" maxOccurs="unbounded"/> </sequence> <attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="withHistory" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description AddColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Column>getColumn()Gets the value of the column property.StringgetTableName()Gets the value of the tableName property.BooleanisWithHistory()Gets the value of the withHistory property.voidsetTableName(String value)Sets the value of the tableName property.voidsetWithHistory(Boolean value)Sets the value of the withHistory property.
-
-
-
Constructor Detail
-
AddColumn
public AddColumn()
-
-
Method Detail
-
getColumn
public List<Column> getColumn()
Gets the value of the column 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
setmethod for the column property.For example, to add a new item, do as follows:
getColumn().add(newItem);Objects of the following type(s) are allowed in the list
Column
-
getTableName
public String getTableName()
Gets the value of the tableName property.- Returns:
- possible object is
String
-
setTableName
public void setTableName(String value)
Sets the value of the tableName property.- Parameters:
value- allowed object isString
-
isWithHistory
public Boolean isWithHistory()
Gets the value of the withHistory property.- Returns:
- possible object is
Boolean
-
setWithHistory
public void setWithHistory(Boolean value)
Sets the value of the withHistory property.- Parameters:
value- allowed object isBoolean
-
-