Class ChangeSet
java.lang.Object
io.ebeaninternal.dbmigration.migration.ChangeSet
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 -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the author property.Gets the value of the changeSetChildren property.Gets the value of the comment property.Gets the value of the dropsFor property.getType()Gets the value of the type property.Gets the value of the generated property.Gets the value of the suppressDropsForever property.voidSets 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 Details
-
ChangeSet
public ChangeSet()
-
-
Method Details
-
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
Gets the value of the type property.- Returns:
- possible object is
ChangeSetType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isChangeSetType
-
getDropsFor
Gets the value of the dropsFor property.- Returns:
- possible object is
String
-
setDropsFor
Sets the value of the dropsFor property.- Parameters:
value- allowed object isString
-
isSuppressDropsForever
Gets the value of the suppressDropsForever property.- Returns:
- possible object is
Boolean
-
setSuppressDropsForever
Sets the value of the suppressDropsForever property.- Parameters:
value- allowed object isBoolean
-
isGenerated
Gets the value of the generated property.- Returns:
- possible object is
Boolean
-
setGenerated
Sets the value of the generated property.- Parameters:
value- allowed object isBoolean
-
getAuthor
Gets the value of the author property.- Returns:
- possible object is
String
-
setAuthor
Sets the value of the author property.- Parameters:
value- allowed object isString
-
getComment
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
Sets the value of the comment property.- Parameters:
value- allowed object isString
-