Interface PersistentElement

All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.naming.Named
All Known Subinterfaces:
Association, Embedded, PersistentEntity, PersistentProperty
All Known Implementing Classes:
AbstractPersistentEntity, RuntimeAssociation, RuntimePersistentEntity, RuntimePersistentProperty, SourceAssociation, SourcePersistentEntity, SourcePersistentProperty

public interface PersistentElement extends io.micronaut.core.naming.Named, io.micronaut.core.annotation.AnnotationMetadataProvider
Shared interface for a persistent element whether it be a type or a property.
Since:
1.0.0
Author:
graemerocher
  • Field Summary

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

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull String
    The persisted name is the fully qualified name including potential schema definitions.

    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.naming.Named

    getName
  • Method Details

    • getPersistedName

      @NonNull @NonNull String getPersistedName()
      The persisted name is the fully qualified name including potential schema definitions.
      Returns:
      The persisted name.