T
- the owning typepublic class RuntimeAssociation<T> extends RuntimePersistentProperty<T> implements Association
Association
.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, getDataType, getName, getOwner, getPersistedName, getProperty, getType, getTypeName, isAssignable, isAssignable, isConstructorArgument, isEnum, isOptional, isReadOnly, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
doesCascade, isBidirectional
getCapitilizedName, getDataType, getName, getOwner, getTypeName, isAssignable, isAssignable, isConstructorArgument, isEnum, isGenerated, isNullableMetadata, isOptional, isReadOnly
getPersistedName
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
public boolean isForeignKey()
isForeignKey
in interface Association
public java.lang.String getAliasName()
getAliasName
in interface Association
@NonNull public Relation.Kind getKind()
getKind
in interface Association
public boolean isRequired()
PersistentProperty
isRequired
in interface PersistentProperty
PersistentProperty.isOptional()
,
PersistentProperty.isGenerated()
public java.util.Optional<RuntimeAssociation<?>> getInverseSide()
Association
getInverseSide
in interface Association
@NonNull public RuntimePersistentEntity<?> getAssociatedEntity()
Association
getAssociatedEntity
in interface Association