Class SchemaChangelog
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.xml.AbstractChangelog
ch.tocco.nice2.dbrefactoring.impl.xml.SchemaChangelog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addColumn
(Element parent, ColumnInfo info) void
addComment
(String text) void
addConstraints
(Iterator<ConstraintInfo> iterator) void
addDropColumn
(String tableName, String columnName) void
addDropColumns
(String tableName, Iterator<? extends ColumnInfo> colIter) void
addDropTabe
(String tableName) protected void
addNotNullConstraint
(Changeset changeset, ColumnInfo info, String tableName, @Nullable String remarks) protected void
addPrecondColumnAdded
(Changeset changeset, String tableName, String columnName) void
addPrecondColumnAdded
(String tableName, String columnName) protected void
addPrecondColumnDropped
(Changeset cs, String tableName, String columnName) void
addPrecondColumnDropped
(String tableName, String columnName) void
protected void
addPrecondConstraintsAdded
(Changeset cs, ConstraintInfo.JoinTable joinAdded) void
addPrecondJoinDropped
(ConstraintInfo.JoinTable joinDropped) protected void
addPrecondJoinDropped
(Changeset cs, ConstraintInfo.JoinTable joinDropped) protected void
addPrecondTableExists
(Changeset changeset, String tableName) void
addPrecondTableExists
(String tableName) void
addTable
(String tableName, Iterator<? extends ColumnInfo> colIter, boolean extending) Methods inherited from class ch.tocco.nice2.dbrefactoring.impl.xml.AbstractChangelog
addColumn, addConstraints, addEntityTable, addForeignKeyConstraintPrecondition, addUniqueConstraintPrecondition, getCustomChangelog, importNode
-
Constructor Details
-
SchemaChangelog
-
-
Method Details
-
addComment
-
addTable
-
addPrecondTableExists
-
addPrecondTableExists
-
addPrecondColumnAdded
-
addPrecondColumnAdded
-
addPrecondColumnDropped
-
addPrecondColumnDropped
-
addPrecondConstraintsAdded
-
addPrecondConstraintsAdded
-
addPrecondJoinDropped
-
addPrecondJoinDropped
-
addTable
-
addColumn
-
addDropColumns
-
addDropColumn
-
addDropTabe
-
addNotNullConstraint
protected void addNotNullConstraint(Changeset changeset, ColumnInfo info, String tableName, @Nullable @Nullable String remarks) - Overrides:
addNotNullConstraint
in classAbstractChangelog
-
addConstraints
-
getChangelog
- Overrides:
getChangelog
in classAbstractChangelog
-