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.intNumber 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, waitMethods inherited from interface org.hibernate.sql.model.EntityMutationOperationGroup
asEntityMutationOperationGroup, getMutationDelegateMethods inherited from interface org.hibernate.sql.model.MutationOperationGroup
forEachOperation, hasMatching
-
Method Details
-
getMutationType
Description copied from interface:MutationOperationGroupThe type of mutation (at the model-level) represented by this group.- Specified by:
getMutationTypein interfaceMutationOperationGroup
-
getMutationTarget
Description copied from interface:EntityMutationOperationGroupThe model-part being mutated. N.B. it returns a widened type compared to the same method in the super interface.- Specified by:
getMutationTargetin interfaceEntityMutationOperationGroup- Specified by:
getMutationTargetin interfaceMutationOperationGroup
-
getNumberOfOperations
public int getNumberOfOperations()Description copied from interface:MutationOperationGroupNumber of operations in this group- Specified by:
getNumberOfOperationsin interfaceMutationOperationGroup
-
getSingleOperation
Description copied from interface:MutationOperationGroupGet the singular operation, assuming there is just one. Throws an exception if there are more than one.- Specified by:
getSingleOperationin interfaceMutationOperationGroup
-
getOperation
Description copied from interface:MutationOperationGroupGets a specific MutationOperation from the group- Specified by:
getOperationin interfaceMutationOperationGroup- Parameters:
idx- the index, starting from zero.- Returns:
-
getOperation
Description copied from interface:MutationOperationGroupGet the operation for a specific table.- Specified by:
getOperationin interfaceMutationOperationGroup
-