Uses of Interface
is.codion.framework.domain.entity.attribute.ForeignKeyDefinition.Builder
Packages that use ForeignKeyDefinition.Builder
-
Uses of ForeignKeyDefinition.Builder in is.codion.framework.domain.entity.attribute
Methods in is.codion.framework.domain.entity.attribute that return ForeignKeyDefinition.BuilderModifier and TypeMethodDescriptionForeignKey.ForeignKeyDefiner.foreignKey()Instantiates aForeignKeyDefinition.Builderinstance, using the reference depth specified byForeignKeyDefinition.REFERENCE_DEPTHBy default, all attributes are included when the referenced entity is selected.Marks the given foreign key reference column as read-only, which causes an exception being thrown when the given column value is modified via this foreign key.ForeignKeyDefinition.Builder.referenceDepth(int referenceDepth) Specifies the default query reference depth for this foreign key.ForeignKeyDefinition.Builder.soft(boolean soft) Marks this foreign key as being soft, that is, not based on a physical (table) foreign key and should not prevent deletion