Module is.codion.framework.model
Package is.codion.framework.model
Interface EntityExport.ExportAttributes.Builder
- Enclosing interface:
EntityExport.ExportAttributes
public static interface EntityExport.ExportAttributes.Builder
-
Method Summary
Modifier and TypeMethodDescriptionattributes(ForeignKey foreignKey, Consumer<EntityExport.ExportAttributes.Builder> attributes) Configures theEntityExport.ExportAttributesfor the given foreign keybuild()include(Collection<Attribute<?>> attributes) Any attributes not in this list appear last, in alphabetical order by captionorder(Comparator<Attribute<?>> comparator) Any attributes not in this list appear last, in alphabetical order by caption
-
Method Details
-
include
- Parameters:
attributes- the attributes to include- Returns:
- this builder
-
include
- Parameters:
attributes- the attributes to include- Returns:
- this builder
-
order
Any attributes not in this list appear last, in alphabetical order by caption- Parameters:
attributes- the attribute order- Returns:
- this builder
-
order
Any attributes not in this list appear last, in alphabetical order by caption- Parameters:
attributes- the attribute order- Returns:
- this builder
-
order
- Parameters:
comparator- the comparator to use when ordering the export attributes- Returns:
- this builder
-
attributes
EntityExport.ExportAttributes.Builder attributes(ForeignKey foreignKey, Consumer<EntityExport.ExportAttributes.Builder> attributes) Configures theEntityExport.ExportAttributesfor the given foreign key- Parameters:
foreignKey- the foreign keyattributes- receives theEntityExport.ExportAttributes.Builderinstance- Returns:
- this builder
-
build
EntityExport.ExportAttributes build()- Returns:
- a new
EntityExport.ExportAttributesinstance
-