Interface DerivedAttributeDefinition.DerivedBuilder<T, B extends DerivedAttributeDefinition.DerivedBuilder<T,B>>
- Type Parameters:
T- the attribute value typeB- the builder type
- All Superinterfaces:
AttributeDefinition.Builder<T,B>
- Enclosing interface:
DerivedAttributeDefinition<T>
public static sealed interface DerivedAttributeDefinition.DerivedBuilder<T, B extends DerivedAttributeDefinition.DerivedBuilder<T,B>>
extends AttributeDefinition.Builder<T,B>
Builds a derived AttributeDefinition instance
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDerivedAttributeDefinition.DerivedBuilder.DerivedFromStep<T, B extends DerivedAttributeDefinition.DerivedBuilder<T,B>> The first step in building aDerivedAttributeDefinitionstatic interfaceDerivedAttributeDefinition.DerivedBuilder.DerivedWithStep<T, B extends DerivedAttributeDefinition.DerivedBuilder<T,B>> The second step in building aDerivedAttributeDefinition -
Method Summary
Methods inherited from interface AttributeDefinition.Builder
attribute, build, caption, captionResource, captionResource, comparator, dateTimePattern, dateTimePattern, description, descriptionResource, descriptionResource, format, fractionDigits, hidden, mnemonic, mnemonicResource, mnemonicResource, numberGrouping, roundingMode
-
Method Details
-
cached
Default true unless no source attributes are specified or this is a denormalized attribute. Note that cached attribute values are included when an entity is serialized.- Parameters:
cached- true if the value of this derived attribute should be cached, false if it should be computed on each access- Returns:
- this builder instance
- Throws:
IllegalArgumentException- in case this is a denormalized attribute
-