Class SourceAssociation
java.lang.Object
io.micronaut.data.processor.model.SourcePersistentProperty
io.micronaut.data.processor.model.SourceAssociation
- All Implemented Interfaces:
- io.micronaut.core.annotation.AnnotatedElement,- io.micronaut.core.annotation.AnnotationMetadata,- io.micronaut.core.annotation.AnnotationMetadataDelegate,- io.micronaut.core.annotation.AnnotationMetadataProvider,- io.micronaut.core.annotation.AnnotationSource,- io.micronaut.core.naming.Described,- io.micronaut.core.naming.Named,- Association,- PersistentElement,- PersistentProperty,- io.micronaut.inject.ast.annotation.MutableAnnotationMetadataDelegate<io.micronaut.inject.ast.Element>,- io.micronaut.inject.ast.Element,- io.micronaut.inject.ast.TypedElement
Source code level implementation of 
Association.- Since:
- 1.0.0
- Author:
- graemerocher
- 
Field SummaryFields inherited from interface io.micronaut.core.annotation.AnnotationMetadataCLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBERFields inherited from interface io.micronaut.core.annotation.AnnotationSourceEMPTYFields inherited from interface io.micronaut.inject.ast.ElementEMPTY_ELEMENT_ARRAYFields inherited from interface io.micronaut.inject.ast.annotation.MutableAnnotationMetadataDelegateEMPTY
- 
Method SummaryModifier and TypeMethodDescription@NonNull SourcePersistentEntityThe associated entity if any.getKind()booleanWhether a property is required to be specified.Methods inherited from class io.micronaut.data.processor.model.SourcePersistentPropertyequals, getAnnotationMetadata, getConverterClassName, getDataType, getName, getNativeType, getOwner, getPersistedName, getPropertyElement, getType, getTypeName, hashCode, isAssignable, isEnum, isOptional, isProtected, isPublic, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.micronaut.core.annotation.AnnotatedElementisDeclaredNonNull, isDeclaredNullable, isNonNull, isNullableMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataenumValuesSet, enumValuesSet, getValues, hasDeclaredStereotype, hasEvaluatedExpressions, hasStereotypeNonRepeating, isAnnotationPresent, isDeclaredAnnotationPresentMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataDelegatebooleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, copyAnnotationMetadata, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, findRepeatableAnnotation, findRepeatableAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByName, getAnnotationValuesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByName, getDeclaredAnnotationValuesByType, getDeclaredMetadata, getDeclaredStereotypeAnnotationNames, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getStereotypeAnnotationNames, getTargetAnnotationMetadata, 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, isRepeatableAnnotation, isRepeatableAnnotation, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvidergetAnnotationMetadataMethods inherited from interface io.micronaut.data.model.AssociationdoesCascade, getAliasName, getCascadeTypes, getInversePathSide, getInverseSide, hasDeclaredAliasName, isBidirectional, isForeignKeyMethods inherited from interface io.micronaut.inject.ast.Elementannotate, annotate, annotate, annotate, annotate, getDescription, getDescription, getDocumentation, getModifiers, getSimpleName, isAbstract, isFinal, isPackagePrivate, isPrivate, isStatic, isSynthetic, removeAnnotation, removeAnnotation, removeAnnotationIf, removeStereotype, removeStereotype, withAnnotationMetadataMethods inherited from interface io.micronaut.data.model.PersistentElementgetPersistedNameMethods inherited from interface io.micronaut.data.model.PersistentPropertygetCapitilizedName, getConverter, getDataType, getJsonDataType, getName, getOwner, getTypeName, isAssignable, isAssignable, isAutoPopulated, isConstructorArgument, isEnum, isGenerated, isOptional, isReadOnlyMethods inherited from interface io.micronaut.inject.ast.TypedElementgetArrayDimensions, getGenericType, isArray, isPrimitive, isVoid
- 
Method Details- 
getKind- Specified by:
- getKindin interface- Association
- Returns:
- The relationship kind
 
- 
isRequiredpublic boolean isRequired()Description copied from interface:PersistentPropertyWhether a property is required to be specified. This returns false if the property is both not nullable and not generated.- Specified by:
- isRequiredin interface- PersistentProperty
- Returns:
- True if the property is required
- See Also:
 
- 
getAssociatedEntityDescription copied from interface:AssociationThe associated entity if any.- Specified by:
- getAssociatedEntityin interface- Association
- Returns:
- The associated entity
 
 
-