T - The owner typepublic class RuntimePersistentProperty<T> extends java.lang.Object implements PersistentProperty
PersistentProperty.| Modifier and Type | Method and Description |
|---|---|
io.micronaut.core.annotation.AnnotationMetadata |
getAnnotationMetadata() |
io.micronaut.core.type.Argument<?> |
getArgument() |
DataType |
getDataType() |
java.lang.String |
getName()
The name of the property.
|
RuntimePersistentEntity<T> |
getOwner()
Obtains the owner of this persistent property.
|
java.lang.String |
getPersistedName()
The persisted name is the fully qualified name including potential schema definitions.
|
io.micronaut.core.beans.BeanProperty<T,?> |
getProperty() |
java.lang.Class<?> |
getType() |
java.lang.String |
getTypeName()
The type of the property.
|
boolean |
isAssignable(java.lang.Class<?> type)
Is the property assignable to the given type.
|
boolean |
isAssignable(java.lang.String type)
Is the property assignable to the given type name.
|
boolean |
isConstructorArgument() |
boolean |
isEnum() |
boolean |
isOptional()
Whether the property can be set to null.
|
boolean |
isReadOnly()
Whether the property is read-only, for example for generated values.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCapitilizedName, isGenerated, isNullableMetadata, isRequiredfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypepublic io.micronaut.core.type.Argument<?> getArgument()
public boolean isConstructorArgument()
isConstructorArgument in interface PersistentPropertypublic final boolean isOptional()
PersistentPropertyisOptional in interface PersistentPropertypublic boolean isEnum()
isEnum in interface PersistentPropertypublic DataType getDataType()
getDataType in interface PersistentPropertypublic boolean isReadOnly()
PersistentPropertyisReadOnly in interface PersistentProperty@NonNull public java.lang.Class<?> getType()
@NonNull public java.lang.String getName()
PersistentPropertygetName in interface io.micronaut.core.naming.NamedgetName in interface PersistentProperty@NonNull public java.lang.String getTypeName()
PersistentPropertygetTypeName in interface PersistentProperty@NonNull public RuntimePersistentEntity<T> getOwner()
PersistentPropertygetOwner in interface PersistentPropertypublic boolean isAssignable(@NonNull
java.lang.String type)
PersistentPropertyisAssignable in interface PersistentPropertytype - The type namepublic boolean isAssignable(@NonNull
java.lang.Class<?> type)
PersistentPropertyisAssignable in interface PersistentPropertytype - The typepublic io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
getAnnotationMetadata in interface io.micronaut.core.annotation.AnnotationMetadataProviderpublic io.micronaut.core.beans.BeanProperty<T,?> getProperty()
@NonNull public java.lang.String getPersistedName()
PersistentElementgetPersistedName in interface PersistentElementpublic java.lang.String toString()
toString in class java.lang.Object