Class AbstractChangelog
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.xml.AbstractChangelog
- Direct Known Subclasses:
NewLanguageChangelog
,SchemaChangelog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addColumn
(Changeset def, Changeset constr, Element table, ColumnInfo info) protected boolean
addConstraints
(Iterator<ConstraintInfo> iterator, Changeset def, Changeset constr) protected void
addEntityTable
(String name, Iterator<? extends ColumnInfo> it, Changeset def, Changeset constr, boolean extending) protected void
addForeignKeyConstraintPrecondition
(Changeset changeset, ConstraintInfo.ForeignKey fkey) protected void
addNotNullConstraint
(Changeset changeset, ColumnInfo info, String tableName, @Nullable String remarks) protected void
addUniqueConstraintPrecondition
(Changeset changeset, ConstraintInfo.UniqueColumns uc) protected Node
importNode
(Node other, boolean deep)
-
Constructor Details
-
AbstractChangelog
-
-
Method Details
-
getCustomChangelog
-
getChangelog
-
addEntityTable
protected void addEntityTable(String name, Iterator<? extends ColumnInfo> it, Changeset def, Changeset constr, boolean extending) -
addForeignKeyConstraintPrecondition
protected void addForeignKeyConstraintPrecondition(Changeset changeset, ConstraintInfo.ForeignKey fkey) -
addUniqueConstraintPrecondition
protected void addUniqueConstraintPrecondition(Changeset changeset, ConstraintInfo.UniqueColumns uc) -
addConstraints
protected boolean addConstraints(Iterator<ConstraintInfo> iterator, Changeset def, Changeset constr) -
addColumn
-
addNotNullConstraint
protected void addNotNullConstraint(Changeset changeset, ColumnInfo info, String tableName, @Nullable @Nullable String remarks) -
importNode
-