Interface EntityInstanceOperation<E>

Type Parameters:
E - The entity type
All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.attr.AttributeHolder, EntityOperation<E>, io.micronaut.core.naming.Named, PreparedDataOperation<E>, StoredDataOperation<E>
All Known Subinterfaces:
DeleteOperation<E>, InsertOperation<E>, UpdateOperation<E>

public interface EntityInstanceOperation<E> extends EntityOperation<E>
An entity operation with an instance.
Since:
2.3.0
Author:
Denis Stepanov
  • Field Summary

    Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider

    findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType

    Methods inherited from interface io.micronaut.core.annotation.AnnotationSource

    getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared

    Methods inherited from interface io.micronaut.core.attr.AttributeHolder

    getAttribute, getAttribute, getAttributes

    Methods inherited from interface io.micronaut.data.model.runtime.EntityOperation

    getInvocationContext, getRepositoryType, getRootEntity, getStoredQuery

    Methods inherited from interface io.micronaut.core.naming.Named

    getName

    Methods inherited from interface io.micronaut.data.model.runtime.PreparedDataOperation

    getParameterInRole

    Methods inherited from interface io.micronaut.data.model.runtime.StoredDataOperation

    getResultArgument
  • Method Details

    • getEntity

      @NonNull E getEntity()
      Returns:
      The entity to insert.