Class ChangeSet
- java.lang.Object
-
- io.ebeaninternal.dbmigration.migration.ChangeSet
-
public class ChangeSet 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> <choice> <group ref="{http://ebean-orm.github.io/xml/ns/dbmigration}changeSetChildren" maxOccurs="unbounded" minOccurs="0"/> </choice> </sequence> <attribute name="type" use="required" type="{http://ebean-orm.github.io/xml/ns/dbmigration}changeSetType" /> <attribute name="dropsFor" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="suppressDropsForever" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="generated" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="author" 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 ChangeSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthor()Gets the value of the author property.List<Object>getChangeSetChildren()Gets the value of the changeSetChildren property.StringgetComment()Gets the value of the comment property.StringgetDropsFor()Gets the value of the dropsFor property.ChangeSetTypegetType()Gets the value of the type property.BooleanisGenerated()Gets the value of the generated property.BooleanisSuppressDropsForever()Gets the value of the suppressDropsForever property.voidsetAuthor(String value)Sets the value of the author property.voidsetComment(String value)Sets the value of the comment property.voidsetDropsFor(String value)Sets the value of the dropsFor property.voidsetGenerated(Boolean value)Sets the value of the generated property.voidsetSuppressDropsForever(Boolean value)Sets the value of the suppressDropsForever property.voidsetType(ChangeSetType value)Sets the value of the type property.
-
-
-
Constructor Detail
-
ChangeSet
public ChangeSet()
-
-
Method Detail
-
getChangeSetChildren
public List<Object> getChangeSetChildren()
Gets the value of the changeSetChildren 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 changeSetChildren property.For example, to add a new item, do as follows:
getChangeSetChildren().add(newItem);Objects of the following type(s) are allowed in the list
ConfigurationSqlCreateTableDropTableRenameTableAddTableCommentAddUniqueConstraintAddHistoryTableDropHistoryTableAlterForeignKeyAddColumnDropColumnAlterColumnRenameColumnCreateIndexDropIndex
-
getType
public ChangeSetType getType()
Gets the value of the type property.- Returns:
- possible object is
ChangeSetType
-
setType
public void setType(ChangeSetType value)
Sets the value of the type property.- Parameters:
value- allowed object isChangeSetType
-
getDropsFor
public String getDropsFor()
Gets the value of the dropsFor property.- Returns:
- possible object is
String
-
setDropsFor
public void setDropsFor(String value)
Sets the value of the dropsFor property.- Parameters:
value- allowed object isString
-
isSuppressDropsForever
public Boolean isSuppressDropsForever()
Gets the value of the suppressDropsForever property.- Returns:
- possible object is
Boolean
-
setSuppressDropsForever
public void setSuppressDropsForever(Boolean value)
Sets the value of the suppressDropsForever property.- Parameters:
value- allowed object isBoolean
-
isGenerated
public Boolean isGenerated()
Gets the value of the generated property.- Returns:
- possible object is
Boolean
-
setGenerated
public void setGenerated(Boolean value)
Sets the value of the generated property.- Parameters:
value- allowed object isBoolean
-
getAuthor
public String getAuthor()
Gets the value of the author property.- Returns:
- possible object is
String
-
setAuthor
public void setAuthor(String value)
Sets the value of the author 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
-
-