public abstract class AbstractPersistentEntity extends java.lang.Object implements PersistentEntity
PersistentEntity
interface.Modifier | Constructor and Description |
---|---|
protected |
AbstractPersistentEntity(io.micronaut.core.annotation.AnnotationMetadataProvider annotationMetadataProvider)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<NamingStrategy> |
findNamingStrategy()
Find the naming strategy that is defined for the entity.
|
java.lang.String |
getAliasName() |
io.micronaut.core.annotation.AnnotationMetadata |
getAnnotationMetadata() |
NamingStrategy |
getNamingStrategy()
Obtain the naming strategy for the entity.
|
java.lang.String |
getPersistedName()
The persisted name is the fully qualified name including potential schema definitions.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAssociations, getCompositeIdentity, getDecapitalizedName, getEmbedded, getIdentity, getIdentityByName, getName, getParentEntity, getPath, getPersistentProperties, getPersistentPropertyNames, getPropertyByName, getPropertyByPath, getPropertyPath, getRootEntity, getSimpleName, getVersion, hasCompositeIdentity, hasIdentity, isEmbeddable, isOwningEntity, isRoot, isVersioned, of, of
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
protected AbstractPersistentEntity(io.micronaut.core.annotation.AnnotationMetadataProvider annotationMetadataProvider)
annotationMetadataProvider
- The annotation metadata provider.@NonNull public java.lang.String getAliasName()
getAliasName
in interface PersistentEntity
public io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
getAnnotationMetadata
in interface io.micronaut.core.annotation.AnnotationMetadataProvider
@NonNull public NamingStrategy getNamingStrategy()
getNamingStrategy
in interface PersistentEntity
@NonNull public java.util.Optional<NamingStrategy> findNamingStrategy()
PersistentEntity
findNamingStrategy
in interface PersistentEntity
@NonNull public java.lang.String getPersistedName()
PersistentElement
getPersistedName
in interface PersistentElement
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object