@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, wait
getCapitilizedName, isAssignable, isAutoPopulated, isConstructorArgument, isGenerated, isNullableMetadata, isReadOnly, isRequired
getArrayDimensions, getGenericType, isArray, isPrimitive
annotate, annotate, annotate, annotate, annotate, getDescription, getDescription, getDocumentation, getModifiers, getSimpleName, isAbstract, isFinal, isPackagePrivate, isPrivate, isStatic, removeAnnotation, removeAnnotation, removeAnnotationIf, removeStereotype, removeStereotype
booleanValue, 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, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDeclaredMetadata, 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, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
public boolean isOptional()
PersistentProperty
isOptional
in interface PersistentProperty
public boolean isEnum()
isEnum
in interface PersistentProperty
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public DataType getDataType()
getDataType
in interface PersistentProperty
public int hashCode()
hashCode
in class java.lang.Object
public io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
getAnnotationMetadata
in interface io.micronaut.core.annotation.AnnotationMetadataProvider
@NonNull public java.lang.String getName()
PersistentProperty
getName
in interface io.micronaut.core.naming.Named
getName
in interface PersistentProperty
getName
in interface io.micronaut.inject.ast.Element
public boolean isProtected()
isProtected
in interface io.micronaut.inject.ast.Element
public boolean isPublic()
isPublic
in interface io.micronaut.inject.ast.Element
public java.lang.Object getNativeType()
getNativeType
in interface io.micronaut.inject.ast.Element
@NonNull public java.lang.String getTypeName()
PersistentProperty
getTypeName
in interface PersistentProperty
@NonNull public PersistentEntity getOwner()
PersistentProperty
getOwner
in interface PersistentProperty
public boolean isAssignable(@NonNull java.lang.String type)
PersistentProperty
isAssignable
in interface PersistentProperty
type
- 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()
PersistentElement
getPersistedName
in interface PersistentElement
public java.lang.String toString()
toString
in class java.lang.Object