Module is.codion.framework.domain
Interface AttributeTemplate<T>
- Type Parameters:
T- the attribute type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Specifies a reusable attribute configuration.
See
ColumnTemplate for template usage examples.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionApplies this template to the given attribute
-
Method Details
-
apply
Applies this template to the given attribute- Parameters:
attribute- the attribute- Returns:
- a
AttributeDefinition.Builderfor the given attribute
-