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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityMutationTargetgetMutationTarget()The model-part being mutated.MutationTypegetMutationType()The type of mutation (at the model-level) represented by this group.intgetNumberOfOperations()Number of operations in this groupMutationOperationgetOperation(int idx)Gets a specific MutationOperation from the groupMutationOperationgetOperation(String tableName)Get the operation for a specific table.MutationOperationgetSingleOperation()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 Detail
-
getMutationType
public MutationType getMutationType()
Description copied from interface:MutationOperationGroupThe type of mutation (at the model-level) represented by this group.- Specified by:
getMutationTypein interfaceMutationOperationGroup
-
getMutationTarget
public EntityMutationTarget 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
public MutationOperation 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
public MutationOperation getOperation(int idx)
Description copied from interface:MutationOperationGroupGets a specific MutationOperation from the group- Specified by:
getOperationin interfaceMutationOperationGroup- Parameters:
idx- the index, starting from zero.- Returns:
-
getOperation
public MutationOperation getOperation(String tableName)
Description copied from interface:MutationOperationGroupGet the operation for a specific table.- Specified by:
getOperationin interfaceMutationOperationGroup
-
-