@Internal public class SourcePersistentProperty extends java.lang.Object implements PersistentProperty, io.micronaut.inject.ast.TypedElement
PersistentProperty.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
io.micronaut.core.annotation.AnnotationMetadata |
getAnnotationMetadata() |
DataType |
getDataType() |
java.lang.String |
getName()
The name of the property.
|
java.lang.Object |
getNativeType() |
PersistentEntity |
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.inject.ast.PropertyElement |
getPropertyElement() |
io.micronaut.inject.ast.ClassElement |
getType() |
java.lang.String |
getTypeName()
The type of the property.
|
int |
hashCode() |
boolean |
isAssignable(java.lang.String type)
Is the property assignable to the given type name.
|
boolean |
isEnum() |
boolean |
isOptional()
Whether the property can be set to null.
|
boolean |
isProtected() |
boolean |
isPublic() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCapitilizedName, isAssignable, isAutoPopulated, isConstructorArgument, isGenerated, isNullableMetadata, isReadOnly, isRequiredgetArrayDimensions, getGenericType, isArray, isPrimitiveannotate, annotate, annotate, annotate, getDocumentation, getSimpleName, isAbstract, isFinal, isPackagePrivate, isPrivate, isStaticbooleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasPropertyExpressions, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypepublic boolean isOptional()
PersistentPropertyisOptional in interface PersistentPropertypublic boolean isEnum()
isEnum in interface PersistentPropertypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic DataType getDataType()
getDataType in interface PersistentPropertypublic int hashCode()
hashCode in class java.lang.Objectpublic io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
getAnnotationMetadata in interface io.micronaut.core.annotation.AnnotationMetadataProvider@NonNull public java.lang.String getName()
PersistentPropertygetName in interface io.micronaut.core.naming.NamedgetName in interface PersistentPropertygetName in interface io.micronaut.inject.ast.Elementpublic boolean isProtected()
isProtected in interface io.micronaut.inject.ast.Elementpublic boolean isPublic()
isPublic in interface io.micronaut.inject.ast.Elementpublic java.lang.Object getNativeType()
getNativeType in interface io.micronaut.inject.ast.Element@NonNull public java.lang.String getTypeName()
PersistentPropertygetTypeName in interface PersistentProperty@NonNull public PersistentEntity getOwner()
PersistentPropertygetOwner in interface PersistentPropertypublic boolean isAssignable(@NonNull
java.lang.String type)
PersistentPropertyisAssignable in interface PersistentPropertytype - The type name@NonNull public io.micronaut.inject.ast.PropertyElement getPropertyElement()
@NonNull public io.micronaut.inject.ast.ClassElement getType()
getType in interface io.micronaut.inject.ast.TypedElement@NonNull public java.lang.String getPersistedName()
PersistentElementgetPersistedName in interface PersistentElementpublic java.lang.String toString()
toString in class java.lang.Object