T - the owning typepublic class RuntimeAssociation<T> extends RuntimePersistentProperty<T> implements Association
Association.EMPTY_PROPERTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAliasName() |
RuntimePersistentEntity<?> |
getAssociatedEntity()
The associated entity if any.
|
java.util.Optional<RuntimeAssociation<?>> |
getInverseSide()
Retrieves the inverse side of the association.
|
Relation.Kind |
getKind() |
boolean |
isForeignKey() |
boolean |
isRequired()
Whether a property is required to be specified.
|
getAnnotationMetadata, getArgument, getDataType, getName, getOwner, getPersistedName, getProperty, getType, getTypeName, isAssignable, isAssignable, isConstructorArgument, isEnum, isOptional, isReadOnly, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoesCascade, isBidirectionalgetCapitilizedName, getDataType, getName, getOwner, getTypeName, isAssignable, isAssignable, isAutoPopulated, isConstructorArgument, isEnum, isGenerated, isNullableMetadata, isOptional, isReadOnlygetPersistedNamefindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypepublic boolean isForeignKey()
isForeignKey in interface Associationpublic java.lang.String getAliasName()
getAliasName in interface Association@NonNull public Relation.Kind getKind()
getKind in interface Associationpublic boolean isRequired()
PersistentPropertyisRequired in interface PersistentPropertyPersistentProperty.isOptional(),
PersistentProperty.isGenerated()public java.util.Optional<RuntimeAssociation<?>> getInverseSide()
AssociationgetInverseSide in interface Association@NonNull public RuntimePersistentEntity<?> getAssociatedEntity()
AssociationgetAssociatedEntity in interface Association