Package org.assertj.db.api
Class AbstractAssertWithOriginWithChanges<E extends AbstractAssertWithOriginWithChanges<E,O>,O extends OriginWithChanges<ChangesAssert,ChangeAssert>>
java.lang.Object
org.assertj.db.global.AbstractElement<E>
org.assertj.db.api.AbstractAssert<E>
org.assertj.db.api.AbstractAssertWithOrigin<E,O>
org.assertj.db.api.AbstractAssertWithOriginWithChanges<E,O>
- Type Parameters:
E- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.O- The type of the assertion class ofOrigin.
- All Implemented Interfaces:
org.assertj.core.api.Descriptable<E>,Navigation,ToChange<ChangeAssert>,ToChanges<ChangesAssert>
- Direct Known Subclasses:
AbstractAssertWithOriginWithColumnsAndRowsFromChange,ChangeAssert
public abstract class AbstractAssertWithOriginWithChanges<E extends AbstractAssertWithOriginWithChanges<E,O>,O extends OriginWithChanges<ChangesAssert,ChangeAssert>>
extends AbstractAssertWithOrigin<E,O>
implements ToChanges<ChangesAssert>, ToChange<ChangeAssert>
- Author:
- Régis Pouiller
-
Field Summary
Fields inherited from class org.assertj.db.api.AbstractAssertWithOrigin
originFields inherited from class org.assertj.db.global.AbstractElement
info, myself -
Method Summary
Modifier and TypeMethodDescriptionchange()Returns assertion methods on the nextChangein the list of changes.change(int index) Returns assertion methods on theChangeat theindexin parameter.Returns assertion methods on the nextChangeof creation (ChangeType.CREATION) in the list of changes.changeOfCreation(int index) Returns assertion methods on theChangeof creation (ChangeType.CREATION) at theindexin parameter.changeOfCreationOnTable(String tableName) Returns assertion methods on the nextChangeof creation (ChangeType.CREATION) on the tabletableNamein the list of changes.changeOfCreationOnTable(String tableName, int index) Returns assertion methods on theChangeof creation (ChangeType.CREATION) on the tabletableNameat theindexin parameter.Returns assertion methods on the nextChangeof deletion (ChangeType.DELETION) in the list of changes.changeOfDeletion(int index) Returns assertion methods on theChangeof deletion (ChangeType.DELETION) at theindexin parameter.changeOfDeletionOnTable(String tableName) Returns assertion methods on the nextChangeof deletion (ChangeType.DELETION) on the tabletableNamein the list of changes.changeOfDeletionOnTable(String tableName, int index) Returns assertion methods on theChangeof deletion (ChangeType.DELETION) on the tabletableNameat theindexin parameter.Returns assertion methods on the nextChangeof modification (ChangeType.MODIFICATION) in the list of changes.changeOfModification(int index) Returns assertion methods on theChangeof modification (ChangeType.MODIFICATION) at theindexin parameter.changeOfModificationOnTable(String tableName) Returns assertion methods on the nextChangeof modification (ChangeType.MODIFICATION) on the tabletableNamein the list of changes.changeOfModificationOnTable(String tableName, int index) Returns assertion methods on theChangeof modification (ChangeType.MODIFICATION) on the tabletableNameat theindexin parameter.changeOnTable(String tableName) Returns assertion methods on the nextChangeon the tabletableNamein the list of changes.changeOnTable(String tableName, int index) changeOnTableWithPks(String tableName, Object... pksValues) Returns assertion methods on theChangeon the tabletableNamecorresponding to the primary key in parameter.ofAll()Returns an assertion of all the changes.Returns an assertion of the changes of creation (ChangeType.CREATION).ofCreationOnTable(String tableName) Returns an assertion of the changes of creation (ChangeType.CREATION) on a table.Returns an assertion of the changes of deletion (ChangeType.DELETION).ofDeletionOnTable(String tableName) Returns an assertion of the changes of deletion (ChangeType.DELETION) on a table.Returns an assertion of the changes of modification (ChangeType.MODIFICATION).ofModificationOnTable(String tableName) Returns an assertion of the changes of modification (ChangeType.MODIFICATION) on a table.Returns an assertion of the changes on a table.Methods inherited from class org.assertj.db.api.AbstractAssertWithOrigin
returnToOriginMethods inherited from class org.assertj.db.global.AbstractElement
as, as, describedAs, describedAs, getInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as
-
Method Details
-
ofAll
Returns an assertion of all the changes. -
ofCreation
Returns an assertion of the changes of creation (ChangeType.CREATION).- Specified by:
ofCreationin interfaceToChanges<E extends AbstractAssertWithOriginWithChanges<E,O>> - Returns:
- An object to make assertions on the changes of creation (
ChangeType.CREATION). - See Also:
-
ofModification
Returns an assertion of the changes of modification (ChangeType.MODIFICATION).- Specified by:
ofModificationin interfaceToChanges<E extends AbstractAssertWithOriginWithChanges<E,O>> - Returns:
- An object to make assertions on the changes of modification (
ChangeType.MODIFICATION). - See Also:
-
ofDeletion
Returns an assertion of the changes of deletion (ChangeType.DELETION).- Specified by:
ofDeletionin interfaceToChanges<E extends AbstractAssertWithOriginWithChanges<E,O>> - Returns:
- An object to make assertions on the changes of deletion (
ChangeType.DELETION). - See Also:
-
ofCreationOnTable
Returns an assertion of the changes of creation (ChangeType.CREATION) on a table.- Specified by:
ofCreationOnTablein interfaceToChanges<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table name- Returns:
- An object to make assertions on the changes of creation (
ChangeType.CREATION) on the table. - See Also:
-
ofModificationOnTable
Returns an assertion of the changes of modification (ChangeType.MODIFICATION) on a table.- Specified by:
ofModificationOnTablein interfaceToChanges<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table name- Returns:
- An object to make assertions on the changes of modification (
ChangeType.MODIFICATION) on the table. - See Also:
-
ofDeletionOnTable
Returns an assertion of the changes of deletion (ChangeType.DELETION) on a table.- Specified by:
ofDeletionOnTablein interfaceToChanges<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table name- Returns:
- An object to make assertions on the changes of deletion (
ChangeType.DELETION) on the table. - See Also:
-
onTable
Returns an assertion of the changes on a table. -
change
Returns assertion methods on the nextChangein the list of changes. -
change
Returns assertion methods on theChangeat theindexin parameter. -
changeOfCreation
Returns assertion methods on the nextChangeof creation (ChangeType.CREATION) in the list of changes.- Specified by:
changeOfCreationin interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Returns:
- An object to make assertions on the next
Changeof creation (ChangeType.CREATION). - See Also:
-
changeOfCreation
Returns assertion methods on theChangeof creation (ChangeType.CREATION) at theindexin parameter.- Specified by:
changeOfCreationin interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
index- The index corresponding to theChangeof creation (ChangeType.CREATION).- Returns:
- An object to make assertions on the
Changeof creation (ChangeType.CREATION). - See Also:
-
changeOfModification
Returns assertion methods on the nextChangeof modification (ChangeType.MODIFICATION) in the list of changes.- Specified by:
changeOfModificationin interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Returns:
- An object to make assertions on the next
Changeof modification (ChangeType.MODIFICATION). - See Also:
-
changeOfModification
Returns assertion methods on theChangeof modification (ChangeType.MODIFICATION) at theindexin parameter.- Specified by:
changeOfModificationin interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
index- The index corresponding to theChangeof modification (ChangeType.MODIFICATION).- Returns:
- An object to make assertions on the
Changeof modification (ChangeType.MODIFICATION). - See Also:
-
changeOfDeletion
Returns assertion methods on the nextChangeof deletion (ChangeType.DELETION) in the list of changes.- Specified by:
changeOfDeletionin interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Returns:
- An object to make assertions on the next
Changeof deletion (ChangeType.DELETION). - See Also:
-
changeOfDeletion
Returns assertion methods on theChangeof deletion (ChangeType.DELETION) at theindexin parameter.- Specified by:
changeOfDeletionin interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
index- The index corresponding to theChangeof deletion (ChangeType.DELETION).- Returns:
- An object to make assertions on the
Changeof deletion (ChangeType.DELETION). - See Also:
-
changeOnTable
Returns assertion methods on the nextChangeon the tabletableNamein the list of changes.- Specified by:
changeOnTablein interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table name- Returns:
- An object to make assertions on the next
Change. - See Also:
-
changeOnTable
- Specified by:
changeOnTablein interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table nameindex- The index corresponding to theChange.- Returns:
- An object to make assertions on the
Change. - See Also:
-
changeOnTableWithPks
Returns assertion methods on theChangeon the tabletableNamecorresponding to the primary key in parameter.- Specified by:
changeOnTableWithPksin interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table namepksValues- The values of the primary key corresponding to theChange.- Returns:
- An object to make assertions on the
Change. - See Also:
-
changeOfCreationOnTable
Returns assertion methods on the nextChangeof creation (ChangeType.CREATION) on the tabletableNamein the list of changes.- Specified by:
changeOfCreationOnTablein interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table name- Returns:
- An object to make assertions on the next
Changeof creation (ChangeType.CREATION). - See Also:
-
changeOfCreationOnTable
Returns assertion methods on theChangeof creation (ChangeType.CREATION) on the tabletableNameat theindexin parameter.- Specified by:
changeOfCreationOnTablein interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table nameindex- The index corresponding to theChangeof creation (ChangeType.CREATION).- Returns:
- An object to make assertions on the
Changeof creation (ChangeType.CREATION). - See Also:
-
changeOfModificationOnTable
Returns assertion methods on the nextChangeof modification (ChangeType.MODIFICATION) on the tabletableNamein the list of changes.- Specified by:
changeOfModificationOnTablein interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table name- Returns:
- An object to make assertions on the next
Changeof modification (ChangeType.MODIFICATION). - See Also:
-
changeOfModificationOnTable
Returns assertion methods on theChangeof modification (ChangeType.MODIFICATION) on the tabletableNameat theindexin parameter.- Specified by:
changeOfModificationOnTablein interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table nameindex- The index corresponding to theChangeof modification (ChangeType.MODIFICATION).- Returns:
- An object to make assertions on the
Changeof modification (ChangeType.MODIFICATION). - See Also:
-
changeOfDeletionOnTable
Returns assertion methods on the nextChangeof deletion (ChangeType.DELETION) on the tabletableNamein the list of changes.- Specified by:
changeOfDeletionOnTablein interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table name- Returns:
- An object to make assertions on the next
Changeof deletion (ChangeType.DELETION). - See Also:
-
changeOfDeletionOnTable
Returns assertion methods on theChangeof deletion (ChangeType.DELETION) on the tabletableNameat theindexin parameter.- Specified by:
changeOfDeletionOnTablein interfaceToChange<E extends AbstractAssertWithOriginWithChanges<E,O>> - Parameters:
tableName- The table nameindex- The index corresponding to theChangeof deletion (ChangeType.DELETION).- Returns:
- An object to make assertions on the
Changeof deletion (ChangeType.DELETION). - See Also:
-