Package org.hibernate.sql.model.internal
Class EntityMutationOperationGroupStandard
java.lang.Object
org.hibernate.sql.model.internal.EntityMutationOperationGroupStandard
- All Implemented Interfaces:
EntityMutationOperationGroup
,MutationOperationGroup
public class EntityMutationOperationGroupStandard
extends Object
implements EntityMutationOperationGroup
-
Method Summary
Modifier and TypeMethodDescriptionThe model-part being mutated.The type of mutation (at the model-level) represented by this group.int
Number of operations in this groupgetOperation
(int idx) Gets a specific MutationOperation from the groupgetOperation
(String tableName) Get the operation for a specific table.Get the singular operation, assuming there is just one.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.sql.model.EntityMutationOperationGroup
asEntityMutationOperationGroup, getMutationDelegate
Methods inherited from interface org.hibernate.sql.model.MutationOperationGroup
forEachOperation, hasMatching
-
Method Details
-
getMutationType
Description copied from interface:MutationOperationGroup
The type of mutation (at the model-level) represented by this group.- Specified by:
getMutationType
in interfaceMutationOperationGroup
-
getMutationTarget
Description copied from interface:EntityMutationOperationGroup
The model-part being mutated. N.B. it returns a widened type compared to the same method in the super interface.- Specified by:
getMutationTarget
in interfaceEntityMutationOperationGroup
- Specified by:
getMutationTarget
in interfaceMutationOperationGroup
-
getNumberOfOperations
public int getNumberOfOperations()Description copied from interface:MutationOperationGroup
Number of operations in this group- Specified by:
getNumberOfOperations
in interfaceMutationOperationGroup
-
getSingleOperation
Description copied from interface:MutationOperationGroup
Get the singular operation, assuming there is just one. Throws an exception if there are more than one.- Specified by:
getSingleOperation
in interfaceMutationOperationGroup
-
getOperation
Description copied from interface:MutationOperationGroup
Gets a specific MutationOperation from the group- Specified by:
getOperation
in interfaceMutationOperationGroup
- Parameters:
idx
- the index, starting from zero.- Returns:
-
getOperation
Description copied from interface:MutationOperationGroup
Get the operation for a specific table.- Specified by:
getOperation
in interfaceMutationOperationGroup
-