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 TypeMethodDescriptionForeignKeyDefinition.Builder.comparator(Comparator<Entity> comparator) ForeignKey.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: setting this foreign key, to an entity or to null, leaves the column as it is, and setting it to an entity whose value for the column differs from the one the column holds throws anIllegalArgumentException.ForeignKeyDefinition.Builder.referenceDepth(int referenceDepth) Specifies the query reference depth for this foreign key, that is, how many levels of the referenced entity's foreign key graph are fetched along with it.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