Class AbstractPersistentEntity

    • Constructor Detail

      • AbstractPersistentEntity

        protected AbstractPersistentEntity​(io.micronaut.core.annotation.AnnotationMetadataProvider annotationMetadataProvider)
        Default constructor.
        Parameters:
        annotationMetadataProvider - The annotation metadata provider.
    • Method Detail

      • getAliasName

        @NonNull
        public java.lang.String getAliasName()
        Specified by:
        getAliasName in interface PersistentEntity
        Returns:
        A name to use when referring to this element via an alias.
      • getAnnotationMetadata

        public io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
        Specified by:
        getAnnotationMetadata in interface io.micronaut.core.annotation.AnnotationMetadataProvider
      • getPersistedName

        @NonNull
        public java.lang.String getPersistedName()
        Description copied from interface: PersistentElement
        The persisted name is the fully qualified name including potential schema definitions.
        Specified by:
        getPersistedName in interface PersistentElement
        Returns:
        The persisted name.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object