Module is.codion.framework.model
Package is.codion.framework.model
Interface EntityComboBoxModel.Builder.EntityTypeStep
- Enclosing interface:
EntityComboBoxModel.Builder
public static interface EntityComboBoxModel.Builder.EntityTypeStep
Specifies the entity type, either directly or derived from a
ForeignKey.
Provides a EntityComboBoxModel.Builder.ConnectionStep-
Method Summary
Modifier and TypeMethodDescriptionentityType(EntityType entityType) foreignKey(ForeignKey foreignKey) This method configures the resultingEntityComboBoxModelaccording to the given foreign key, including null if it is nullable and specifying the attributes to include if defined.
-
Method Details
-
entityType
- Parameters:
entityType- the type of the entity this combo box model should represent- Returns:
- a new
EntityComboBoxModel.Builder.ConnectionStepinstance
-
foreignKey
This method configures the resulting
EntityComboBoxModelaccording to the given foreign key, including null if it is nullable and specifying the attributes to include if defined.If the foreign key has select attributes defined, those are set in the combo box model.
- Parameters:
foreignKey- the foreign key which referenced entity type this combo box model should represent- Returns:
- a new
EntityComboBoxModel.Builder.ConnectionStepinstance - See Also:
-